2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 23:23:55 +08:00

ARM: dts: sun8i: a23/a33: Change LRADC node names to avoid warnings

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@free-electrons.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
This commit is contained in:
Maxime Ripard 2018-11-21 10:57:41 +01:00
parent ec6b944c5a
commit f2a5e42580
No known key found for this signature in database
GPG Key ID: E3EF0D6F671851C5
5 changed files with 10 additions and 10 deletions

View File

@ -80,21 +80,21 @@
vref-supply = <&reg_vcc3v0>;
status = "okay";
button@190 {
button-190 {
label = "Volume Up";
linux,code = <KEY_VOLUMEUP>;
channel = <0>;
voltage = <190000>;
};
button@390 {
button-390 {
label = "Volume Down";
linux,code = <KEY_VOLUMEDOWN>;
channel = <0>;
voltage = <390000>;
};
button@600 {
button-600 {
label = "Home";
linux,code = <KEY_HOME>;
channel = <0>;

View File

@ -63,7 +63,7 @@
};
&lradc {
button@600 {
button-600 {
label = "Back";
linux,code = <KEY_BACK>;
channel = <0>;

View File

@ -69,7 +69,7 @@
};
&lradc {
button@600 {
button-600 {
label = "Back";
linux,code = <KEY_BACK>;
channel = <0>;

View File

@ -117,21 +117,21 @@
vref-supply = <&reg_dcdc1>;
status = "okay";
button@200 {
button-200 {
label = "Volume Up";
linux,code = <KEY_VOLUMEUP>;
channel = <0>;
voltage = <191011>;
};
button@400 {
button-400 {
label = "Volume Down";
linux,code = <KEY_VOLUMEDOWN>;
channel = <0>;
voltage = <391304>;
};
button@600 {
button-600 {
label = "Home";
linux,code = <KEY_HOME>;
channel = <0>;

View File

@ -109,14 +109,14 @@
vref-supply = <&reg_aldo3>;
status = "okay";
button@0 {
button-190 {
label = "V+";
linux,code = <KEY_VOLUMEUP>;
channel = <0>;
voltage = <190000>;
};
button@1 {
button-390 {
label = "V-";
linux,code = <KEY_VOLUMEDOWN>;
channel = <0>;