]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: sun8i: v3s: Change LRADC node names to avoid warnings
authorMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 21 Nov 2018 09:57:41 +0000 (10:57 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 28 Nov 2018 14:14:22 +0000 (15:14 +0100)
commit9660a9401fc7ee560ca2768573137013067ad09f
treeb81ca0e56d8b7b9119121d9597ea1140c7290992
parent928513a830534c72a4bc947efe0ca0dcce57bb5e
ARM: dts: sun8i: v3s: 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>
arch/arm/boot/dts/sun8i-v3s-licheepi-zero-dock.dts