summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun8i-a23-gt90h-v4.dts
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@bootlin.com>2018-11-21 12:57:41 +0300
committerMaxime Ripard <maxime.ripard@bootlin.com>2018-11-28 17:14:19 +0300
commitf2a5e42580e9107c20897ac69a83125bf1325883 (patch)
tree4547aeadebb24ffe3ac1285e89f4fd88a4d8f0f7 /arch/arm/boot/dts/sun8i-a23-gt90h-v4.dts
parentec6b944c5adbef09aac9b436fb07e91632f75e05 (diff)
downloadlinux-f2a5e42580e9107c20897ac69a83125bf1325883.tar.xz
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-gt90h-v4.dts')
-rw-r--r--arch/arm/boot/dts/sun8i-a23-gt90h-v4.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/sun8i-a23-gt90h-v4.dts b/arch/arm/boot/dts/sun8i-a23-gt90h-v4.dts
index e3c7a25ca37d..bcbc9b0758f9 100644
--- a/arch/arm/boot/dts/sun8i-a23-gt90h-v4.dts
+++ b/arch/arm/boot/dts/sun8i-a23-gt90h-v4.dts
@@ -63,7 +63,7 @@
};
&lradc {
- button@600 {
+ button-600 {
label = "Back";
linux,code = <KEY_BACK>;
channel = <0>;