summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sunxi-reference-design-tablet.dtsi
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@bootlin.com>2018-11-08 11:21:05 +0100
committerMaxime Ripard <maxime.ripard@bootlin.com>2018-11-28 14:27:29 +0100
commitd7c2d23b6fe66f116ebf8180c8e320cf48e96c8a (patch)
tree2fba6333c7fcc59d4c4d06acc267a09dd76a4782 /arch/arm/boot/dts/sunxi-reference-design-tablet.dtsi
parentbc0160655ec32e0b8e46aa29aa5da1430431b3f7 (diff)
ARM: dts: sunxi: 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/sunxi-reference-design-tablet.dtsi')
-rw-r--r--arch/arm/boot/dts/sunxi-reference-design-tablet.dtsi4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/sunxi-reference-design-tablet.dtsi b/arch/arm/boot/dts/sunxi-reference-design-tablet.dtsi
index 245d0bcde441..00dc6623f30f 100644
--- a/arch/arm/boot/dts/sunxi-reference-design-tablet.dtsi
+++ b/arch/arm/boot/dts/sunxi-reference-design-tablet.dtsi
@@ -60,14 +60,14 @@
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>;