summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@bootlin.com>2018-11-21 10:57:41 +0100
committerMaxime Ripard <maxime.ripard@bootlin.com>2018-11-28 15:14:19 +0100
commitf2a5e42580e9107c20897ac69a83125bf1325883 (patch)
tree4547aeadebb24ffe3ac1285e89f4fd88a4d8f0f7 /arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts
parentec6b944c5adbef09aac9b436fb07e91632f75e05 (diff)
downloadblackbird-obmc-linux-f2a5e42580e9107c20897ac69a83125bf1325883.tar.gz
blackbird-obmc-linux-f2a5e42580e9107c20897ac69a83125bf1325883.zip
ARM: dts: sun8i: a23/a33: 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> Acked-by: Chen-Yu Tsai <wens@csie.org>
Diffstat (limited to 'arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts')
-rw-r--r--arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts b/arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts
index ff7244cdfa88..9d545f8549be 100644
--- a/arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts
+++ b/arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts
@@ -117,21 +117,21 @@
vref-supply = <&reg_dcdc1>;
status = "okay";
- button@200 {
+ button-200 {
label = "Volume Up";
linux,code = <KEY_VOLUMEUP>;
channel = <0>;
voltage = <191011>;
};
- button@400 {
+ button-400 {
label = "Volume Down";
linux,code = <KEY_VOLUMEDOWN>;
channel = <0>;
voltage = <391304>;
};
- button@600 {
+ button-600 {
label = "Home";
linux,code = <KEY_HOME>;
channel = <0>;
OpenPOWER on IntegriCloud