diff options
author | Patrick Venture <venture@google.com> | 2017-12-06 00:39:00 +0300 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2017-12-08 09:17:41 +0300 |
commit | e8c0191ce8c8483fd69ef1de0880cc81adb5bb89 (patch) | |
tree | 190e32dfc423ec3898349b7f45b8ab16dabf4c41 | |
parent | 7422acad49264653b7895c252806a8074e1029c7 (diff) | |
download | linux-e8c0191ce8c8483fd69ef1de0880cc81adb5bb89.tar.xz |
ARM: dts: aspeed: quanta-q71l: move coin battery sensor
Moved the coin battery sensor into a separate iio-hwmon
instance to facilitate reading it as a separate hwmon instance.
OpenBMC-Staging-Count: 1
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
-rw-r--r-- | arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts | 7 |
1 files changed, 6 insertions, 1 deletions
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>; }; }; |