aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun4i-a10-gemei-g9.dts
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2017-10-05 12:49:43 +0200
committerMaxime Ripard <maxime.ripard@free-electrons.com>2017-10-09 10:52:12 +0200
commit86f8b2d35966768a0aa666f7ca22a7acd321003d (patch)
tree5e9dbb8631953b5053cd57e1d21422f99a5477dc /arch/arm/boot/dts/sun4i-a10-gemei-g9.dts
parentARM: dts: sun4i: Remove skeleton and memory to avoid warnings (diff)
downloadlinux-dev-86f8b2d35966768a0aa666f7ca22a7acd321003d.tar.xz
linux-dev-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-gemei-g9.dts')
-rw-r--r--arch/arm/boot/dts/sun4i-a10-gemei-g9.dts6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/sun4i-a10-gemei-g9.dts b/arch/arm/boot/dts/sun4i-a10-gemei-g9.dts
index d347eaf6dfcc..d97085c47001 100644
--- a/arch/arm/boot/dts/sun4i-a10-gemei-g9.dts
+++ b/arch/arm/boot/dts/sun4i-a10-gemei-g9.dts
@@ -120,21 +120,21 @@
status = "okay";
- button@158 {
+ button-158 {
label = "Volume Down";
linux,code = <KEY_VOLUMEDOWN>;
channel = <0>;
voltage = <158730>;
};
- button@349 {
+ button-349 {
label = "Volume Up";
linux,code = <KEY_VOLUMEUP>;
channel = <0>;
voltage = <349206>;
};
- button@1142 {
+ button-1142 {
label = "Esc";
linux,code = <KEY_ESC>;
channel = <0>;