summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun8i-v3s-licheepi-zero-dock.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:22 +0100
commit84d794d672001e88d8b877440ede7c739032ad90 (patch)
treeb81ca0e56d8b7b9119121d9597ea1140c7290992 /arch/arm/boot/dts/sun8i-v3s-licheepi-zero-dock.dts
parentARM: dts: sun8i: h3: Remove leading zeros from unit-addresses (diff)
downloadlinux-84d794d672001e88d8b877440ede7c739032ad90.tar.xz
linux-84d794d672001e88d8b877440ede7c739032ad90.zip
ARM: dts: sun8i: v3s: 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-v3s-licheepi-zero-dock.dts')
-rw-r--r--arch/arm/boot/dts/sun8i-v3s-licheepi-zero-dock.dts8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/sun8i-v3s-licheepi-zero-dock.dts b/arch/arm/boot/dts/sun8i-v3s-licheepi-zero-dock.dts
index ad173605b1b8..db5cd0b8574b 100644
--- a/arch/arm/boot/dts/sun8i-v3s-licheepi-zero-dock.dts
+++ b/arch/arm/boot/dts/sun8i-v3s-licheepi-zero-dock.dts
@@ -66,28 +66,28 @@
vref-supply = <&reg_vcc3v0>;
status = "okay";
- button@200 {
+ button-200 {
label = "Volume Up";
linux,code = <KEY_VOLUMEUP>;
channel = <0>;
voltage = <200000>;
};
- button@400 {
+ button-400 {
label = "Volume Down";
linux,code = <KEY_VOLUMEDOWN>;
channel = <0>;
voltage = <400000>;
};
- button@600 {
+ button-600 {
label = "Select";
linux,code = <KEY_SELECT>;
channel = <0>;
voltage = <600000>;
};
- button@800 {
+ button-800 {
label = "Start";
linux,code = <KEY_OK>;
channel = <0>;