Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1233054

[PATCH v3] Documentation: DT: twl-charger: document new iio properties

From Marek Belisko <marek@goldelico.com>
Newsgroups linux.kernel
Subject [PATCH v3] Documentation: DT: twl-charger: document new iio properties
Date 2015-09-25 22:30 +0200
Message-ID <qcHMZ-3Ev-3@gated-at.bofh.it> (permalink)
References <qcHMZ-3Ev-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Document added iio properties to avoid using direct function call from twl4030-madc
driver.

Signed-off-by: Marek Belisko <marek@goldelico.com>
---
 Documentation/devicetree/bindings/power/twl-charger.txt | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/power/twl-charger.txt b/Documentation/devicetree/bindings/power/twl-charger.txt
index 3b4ea1b..e198650 100644
--- a/Documentation/devicetree/bindings/power/twl-charger.txt
+++ b/Documentation/devicetree/bindings/power/twl-charger.txt
@@ -19,12 +19,18 @@ Required properties:
 Optional properties:
 - ti,bb-uvolt: microvolts for charging the backup battery.
 - ti,bb-uamp: microamps for charging the backup battery.
+- io-channels: Should contain following: <&twl4030_madc 11>
+- io-channel-names: Should contains following value:
+	* "vac" - ADC channel for measuring the voltage of the external AC charger
+If io properties aren't provided then functionality of accesory charger doesn't work.
 
 Examples:
 
 bci {
    compatible = "ti,twl4030-bci";
    interrupts = <9>, <2>;
+   io-channels = <&twl4030_madc 11>;
+   io-channel-name = "vac";
    ti,bb-uvolt = <3200000>;
    ti,bb-uamp = <150>;
 };
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH v3] Documentation: DT: twl-charger: document new iio properties Marek Belisko <marek@goldelico.com> - 2015-09-25 22:30 +0200

csiph-web