]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
ARM: dts: sun6i: Change LRADC node names to avoid warnings
authorMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 21 Nov 2018 13:14:58 +0000 (14:14 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 28 Nov 2018 14:14:07 +0000 (15:14 +0100)
One of the usage of the LRADC is to implement buttons. The bindings define
that we should have one subnode per button, with their associated voltage
as a property.

However, there was no reg property but we still used the voltage associated
to the button as the unit-address, which eventually generated warnings in
DTC.

Rename the node names to avoid those warnings.

Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
arch/arm/boot/dts/sun6i-a31s-colorfly-e708-q1.dts
arch/arm/boot/dts/sun6i-a31s-inet-q972.dts
arch/arm/boot/dts/sun6i-a31s-primo81.dts
arch/arm/boot/dts/sun6i-a31s-sina31s.dts

index 882a4d89fa220b411fcba755b00c287ee3006caa..a2ef7846e2c8a4fe60aaffafff851626f4b6f8a4 100644 (file)
@@ -53,7 +53,7 @@
        vref-supply = <&reg_aldo3>;
        status = "okay";
 
-       button@1000 {
+       button-1000 {
                label = "Home";
                linux,code = <KEY_HOMEPAGE>;
                channel = <0>;
index e584e6b186a76e4815690f6639df32570f3db70d..85dab04be261e30296c1eb48d6f50335ae3ac02a 100644 (file)
        vref-supply = <&reg_aldo3>;
        status = "okay";
 
-       button@200 {
+       button-200 {
                label = "Volume Down";
                linux,code = <KEY_VOLUMEDOWN>;
                channel = <0>;
                voltage = <200000>;
        };
 
-       button@900 {
+       button-900 {
                label = "Volume Up";
                linux,code = <KEY_VOLUMEUP>;
                channel = <0>;
                voltage = <900000>;
        };
 
-       button@1200 {
+       button-1200 {
                label = "Back";
                linux,code = <KEY_BACK>;
                channel = <0>;
index 4cb9664cdb2938f291815a6d3503cd630fb8eb21..ca1c711ed450837f56ce058ffa7c1d2c5c03ae8a 100644 (file)
        vref-supply = <&reg_aldo3>;
        status = "okay";
 
-       button@158 {
+       button-158 {
                label = "Volume Up";
                linux,code = <KEY_VOLUMEUP>;
                channel = <0>;
                voltage = <158730>;
        };
 
-       button@349 {
+       button-349 {
                label = "Volume Down";
                linux,code = <KEY_VOLUMEDOWN>;
                channel = <0>;
index da0ccf5a2c44583987aac1449bc7fede28e5f2d0..3a7e68c46ba7da3f933601488495639e3e3b25c2 100644 (file)
        vref-supply = <&reg_aldo3>;
        status = "okay";
 
-       button@158 {
+       button-158 {
                label = "Volume Up";
                linux,code = <KEY_VOLUMEUP>;
                channel = <0>;
                voltage = <158730>;
        };
 
-       button@349 {
+       button-349 {
                label = "Volume Down";
                linux,code = <KEY_VOLUMEDOWN>;
                channel = <0>;