提交 6d2e4688 编写于 作者: M Matt Spinler 提交者: Joel Stanley

ARM: dts: aspeed: wspoon: Enable iio-hwmon battery

The BMC can read the RTC battery voltage via ADC
channel 12.
Signed-off-by: NMatt Spinler <spinler@linux.vnet.ibm.com>
Reviewed-by: NLei YU <mine260309@gmail.com>
Signed-off-by: NJoel Stanley <joel@jms.id.au>
上级 163d88c4
...@@ -56,6 +56,11 @@ ...@@ -56,6 +56,11 @@
}; };
}; };
iio-hwmon-battery {
compatible = "iio-hwmon";
io-channels = <&adc 12>;
};
gpio-keys-polled { gpio-keys-polled {
compatible = "gpio-keys-polled"; compatible = "gpio-keys-polled";
#address-cells = <1>; #address-cells = <1>;
...@@ -583,3 +588,7 @@ ...@@ -583,3 +588,7 @@
&ibt { &ibt {
status = "okay"; status = "okay";
}; };
&adc {
status = "okay";
};
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册