summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@bootlin.com>2019-05-25 15:40:03 +0200
committerMaxime Ripard <maxime.ripard@bootlin.com>2019-05-30 13:37:46 +0200
commitdfe8173dfd25206de396592930589770eed48fcb (patch)
treefd0864072951ebb6420fb78e3a3df0240515d9fc /arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts
parent5f49c38a80b94fc27ecd91f0e50949c3525688f1 (diff)
ARM: dts: sun8i: a711: 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>
Diffstat (limited to 'arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts')
-rw-r--r--arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts b/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts
index 66d078053d5f..568b90ece342 100644
--- a/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts
+++ b/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts
@@ -224,14 +224,14 @@
vref-supply = <&reg_aldo2>;
status = "okay";
- button@210 {
+ button-210 {
label = "Volume Up";
linux,code = <KEY_VOLUMEUP>;
channel = <0>;
voltage = <210000>;
};
- button@410 {
+ button-410 {
label = "Volume Down";
linux,code = <KEY_VOLUMEDOWN>;
channel = <0>;