[PATCH 1/2] power_supply: tps65090: Update bindings for subnode
Rhyland Klein
rklein at nvidia.com
Fri Mar 22 07:33:04 EST 2013
This updates the DT documentation to reflect that the tps65090-charger
should be represented as a child node of the tps65090 device itself.
Signed-off-by: Rhyland Klein <rklein at nvidia.com>
---
.../devicetree/bindings/power_supply/tps65090.txt | 18 ++++++------------
1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/Documentation/devicetree/bindings/power_supply/tps65090.txt b/Documentation/devicetree/bindings/power_supply/tps65090.txt
index 56370c7..8e5e0d3 100644
--- a/Documentation/devicetree/bindings/power_supply/tps65090.txt
+++ b/Documentation/devicetree/bindings/power_supply/tps65090.txt
@@ -1,23 +1,17 @@
TPS65090 Frontend PMU with Switchmode Charger
Required Properties:
--compatible: "ti,tps65090"
--reg: I2C slave address
--interrupts: the interrupt output to which this device connects
+-compatible: "ti,tps65090-charger"
Optional Properties:
-ti,enable-low-current-chrg: Enables charging when a low current is detected
while the default logic is to stop charging.
-Example:
+This node is a subnode of the tps65090 PMIC.
- tps65090 at 48 {
- compatible = "ti,tps65090";
- reg = <0x48>;
- interrupts = <0 88 0x4>;
+Example:
+ tps65090-charger {
+ compatible = "ti,tps65090-charger";
ti,enable-low-current-chrg;
-
- regulators {
- ...
- };
+ };
--
1.7.9.5
More information about the devicetree-discuss
mailing list