mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
5f49c38a80
commit
dfe8173dfd
|
@ -224,14 +224,14 @@ &r_lradc {
|
|||
vref-supply = <®_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>;
|
||||
|
|
Loading…
Reference in New Issue