Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: input: sun4i-lradc-keys: Add F1C100s compatible

The Allwinner F1C100s series of SoCs contain a LRADC (aka. KEYADC)
compatible to the version in other SoCs.
The manual doesn't mention the ratio of the input voltage that is used,
but comparing actual measurements with the values in the register
suggests that it is 3/4 of Vref.

Add an F1C100s compatible string to the list, and pair it with the
A83T fallback. Since the A64 is the same, combined both using an enum.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20221101141658.3631342-9-andre.przywara@arm.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Andre Przywara and committed by
Dmitry Torokhov
153a1970 01c84b03

+3 -1
+3 -1
Documentation/devicetree/bindings/input/allwinner,sun4i-a10-lradc-keys.yaml
··· 16 16 - const: allwinner,sun4i-a10-lradc-keys 17 17 - const: allwinner,sun8i-a83t-r-lradc 18 18 - items: 19 - - const: allwinner,sun50i-a64-lradc 19 + - enum: 20 + - allwinner,suniv-f1c100s-lradc 21 + - allwinner,sun50i-a64-lradc 20 22 - const: allwinner,sun8i-a83t-r-lradc 21 23 - const: allwinner,sun50i-r329-lradc 22 24 - items: