Skip to content

Commit d7c2d23

Browse files
committed
ARM: dts: sunxi: 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@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
1 parent bc01606 commit d7c2d23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/arm/boot/dts/sunxi-reference-design-tablet.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,14 @@
6060
vref-supply = <&reg_vcc3v0>;
6161
status = "okay";
6262

63-
button@200 {
63+
button-200 {
6464
label = "Volume Up";
6565
linux,code = <KEY_VOLUMEUP>;
6666
channel = <0>;
6767
voltage = <200000>;
6868
};
6969

70-
button@400 {
70+
button-400 {
7171
label = "Volume Down";
7272
linux,code = <KEY_VOLUMEDOWN>;
7373
channel = <0>;

0 commit comments

Comments
 (0)