summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun8i-a23-evb.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-a23-evb.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-a23-evb.dts')
-rw-r--r--arch/arm/boot/dts/sun8i-a23-evb.dts6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/sun8i-a23-evb.dts b/arch/arm/boot/dts/sun8i-a23-evb.dts
index 8a93697df3a5..b6aeb23b6ee9 100644
--- a/arch/arm/boot/dts/sun8i-a23-evb.dts
+++ b/arch/arm/boot/dts/sun8i-a23-evb.dts
@@ -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>;