@@ -15,6 +15,7 @@ properties:
items:
- enum:
- rockchip,px30-mipi-dsi
+ - rockchip,rk3128-mipi-dsi
- rockchip,rk3288-mipi-dsi
- rockchip,rk3399-mipi-dsi
- rockchip,rk3568-mipi-dsi
@@ -36,7 +37,10 @@ properties:
- const: pclk
- const: phy_cfg
- const: grf
- - const: pclk
+ - minItems: 1
+ items:
+ - const: pclk
+ - const: ahb
rockchip,grf:
$ref: /schemas/types.yaml#/definitions/phandle
@@ -120,6 +124,25 @@ allOf:
clock-names:
minItems: 4
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - rockchip,rk3128-mipi-dsi
+
+ then:
+ properties:
+ clocks:
+ minItems: 2
+
+ clock-names:
+ minItems: 2
+
+ required:
+ - phys
+ - phy-names
+
unevaluatedProperties: false
examples:
Document the MIPI DSI controller for Rockchip RK3128. The integration is very similar to PX30, but it has an additional AHB clock. Signed-off-by: Alex Bee <knaerzche@gmail.com> --- changes since v1: - added ahb clock .../rockchip/rockchip,dw-mipi-dsi.yaml | 25 ++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-)