]> www.infradead.org Git - linux.git/commitdiff
dt-bindings: input: sun4i-lradc-keys: Add H616 compatible
authorJames McGregor <jamcgregor@protonmail.com>
Fri, 26 Apr 2024 09:29:41 +0000 (09:29 +0000)
committerChen-Yu Tsai <wens@csie.org>
Tue, 28 May 2024 16:14:35 +0000 (00:14 +0800)
The Allwinner H616 SoC has an LRADC which is compatible with the
versions in existing SoCs.
Add a compatible string for H616, with the R329 fallback. This is the
same as the D1, so put them into an enum.

Signed-off-by: James McGregor <jamcgregor@protonmail.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20240426092924.15489-2-jamcgregor@protonmail.com
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Documentation/devicetree/bindings/input/allwinner,sun4i-a10-lradc-keys.yaml

index c384bf0bb25dab599608735d0163196c2fcd7e84..6bdb8040be65675459896faa42885286c51da5e7 100644 (file)
@@ -22,7 +22,9 @@ properties:
           - const: allwinner,sun8i-a83t-r-lradc
       - const: allwinner,sun50i-r329-lradc
       - items:
-          - const: allwinner,sun20i-d1-lradc
+          - enum:
+              - allwinner,sun50i-h616-lradc
+              - allwinner,sun20i-d1-lradc
           - const: allwinner,sun50i-r329-lradc
 
   reg: