dt-bindings: media: allwinner, sun4i-a10-ir: Add R40 compatible
authorJernej Skrabec <jernej.skrabec@siol.net>
Tue, 25 Aug 2020 17:13:56 +0000 (19:13 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 27 Aug 2020 15:12:17 +0000 (17:12 +0200)
Allwinner R40 has very similar IR core to that found in A31.

Add compatible for R40 and while at it, sort compatibles by family.

Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20200825171358.1286902-2-jernej.skrabec@siol.net
Documentation/devicetree/bindings/media/allwinner,sun4i-a10-ir.yaml

index 7838804..5fa19d4 100644 (file)
@@ -18,10 +18,13 @@ properties:
     oneOf:
       - const: allwinner,sun4i-a10-ir
       - const: allwinner,sun5i-a13-ir
+      - const: allwinner,sun6i-a31-ir
       - items:
           - const: allwinner,sun8i-a83t-ir
           - const: allwinner,sun6i-a31-ir
-      - const: allwinner,sun6i-a31-ir
+      - items:
+          - const: allwinner,sun8i-r40-ir
+          - const: allwinner,sun6i-a31-ir
       - items:
           - const: allwinner,sun50i-a64-ir
           - const: allwinner,sun6i-a31-ir