mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-04 18:49:41 +00:00
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: Andy Yan <andy.yan@rock-chips.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Heiko Stuebner <heiko@sntech.de> Link: https://patchwork.freedesktop.org/patch/msgid/20250303034436.192400-7-andyshrk@163.com
This commit is contained in:
parent
47d31e6598
commit
c3b7c5a4d7
@ -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:
|
|||||||
- 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:
|
|||||||
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:
|
|||||||
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:
|
|||||||
minItems: 7
|
minItems: 7
|
||||||
maxItems: 9
|
maxItems: 9
|
||||||
|
|
||||||
|
interrupts:
|
||||||
|
maxItems: 1
|
||||||
|
|
||||||
|
interrupt-names: false
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
required:
|
required:
|
||||||
- port@0
|
- port@0
|
||||||
|
Loading…
Reference in New Issue
Block a user