[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <69d95172f257cee8d6abc1eaab57865e536be73c.1495363097.git.hns@goldelico.com>
Date: Sun, 21 May 2017 12:38:17 +0200
From: "H. Nikolaus Schaller" <hns@...delico.com>
To: NeilBrown <neil@...wn.name>, Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Russell King <linux@...linux.org.uk>,
Sebastian Reichel <sre@...nel.org>,
Marek Belisko <marek@...delico.com>,
"H. Nikolaus Schaller" <hns@...delico.com>
Cc: linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
linux-pm@...r.kernel.org, letux-kernel@...nphoenux.org,
notasas@...il.com, linux-omap@...r.kernel.org
Subject: [PATCH v5 2/3] ARM: dts: twl4030: Add missing madc reference for bci subnode
From: Marek Belisko <marek@...delico.com>
The twl4030_charger driver expects an iio channel to detect the
presence of an AC charger by looking at VAC (madc channel 11).
This definition is missing in the device tree.
Signed-off-by: Marek Belisko <marek@...delico.com>
Signed-off-by: Sebastian Reichel <sre@...nel.org>
---
arch/arm/boot/dts/twl4030.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/twl4030.dtsi b/arch/arm/boot/dts/twl4030.dtsi
index 36ae9160b558..16533b62b0a2 100644
--- a/arch/arm/boot/dts/twl4030.dtsi
+++ b/arch/arm/boot/dts/twl4030.dtsi
@@ -23,6 +23,8 @@
compatible = "ti,twl4030-bci";
interrupts = <9>, <2>;
bci3v1-supply = <&vusb3v1>;
+ io-channels = <&twl_madc 11>;
+ io-channel-names = "vac";
};
watchdog {
--
2.12.2
Powered by blists - more mailing lists