diff options
author | Adam Thomson <Adam.Thomson.Opensource@diasemi.com> | 2015-02-18 09:08:34 -0500 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2015-02-25 15:18:14 -0500 |
commit | 1da9790cbd0bc853f6053e59523b6fe6f6e21d78 (patch) | |
tree | baf54157893717798c8ea99876925682d9c86edc | |
parent | c1a281e34dae41379af86b95592a5ae8e9e3af67 (diff) |
power: da9150: Add DT binding documentation for charger
Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
-rw-r--r-- | Documentation/devicetree/bindings/power/da9150-charger.txt | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/power/da9150-charger.txt b/Documentation/devicetree/bindings/power/da9150-charger.txt new file mode 100644 index 000000000000..f3906663c454 --- /dev/null +++ b/Documentation/devicetree/bindings/power/da9150-charger.txt | |||
@@ -0,0 +1,26 @@ | |||
1 | Dialog Semiconductor DA9150 Charger Power Supply bindings | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: "dlg,da9150-charger" for DA9150 Charger Power Supply | ||
5 | |||
6 | Optional properties: | ||
7 | - io-channels: List of phandle and IIO specifier pairs | ||
8 | - io-channel-names: List of channel names used by charger | ||
9 | ["CHAN_IBUS", "CHAN_VBUS", "CHAN_TJUNC", "CHAN_VBAT"] | ||
10 | (See Documentation/devicetree/bindings/iio/iio-bindings.txt for further info) | ||
11 | |||
12 | |||
13 | Example: | ||
14 | |||
15 | da9150-charger { | ||
16 | compatible = "dlg,da9150-charger"; | ||
17 | |||
18 | io-channels = <&gpadc 0>, | ||
19 | <&gpadc 2>, | ||
20 | <&gpadc 8>, | ||
21 | <&gpadc 5>; | ||
22 | io-channel-names = "CHAN_IBUS", | ||
23 | "CHAN_VBUS", | ||
24 | "CHAN_TJUNC", | ||
25 | "CHAN_VBAT"; | ||
26 | }; | ||