All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH linux dev-4.10] ARM: dts: aspeed: zaius: move coin battery sensor
@ 2017-12-06  2:00 Patrick Venture
  2017-12-08  6:27 ` Joel Stanley
  0 siblings, 1 reply; 2+ messages in thread
From: Patrick Venture @ 2017-12-06  2:00 UTC (permalink / raw)
  To: venture, joel, xow; +Cc: openbmc

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

Naming of ADC inputs in follow-on patchset.

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

diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts b/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
index 5f6a11ad93d4..17f2000d5cd5 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
@@ -102,7 +102,12 @@
 		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 12>, <&adc 13>, <&adc 14>, <&adc 15>;
+			<&adc 13>, <&adc 14>, <&adc 15>;
+	};
+
+	iio-hwmon-battery {
+		compatible = "iio-hwmon";
+		io-channels = <&adc 12>;
 	};
 };
 
-- 
2.15.0.531.g2ccb3012c9-goog

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-12-08  6:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-06  2:00 [PATCH linux dev-4.10] ARM: dts: aspeed: zaius: move coin battery sensor Patrick Venture
2017-12-08  6:27 ` Joel Stanley

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.