ARM: dts: aspeed: tiogapass: Move battery sensor
authorVijay Khemka <vijaykhemka@fb.com>
Thu, 25 Jul 2019 17:45:11 +0000 (10:45 -0700)
committerJoel Stanley <joel@jms.id.au>
Fri, 2 Aug 2019 06:22:10 +0000 (15:52 +0930)
Moved adc7 hwmon battery sensor to correct label to be read
by single applications for all adc sensors.

Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts

index e722e9a..bd394e1 100644 (file)
        iio-hwmon {
                compatible = "iio-hwmon";
                io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>,
-                                       <&adc 4>, <&adc 5>, <&adc 6>;
+                             <&adc 4>, <&adc 5>, <&adc 6>, <&adc 7>;
        };
 
-       iio-hwmon-battery {
-               compatible = "iio-hwmon";
-               io-channels = <&adc 7>;
-       };
 };
 
 &fmc {