Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: display: vop2: Add optional PLL clock property for rk3576

As with the RK3588 SoC, RK3576 also allows the use of HDMI PHY PLL as an
alternative and more accurate pixel clock source for VOP2.

Document the optional PLL clock property.

Moreover, given that this is part of a series intended to address some
recent display problems, provide the appropriate tags to facilitate
backporting.

Fixes: c3b7c5a4d7c1 ("dt-bindings: display: vop2: Add rk3576 support")
Cc: stable@vger.kernel.org
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Reviewed-by: "Rob Herring (Arm)" <robh@kernel.org>
Tested-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20250612-rk3576-hdmitx-fix-v1-1-4b11007d8675@collabora.com

authored by

Cristian Ciocaltea and committed by
Heiko Stuebner
3832dc42 8733bf4c

+44 -12
+44 -12
Documentation/devicetree/bindings/display/rockchip/rockchip-vop2.yaml
··· 64 64 - description: Pixel clock for video port 0. 65 65 - description: Pixel clock for video port 1. 66 66 - description: Pixel clock for video port 2. 67 - - description: Pixel clock for video port 3. 68 - - description: Peripheral(vop grf/dsi) clock. 69 - - description: Alternative pixel clock provided by HDMI0 PHY PLL. 70 - - description: Alternative pixel clock provided by HDMI1 PHY PLL. 67 + - {} 68 + - {} 69 + - {} 70 + - {} 71 71 72 72 clock-names: 73 73 minItems: 5 ··· 77 77 - const: dclk_vp0 78 78 - const: dclk_vp1 79 79 - const: dclk_vp2 80 - - const: dclk_vp3 81 - - const: pclk_vop 82 - - const: pll_hdmiphy0 83 - - const: pll_hdmiphy1 80 + - {} 81 + - {} 82 + - {} 83 + - {} 84 84 85 85 rockchip,grf: 86 86 $ref: /schemas/types.yaml#/definitions/phandle ··· 175 175 then: 176 176 properties: 177 177 clocks: 178 - maxItems: 5 178 + minItems: 5 179 + items: 180 + - {} 181 + - {} 182 + - {} 183 + - {} 184 + - {} 185 + - description: Alternative pixel clock provided by HDMI PHY PLL. 179 186 180 187 clock-names: 181 - maxItems: 5 188 + minItems: 5 189 + items: 190 + - {} 191 + - {} 192 + - {} 193 + - {} 194 + - {} 195 + - const: pll_hdmiphy0 182 196 183 197 interrupts: 184 198 minItems: 4 ··· 222 208 properties: 223 209 clocks: 224 210 minItems: 7 225 - maxItems: 9 211 + items: 212 + - {} 213 + - {} 214 + - {} 215 + - {} 216 + - {} 217 + - description: Pixel clock for video port 3. 218 + - description: Peripheral(vop grf/dsi) clock. 219 + - description: Alternative pixel clock provided by HDMI0 PHY PLL. 220 + - description: Alternative pixel clock provided by HDMI1 PHY PLL. 226 221 227 222 clock-names: 228 223 minItems: 7 229 - maxItems: 9 224 + items: 225 + - {} 226 + - {} 227 + - {} 228 + - {} 229 + - {} 230 + - const: dclk_vp3 231 + - const: pclk_vop 232 + - const: pll_hdmiphy0 233 + - const: pll_hdmiphy1 230 234 231 235 interrupts: 232 236 maxItems: 1