summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/twl4030.dtsi
diff options
context:
space:
mode:
authorMarek Belisko <marek@goldelico.com>2017-05-21 13:38:17 +0300
committerTony Lindgren <tony@atomide.com>2017-06-06 10:23:22 +0300
commit2277795eb8e384dbfcee43b0e74dd3bc1129b4f8 (patch)
tree1b3cfe320c00d18d9d2766f4e3debb91b4ccd129 /arch/arm/boot/dts/twl4030.dtsi
parent5e7e276a9c3fa4a33aee712f5e28776140895775 (diff)
downloadlinux-2277795eb8e384dbfcee43b0e74dd3bc1129b4f8.tar.xz
ARM: dts: twl4030: Add missing madc reference for bci subnode
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@goldelico.com> Signed-off-by: Sebastian Reichel <sre@kernel.org> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/twl4030.dtsi')
-rw-r--r--arch/arm/boot/dts/twl4030.dtsi2
1 files changed, 2 insertions, 0 deletions
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 {