OSDN Git Service

dt-bindings: soc: rockchip: grf: add rockchip,lvds.yaml
authorJohan Jonker <jbx6244@gmail.com>
Thu, 22 Dec 2022 14:24:15 +0000 (15:24 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 5 Feb 2023 14:05:49 +0000 (15:05 +0100)
Add new converted rockchip,lvds.yaml to grf.yaml file.
Prepare for more SoCs with lvds output.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/ff3644da-e5ae-f795-c7d9-454b8c8bdfe8@gmail.com
Documentation/devicetree/bindings/soc/rockchip/grf.yaml

index 2ed8cca..f79adfd 100644 (file)
@@ -75,13 +75,17 @@ allOf:
       properties:
         compatible:
           contains:
-            const: rockchip,px30-grf
+            enum:
+              - rockchip,px30-grf
 
     then:
       properties:
         lvds:
-          description:
-            Documentation/devicetree/bindings/display/rockchip/rockchip-lvds.txt
+          type: object
+
+          $ref: /schemas/display/rockchip/rockchip,lvds.yaml#
+
+          unevaluatedProperties: false
 
   - if:
       properties: