[PATCH linux dev-4.10] ARM: dts: aspeed: quanta-q71l: move coin battery sensor

Patrick Venture venture at google.com
Wed Dec 6 08:39:00 AEDT 2017


Moved the coin battery sensor into a separate iio-hwmon
instance to facilitate reading it as a separate hwmon instance.

Signed-off-by: Patrick Venture <venture at google.com>
---
 arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts b/arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts
index 21fc01f2414e..252932983de8 100644
--- a/arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts
@@ -117,7 +117,12 @@
 		compatible = "iio-hwmon";
 		io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>,
 			<&adc 4>, <&adc 5>, <&adc 6>, <&adc 7>,
-			<&adc 8>, <&adc 9>, <&adc 10>, <&adc 11>;
+			<&adc 8>, <&adc 9>, <&adc 10>;
+	};
+
+	iio-hwmon-battery {
+		compatible = "iio-hwmon";
+		io-channels = <&adc 11>;
 	};
 };
 
-- 
2.15.0.531.g2ccb3012c9-goog



More information about the openbmc mailing list