@@ -15,10 +15,13 @@ description:
properties:
compatible:
- enum:
- - rockchip,rk3288-vpu
- - rockchip,rk3328-vpu
- - rockchip,rk3399-vpu
+ oneOf:
+ - const: rockchip,rk3288-vpu
+ - const: rockchip,rk3328-vpu
+ - const: rockchip,rk3399-vpu
+ - items:
+ - const: rockchip,px30-vpu
+ - const: rockchip,rk3399-vpu
reg:
maxItems: 1
@@ -35,12 +38,18 @@ properties:
- const: vdpu
clocks:
- maxItems: 2
+ minItems: 2
+ maxItems: 3
clock-names:
- items:
- - const: aclk
- - const: hclk
+ oneOf:
+ - items:
+ - const: aclk
+ - const: hclk
+ - items:
+ - const: aclk
+ - const: hclk
+ - const: sclk
power-domains:
maxItems: 1
The Rockchip PX30 SoC has a Hantro VPU that features a decoder (VDPU2) and an encoder (VEPU2). It is similar to the RK3399's VPU but takes an extra clock (SCLK). Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com> --- .../bindings/media/rockchip-vpu.yaml | 25 +++++++++++++------ 1 file changed, 17 insertions(+), 8 deletions(-)