lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 22 Sep 2015 22:19:30 +0200
From:	Marek Belisko <marek@...delico.com>
To:	sre@...nel.org, dbaryshkov@...il.com, dwmw2@...radead.org
Cc:	linux-pm@...r.kernel.org, hns@...delico.com,
	linux-kernel@...r.kernel.org, neilb@...e.de,
	devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
	Marek Belisko <marek@...delico.com>
Subject: [PATCH v2 2/3] Documentation: DT: twl-charger: document new iio properties

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

Signed-off-by: Marek Belisko <marek@...delico.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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ