@@ -14,6 +14,7 @@ description:
maintainers:
- Sandy Huang <hjc@rock-chips.com>
- Heiko Stuebner <heiko@sntech.de>
+ - Andy Yan <andyshrk@163.com>
properties:
compatible:
@@ -120,43 +121,58 @@ allOf:
properties:
compatible:
contains:
- const: rockchip,rk3588-vop
+ enum:
+ - rockchip,rk3566-vop
+ - rockchip,rk3568-vop
then:
properties:
clocks:
- minItems: 7
+ minItems: 5
+
clock-names:
- minItems: 7
+ minItems: 5
+
+ interrupts:
+ maxItems: 1
ports:
required:
- port@0
- port@1
- port@2
- - port@3
-
- required:
- - rockchip,grf
- - rockchip,vo1-grf
- - rockchip,vop-grf
- - rockchip,pmu
- else:
- properties:
rockchip,vo1-grf: false
rockchip,vop-grf: false
rockchip,pmu: false
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: rockchip,rk3588-vop
+ then:
+ properties:
clocks:
- maxItems: 5
+ minItems: 7
+
clock-names:
- maxItems: 5
+ minItems: 7
+
+ interrupts:
+ maxItems: 1
ports:
required:
- port@0
- port@1
- port@2
+ - port@3
+
+ required:
+ - rockchip,grf
+ - rockchip,vo1-grf
+ - rockchip,vop-grf
+ - rockchip,pmu
additionalProperties: false