From: Maxime Ripard Date: Thu, 8 Nov 2018 10:21:05 +0000 (+0100) Subject: ARM: dts: sunxi: Change LRADC node names to avoid warnings X-Git-Tag: rel_imx_5.10.35_2.0.0-somdevices.0~5611^2~2^2~65 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=d7c2d23b6fe66f116ebf8180c8e320cf48e96c8a;p=linux.git 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 Acked-by: Chen-Yu Tsai --- diff --git a/arch/arm/boot/dts/sunxi-reference-design-tablet.dtsi b/arch/arm/boot/dts/sunxi-reference-design-tablet.dtsi index 245d0bcde441..00dc6623f30f 100644 --- a/arch/arm/boot/dts/sunxi-reference-design-tablet.dtsi +++ b/arch/arm/boot/dts/sunxi-reference-design-tablet.dtsi @@ -60,14 +60,14 @@ vref-supply = <®_vcc3v0>; status = "okay"; - button@200 { + button-200 { label = "Volume Up"; linux,code = ; channel = <0>; voltage = <200000>; }; - button@400 { + button-400 { label = "Volume Down"; linux,code = ; channel = <0>;