]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dt-bindings: display: rockchip,inno-hdmi: Document GRF for RK3036 HDMI
authorAndy Yan <andy.yan@rock-chips.com>
Tue, 22 Apr 2025 07:04:41 +0000 (15:04 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 4 May 2025 10:40:51 +0000 (12:40 +0200)
HDMI on RK3036 use GRF control the HSYNC/VSYNC polarity, but this part
is missing when it first landing upstream.

Document that it is mandatory for RK3036 HDMI.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20250422070455.432666-3-andyshrk@163.com
Documentation/devicetree/bindings/display/rockchip/rockchip,inno-hdmi.yaml

index 9d1e7f894ea54f372cb3602c86f49043a254f1f5..290376bec079ab434b097c35e42c2bbf9f6a69cf 100644 (file)
@@ -56,6 +56,12 @@ properties:
       - port@0
       - port@1
 
+  rockchip,grf:
+    $ref: /schemas/types.yaml#/definitions/phandle
+    description:
+      Phandle to GRF used for control the polarity of hsync/vsync of rk3036
+      HDMI.
+
 required:
   - compatible
   - reg
@@ -75,6 +81,8 @@ allOf:
             const: rockchip,rk3036-inno-hdmi
 
     then:
+      required:
+        - rockchip,grf
       properties:
         power-domains: false
 
@@ -103,6 +111,7 @@ examples:
       clock-names = "pclk", "ref";
       pinctrl-names = "default";
       pinctrl-0 = <&hdmi_ctl>;
+      rockchip,grf = <&grf>;
       #sound-dai-cells = <0>;
 
       ports {