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


Groups > linux.kernel > #1646310 > unrolled thread

[PATCH v5 2/3] ARM: dts: twl4030: Add missing madc reference for bci subnode

Started by"H. Nikolaus Schaller" <hns@goldelico.com>
First post2017-05-21 12:40 +0200
Last post2017-05-21 12:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v5 2/3] ARM: dts: twl4030: Add missing madc reference for bci subnode "H. Nikolaus Schaller" <hns@goldelico.com> - 2017-05-21 12:40 +0200

#1646310 — [PATCH v5 2/3] ARM: dts: twl4030: Add missing madc reference for bci subnode

From"H. Nikolaus Schaller" <hns@goldelico.com>
Date2017-05-21 12:40 +0200
Subject[PATCH v5 2/3] ARM: dts: twl4030: Add missing madc reference for bci subnode
Message-ID<tJwrg-6AL-11@gated-at.bofh.it>
From: Marek Belisko <marek@goldelico.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@goldelico.com>
Signed-off-by: Sebastian Reichel <sre@kernel.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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web