Commit 153a1970 authored by Andre Przywara's avatar Andre Przywara Committed by Dmitry Torokhov

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: default avatarAndre Przywara <andre.przywara@arm.com>
Acked-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20221101141658.3631342-9-andre.przywara@arm.comSigned-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 01c84b03
...@@ -16,7 +16,9 @@ properties: ...@@ -16,7 +16,9 @@ properties:
- const: allwinner,sun4i-a10-lradc-keys - const: allwinner,sun4i-a10-lradc-keys
- const: allwinner,sun8i-a83t-r-lradc - const: allwinner,sun8i-a83t-r-lradc
- items: - items:
- const: allwinner,sun50i-a64-lradc - enum:
- allwinner,suniv-f1c100s-lradc
- allwinner,sun50i-a64-lradc
- const: allwinner,sun8i-a83t-r-lradc - const: allwinner,sun8i-a83t-r-lradc
- const: allwinner,sun50i-r329-lradc - const: allwinner,sun50i-r329-lradc
- items: - items:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment