Skip to content

arm64: dts: allwinner: H616: Add LRADC

Andre Przywara linux-arm-kernel linux-devicetree linux-input linux-sunxi 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt-bindings: input: sun4i-lradc-keys: Add H616 compatibleDocumentation/devicetree/bindings/input/allwinner,sun4i-a10-lradc-keys.yaml+3 -18 replies
2/2arm64: dts: allwinner: h616: 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 PrzywaraRob Herring (Arm)
1/2R-b A-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

From: James McGregor <[email protected]>

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