summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun4i-a10-chuwi-v7-cw0825.dts
diff options
context:
space:
mode:
authorMaxime Ripard2017-10-05 12:49:43 +0200
committerMaxime Ripard2017-10-09 10:52:12 +0200
commit86f8b2d35966768a0aa666f7ca22a7acd321003d (patch)
tree5e9dbb8631953b5053cd57e1d21422f99a5477dc /arch/arm/boot/dts/sun4i-a10-chuwi-v7-cw0825.dts
parentARM: dts: sun4i: Remove skeleton and memory to avoid warnings (diff)
downloadkernel-qcow2-linux-86f8b2d35966768a0aa666f7ca22a7acd321003d.tar.gz
kernel-qcow2-linux-86f8b2d35966768a0aa666f7ca22a7acd321003d.tar.xz
kernel-qcow2-linux-86f8b2d35966768a0aa666f7ca22a7acd321003d.zip
ARM: dts: sun4i: 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>
Diffstat (limited to 'arch/arm/boot/dts/sun4i-a10-chuwi-v7-cw0825.dts')
-rw-r--r--arch/arm/boot/dts/sun4i-a10-chuwi-v7-cw0825.dts6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/sun4i-a10-chuwi-v7-cw0825.dts b/arch/arm/boot/dts/sun4i-a10-chuwi-v7-cw0825.dts
index a7d61994b8fd..68f68e74910f 100644
--- a/arch/arm/boot/dts/sun4i-a10-chuwi-v7-cw0825.dts
+++ b/arch/arm/boot/dts/sun4i-a10-chuwi-v7-cw0825.dts
@@ -104,21 +104,21 @@
vref-supply = <&reg_vcc3v0>;
status = "okay";
- button@800 {
+ button-800 {
label = "Volume Up";
linux,code = <KEY_VOLUMEUP>;
channel = <0>;
voltage = <800000>;
};
- button@1000 {
+ button-1000 {
label = "Volume Down";
linux,code = <KEY_VOLUMEDOWN>;
channel = <0>;
voltage = <1000000>;
};
- button@1200 {
+ button-1200 {
label = "Back";
linux,code = <KEY_BACK>;
channel = <0>;