lkml.org 
[lkml]   [2015]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v2 2/3] Documentation: DT: twl-charger: document new iio properties
Date
Document added iio properties to avoid using direct funcion call from twl4030-madc
driver.

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

diff --git a/Documentation/devicetree/bindings/power/twl-charger.txt b/Documentation/devicetree/bindings/power/twl-charger.txt
index 3b4ea1b..54faee6 100644
--- a/Documentation/devicetree/bindings/power/twl-charger.txt
+++ b/Documentation/devicetree/bindings/power/twl-charger.txt
@@ -15,6 +15,9 @@ Required properties:
- "ti,twl4030-bci"
- interrupts: two interrupt lines from the TWL SIH (secondary
interrupt handler) - interrupts 9 and 2.
+- io-channels: Should contain following: <&twl4030_madc 11>
+- io-channel-names: Shoud contains following value:
+* "vac" - ADC channel for measuring the voltage of the external AC charger

Optional properties:
- ti,bb-uvolt: microvolts for charging the backup battery.
@@ -25,6 +28,8 @@ 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


\
 
 \ /
  Last update: 2015-09-22 22:41    [W:0.044 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site