Document the "rockchip,rk3568-edp" compatible. Like RK3576/RK3588, the RK3568 eDP controller has the dp/pclk/hclk clocks and dp/apb resets, but unlike them it does not use GRF registers, so make the "rockchip,grf" property conditional on the SoC.
Also document the optional avdd-0v9 and avdd-1v8 supplies, which are needed by the RK3568 eDP controller. Signed-off-by: Damon Ding <[email protected]> --- .../rockchip/rockchip,analogix-dp.yaml | 25 ++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display/rockchip/rockchip,analogix-dp.yaml b/Documentation/devicetree/bindings/display/rockchip/rockchip,analogix-dp.yaml index 39dafe75a680..f8670a4e0430 100644 --- a/Documentation/devicetree/bindings/display/rockchip/rockchip,analogix-dp.yaml +++ b/Documentation/devicetree/bindings/display/rockchip/rockchip,analogix-dp.yaml @@ -15,6 +15,7 @@ properties: enum: - rockchip,rk3288-dp - rockchip,rk3399-edp + - rockchip,rk3568-edp - rockchip,rk3576-edp - rockchip,rk3588-edp @@ -47,6 +48,16 @@ properties: - const: dp - const: apb + avdd-0v9-supply: + description: + A 0.9V supply that powers up the SoC internal circuitry. The actual + supply source varies between different boards. + + avdd-1v8-supply: + description: + A 1.8V supply that powers up the SoC internal circuitry. The actual + supply source varies between different boards. + rockchip,grf: $ref: /schemas/types.yaml#/definitions/phandle description: @@ -61,11 +72,22 @@ required: - clock-names - resets - reset-names - - rockchip,grf allOf: - $ref: /schemas/display/bridge/analogix,dp.yaml# + - if: + properties: + compatible: + contains: + const: rockchip,rk3568-edp + then: + properties: + rockchip,grf: false + else: + required: + - rockchip,grf + - if: properties: compatible: @@ -100,6 +122,7 @@ allOf: compatible: contains: enum: + - rockchip,rk3568-edp - rockchip,rk3576-edp - rockchip,rk3588-edp then: -- 2.34.1
