Skip to content

arm64: dts: allwinner: H616: Add LRADC

James McGregor linux-arm-kernel linux-devicetree linux-input linux-sunxi 1 version Applied

Status from this message: Applied to sunxi/dt-for-6.11 in sunxi/linux.git, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 4 repliesApplied

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2dt-bindings: input: sun4i-lradc-keys: Add H616 compatibleDocumentation/devicetree/bindings/input/allwinner,sun4i-a10-lradc-keys.yaml+3 -11 reply
2/2ARM: dts: sun50i: Add LRADC nodearch/arm64/boot/dts/allwinner/sun50i-h616.dtsi+10 -01 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAndre PrzywaraJernej ŠkrabecRob Herring (Arm)
1/2R-b A-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/2] arm64: dts: allwinner: H616: Add LRADC

Version 2 moves the LRADC DT node to the right place. It was out of order before.

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: sun4i-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(-)
Signature · 1 line
2.34.1