summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun8i-r16-parrot.dts
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@bootlin.com>2018-11-21 10:57:41 +0100
committerMaxime Ripard <maxime.ripard@bootlin.com>2018-11-28 15:14:19 +0100
commitf2a5e42580e9107c20897ac69a83125bf1325883 (patch)
tree4547aeadebb24ffe3ac1285e89f4fd88a4d8f0f7 /arch/arm/boot/dts/sun8i-r16-parrot.dts
parentARM: dts: sun8i: a23/a33: Remove all useless pinctrl nodes (diff)
downloadlinux-f2a5e42580e9107c20897ac69a83125bf1325883.tar.xz
linux-f2a5e42580e9107c20897ac69a83125bf1325883.zip
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>
Diffstat (limited to 'arch/arm/boot/dts/sun8i-r16-parrot.dts')
-rw-r--r--arch/arm/boot/dts/sun8i-r16-parrot.dts4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/sun8i-r16-parrot.dts b/arch/arm/boot/dts/sun8i-r16-parrot.dts
index 2c4d892ea9f1..17868b1eff4e 100644
--- a/arch/arm/boot/dts/sun8i-r16-parrot.dts
+++ b/arch/arm/boot/dts/sun8i-r16-parrot.dts
@@ -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>;