From 6ea5afc91a34f4faf88f1a2073330854da54a042 Mon Sep 17 00:00:00 2001 From: Algea Cao Date: Fri, 17 Nov 2023 10:02:31 +0800 Subject: [PATCH] dt-bindings: display: rockchip: dw_hdmi-rockchip: Add force output property Signed-off-by: Algea Cao Change-Id: I3218c9f827712540fbb5daac59d660aaebc453b4 --- .../display/rockchip/dw_hdmi-rockchip.txt | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/Documentation/devicetree/bindings/display/rockchip/dw_hdmi-rockchip.txt b/Documentation/devicetree/bindings/display/rockchip/dw_hdmi-rockchip.txt index 927de5650805..7f430ca0c124 100644 --- a/Documentation/devicetree/bindings/display/rockchip/dw_hdmi-rockchip.txt +++ b/Documentation/devicetree/bindings/display/rockchip/dw_hdmi-rockchip.txt @@ -38,6 +38,10 @@ Optional properties - clock-names: May contain "cec" as defined in dw_hdmi.txt. - clock-names: May contain "grf", power for grf io. - clock-names: May contain "vpll", external clock for some hdmi phy. +- force-bus-format: force hdmi output a specific color format. +- force-output: If need hdmi to force output a specific resolution, + set this property. +- force_timing: Detailed timing of hdmi forced output. - phys: from general PHY binding: the phandle for the PHY device. - phy-names: Should be "hdmi" if phys references an external phy. - skip-check-420-mode: If need skip check yuv420 mode valid, set this property. @@ -62,6 +66,23 @@ hdmi: hdmi@ff980000 { interrupts = ; clocks = <&cru PCLK_HDMI_CTRL>, <&cru SCLK_HDMI_HDCP>; clock-names = "iahb", "isfr"; + force-bus-format = ; + force-output; + force_timing { + clock-frequency = <594000000>; + hactive = <3840>; + vactive = <2160>; + hback-porch = <296>; + hfront-porch = <176>; + vback-porch = <72>; + vfront-porch = <8>; + hsync-len = <88>; + vsync-len = <10>; + hsync-active = <1>; + vsync-active = <1>; + de-active = <0>; + pixelclk-active = <0>; + }; ports { hdmi_in: port { #address-cells = <1>;