From: James McGregor <jamcgregor@xxxxxxxxxxxxxx> The Allwinner H616 series of SoCs have a low-rate ADC (LRADC) with 6-bit resolution and one input channel. They're compatible with the existing drivers, so it only needs to be enabled in the DT. Add an LRADC node to the H616 .dtsi, so board DTs can use them by adding 'status = "okay";'. This was tested on an OrangePi Zero 2W by attaching an expansion board with two key buttons connected to the LRADC, and adding them to the DT. /dev/input/event0 then properly reported the button presses. The patches are based off sunxi/for-next. James McGregor (2): dt-bindings: input: sum4i-lradc-keys: Add H616 compatible ARM: dts: sun50i: Add LRADC node .../bindings/input/allwinner,sun4i-a10-lradc-keys.yaml | 4 +++- arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi | 10 ++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) -- 2.34.1