]> asedeno.scripts.mit.edu Git - linux.git/commit
ARM: dts: sun7i: Change LRADC node names to avoid warnings
authorMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 21 Nov 2018 13:14:58 +0000 (14:14 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 28 Nov 2018 14:14:12 +0000 (15:14 +0100)
commit0b92b823b8d880c6b1c1136a6e0caa47fc3df14a
tree822be6be6ed1abde2cddd92597f973388d94b27d
parent8860687aaccd59f437c165086772f345b5268e15
ARM: dts: sun7i: 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>
arch/arm/boot/dts/sun7i-a20-olimex-som-evb.dts
arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
arch/arm/boot/dts/sun7i-a20-wexler-tab7200.dts