[PATCH v2 1/7] dt-bindings: display: rockchip,dw-mipi-dsi: Document RK3128 DSI
Alex Bee
knaerzche at gmail.com
Thu May 9 05:07:09 PDT 2024
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 at gmail.com>
---
changes since v1:
- added ahb clock
.../rockchip/rockchip,dw-mipi-dsi.yaml | 25 ++++++++++++++++++-
1 file changed, 24 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-mipi-dsi.yaml b/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-mipi-dsi.yaml
index ccf79e738fa1..fdd1c8ad6045 100644
--- a/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-mipi-dsi.yaml
+++ b/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-mipi-dsi.yaml
@@ -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:
--
2.43.2
More information about the Linux-rockchip
mailing list