提交 d580bc3b 编写于 作者: Q Quan Nguyen 提交者: Joel Stanley

ARM: dts: aspeed: mtjade: Move all adc sensors into iio-hwmon node

Move adc14 and adc15 (battery sensor) into single iio-hwmon node to
correct label to be read by single application for all adc sensors.
Signed-off-by: NQuan Nguyen <quan@os.amperecomputing.com>
Signed-off-by: NThang Q. Nguyen <thang@os.amperecomputing.com>
Reviewed-by: NJoel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20220228000242.1884-6-quan@os.amperecomputing.comSigned-off-by: NJoel Stanley <joel@jms.id.au>
上级 cba343e3
...@@ -339,17 +339,8 @@ ...@@ -339,17 +339,8 @@
<&adc10mux 0>, <&adc10mux 1>, <&adc10mux 0>, <&adc10mux 1>,
<&adc11mux 0>, <&adc11mux 1>, <&adc11mux 0>, <&adc11mux 1>,
<&adc12mux 0>, <&adc12mux 1>, <&adc12mux 0>, <&adc12mux 1>,
<&adc13mux 0>, <&adc13mux 1>; <&adc13mux 0>, <&adc13mux 1>,
}; <&adc 14>, <&adc 15>;
iio-hwmon-adc14 {
compatible = "iio-hwmon";
io-channels = <&adc 14>;
};
iio-hwmon-battery {
compatible = "iio-hwmon";
io-channels = <&adc 15>;
}; };
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册