Commit d580bc3b authored by Quan Nguyen's avatar Quan Nguyen Committed by Joel Stanley
Browse files

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: default avatarQuan Nguyen <quan@os.amperecomputing.com>
Signed-off-by: default avatarThang Q. Nguyen <thang@os.amperecomputing.com>
Reviewed-by: default avatarJoel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20220228000242.1884-6-quan@os.amperecomputing.com


Signed-off-by: default avatarJoel Stanley <joel@jms.id.au>
parent cba343e3
Loading
Loading
Loading
Loading
+2 −11
Original line number Diff line number Diff line
@@ -339,17 +339,8 @@
			<&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>;
	};
};