Skip to content
Snippets Groups Projects
Commit c3b7c5a4 authored by Andy Yan's avatar Andy Yan Committed by Heiko Stuebner
Browse files

dt-bindings: display: vop2: Add rk3576 support


Add vop found on rk3576, the main difference between rk3576 and the
previous vop is that each VP has its own interrupt line.

Signed-off-by: default avatarAndy Yan <andy.yan@rock-chips.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20250303034436.192400-7-andyshrk@163.com
parent 47d31e65
No related branches found
No related tags found
No related merge requests found
...@@ -21,6 +21,7 @@ properties: ...@@ -21,6 +21,7 @@ properties:
enum: enum:
- rockchip,rk3566-vop - rockchip,rk3566-vop
- rockchip,rk3568-vop - rockchip,rk3568-vop
- rockchip,rk3576-vop
- rockchip,rk3588-vop - rockchip,rk3588-vop
reg: reg:
...@@ -38,10 +39,21 @@ properties: ...@@ -38,10 +39,21 @@ properties:
- const: gamma-lut - const: gamma-lut
interrupts: interrupts:
maxItems: 1 minItems: 1
maxItems: 4
description: description:
The VOP interrupt is shared by several interrupt sources, such as For VOP version under rk3576, the interrupt is shared by several interrupt
frame start (VSYNC), line flag and other status interrupts. sources, such as frame start (VSYNC), line flag and other interrupt status.
For VOP version from rk3576 there is a system interrupt for bus error, and
every video port has it's independent interrupts for vsync and other video
port related error interrupts.
interrupt-names:
items:
- const: sys
- const: vp0
- const: vp1
- const: vp2
# See compatible-specific constraints below. # See compatible-specific constraints below.
clocks: clocks:
...@@ -136,6 +148,11 @@ allOf: ...@@ -136,6 +148,11 @@ allOf:
clock-names: clock-names:
maxItems: 5 maxItems: 5
interrupts:
maxItems: 1
interrupt-names: false
ports: ports:
required: required:
- port@0 - port@0
...@@ -149,6 +166,39 @@ allOf: ...@@ -149,6 +166,39 @@ allOf:
required: required:
- rockchip,grf - rockchip,grf
- if:
properties:
compatible:
contains:
enum:
- rockchip,rk3576-vop
then:
properties:
clocks:
maxItems: 5
clock-names:
maxItems: 5
interrupts:
minItems: 4
interrupt-names:
minItems: 4
ports:
required:
- port@0
- port@1
- port@2
rockchip,vo1-grf: false
rockchip,vop-grf: false
required:
- rockchip,grf
- rockchip,pmu
- if: - if:
properties: properties:
compatible: compatible:
...@@ -164,6 +214,11 @@ allOf: ...@@ -164,6 +214,11 @@ allOf:
minItems: 7 minItems: 7
maxItems: 9 maxItems: 9
interrupts:
maxItems: 1
interrupt-names: false
ports: ports:
required: required:
- port@0 - port@0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment