mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 07:03:03 +02:00
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: Quan Nguyen <quan@os.amperecomputing.com> Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com> Reviewed-by: Joel Stanley <joel@jms.id.au> Link: https://lore.kernel.org/r/20220228000242.1884-6-quan@os.amperecomputing.com Signed-off-by: Joel Stanley <joel@jms.id.au>
This commit is contained in:
parent
cba343e3d2
commit
d580bc3b2a
|
|
@ -339,17 +339,8 @@ iio-hwmon {
|
|||
<&adc10mux 0>, <&adc10mux 1>,
|
||||
<&adc11mux 0>, <&adc11mux 1>,
|
||||
<&adc12mux 0>, <&adc12mux 1>,
|
||||
<&adc13mux 0>, <&adc13mux 1>;
|
||||
};
|
||||
|
||||
iio-hwmon-adc14 {
|
||||
compatible = "iio-hwmon";
|
||||
io-channels = <&adc 14>;
|
||||
};
|
||||
|
||||
iio-hwmon-battery {
|
||||
compatible = "iio-hwmon";
|
||||
io-channels = <&adc 15>;
|
||||
<&adc13mux 0>, <&adc13mux 1>,
|
||||
<&adc 14>, <&adc 15>;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user