Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: sun8i: a711: 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>

+2 -2
+2 -2
arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts
··· 224 224 vref-supply = <&reg_aldo2>; 225 225 status = "okay"; 226 226 227 - button@210 { 227 + button-210 { 228 228 label = "Volume Up"; 229 229 linux,code = <KEY_VOLUMEUP>; 230 230 channel = <0>; 231 231 voltage = <210000>; 232 232 }; 233 233 234 - button@410 { 234 + button-410 { 235 235 label = "Volume Down"; 236 236 linux,code = <KEY_VOLUMEDOWN>; 237 237 channel = <0>;