summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun6i-a31s-sina31s.dts
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@bootlin.com>2018-11-21 14:14:58 +0100
committerMaxime Ripard <maxime.ripard@bootlin.com>2018-11-28 15:14:07 +0100
commit97b3d91204899faa2daf742cb9f4b661c6e4274b (patch)
tree8d67216940d1bbc9cc8abbff71a082f3f9c61500 /arch/arm/boot/dts/sun6i-a31s-sina31s.dts
parent1b7e882d30653dd7cf971bdd7de168e23bf6fe68 (diff)
ARM: dts: sun6i: 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@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
Diffstat (limited to 'arch/arm/boot/dts/sun6i-a31s-sina31s.dts')
-rw-r--r--arch/arm/boot/dts/sun6i-a31s-sina31s.dts4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/sun6i-a31s-sina31s.dts b/arch/arm/boot/dts/sun6i-a31s-sina31s.dts
index da0ccf5a2c44..3a7e68c46ba7 100644
--- a/arch/arm/boot/dts/sun6i-a31s-sina31s.dts
+++ b/arch/arm/boot/dts/sun6i-a31s-sina31s.dts
@@ -147,14 +147,14 @@
vref-supply = <&reg_aldo3>;
status = "okay";
- button@158 {
+ button-158 {
label = "Volume Up";
linux,code = <KEY_VOLUMEUP>;
channel = <0>;
voltage = <158730>;
};
- button@349 {
+ button-349 {
label = "Volume Down";
linux,code = <KEY_VOLUMEDOWN>;
channel = <0>;