diff options
author | Marco Felsch <m.felsch@pengutronix.de> | 2018-07-23 03:47:46 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-07-23 15:09:21 -0400 |
commit | 78170811a2048de8e77a27a053be8b3eb3d4e556 (patch) | |
tree | 36bf089ee10a9d1e0ba60cda8d9ed34e093c4af5 | |
parent | 37164571fb25adef80ae2aaf55840b0105c15b22 (diff) |
regulator: pfuze100: add optional disable switch-regulators binding
This binding is used to keep the backward compatibility with the current
dtb's [1]. The binding informs the driver that the unused switch regulators
can be disabled.
If it is not specified, the driver doesn't disable the switch regulators.
[1] https://patchwork.kernel.org/patch/10490381/
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | Documentation/devicetree/bindings/regulator/pfuze100.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/regulator/pfuze100.txt b/Documentation/devicetree/bindings/regulator/pfuze100.txt index 672c939045ff..c7610718adff 100644 --- a/Documentation/devicetree/bindings/regulator/pfuze100.txt +++ b/Documentation/devicetree/bindings/regulator/pfuze100.txt | |||
@@ -4,6 +4,15 @@ Required properties: | |||
4 | - compatible: "fsl,pfuze100", "fsl,pfuze200", "fsl,pfuze3000", "fsl,pfuze3001" | 4 | - compatible: "fsl,pfuze100", "fsl,pfuze200", "fsl,pfuze3000", "fsl,pfuze3001" |
5 | - reg: I2C slave address | 5 | - reg: I2C slave address |
6 | 6 | ||
7 | Optional properties: | ||
8 | - fsl,pfuze-support-disable-sw: Boolean, if present disable all unused switch | ||
9 | regulators to save power consumption. Attention, ensure that all important | ||
10 | regulators (e.g. DDR ref, DDR supply) has set the "regulator-always-on" | ||
11 | property. If not present, the switched regualtors are always on and can't be | ||
12 | disabled. This binding is a workaround to keep backward compatibility with | ||
13 | old dtb's which rely on the fact that the switched regulators are always on | ||
14 | and don't mark them explicit as "regulator-always-on". | ||
15 | |||
7 | Required child node: | 16 | Required child node: |
8 | - regulators: This is the list of child nodes that specify the regulator | 17 | - regulators: This is the list of child nodes that specify the regulator |
9 | initialization data for defined regulators. Please refer to below doc | 18 | initialization data for defined regulators. Please refer to below doc |