mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-01 15:14:52 +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:
|
||||
- rockchip,rk3566-vop
|
||||
- rockchip,rk3568-vop
|
||||
- rockchip,rk3576-vop
|
||||
- rockchip,rk3588-vop
|
||||
|
||||
reg:
|
||||
@ -38,10 +39,21 @@ properties:
|
||||
- const: gamma-lut
|
||||
|
||||
interrupts:
|
||||
maxItems: 1
|
||||
minItems: 1
|
||||
maxItems: 4
|
||||
description:
|
||||
The VOP interrupt is shared by several interrupt sources, such as
|
||||
frame start (VSYNC), line flag and other status interrupts.
|
||||
For VOP version under rk3576, the interrupt is shared by several interrupt
|
||||
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.
|
||||
clocks:
|
||||
@ -136,6 +148,11 @@ allOf:
|
||||
clock-names:
|
||||
maxItems: 5
|
||||
|
||||
interrupts:
|
||||
maxItems: 1
|
||||
|
||||
interrupt-names: false
|
||||
|
||||
ports:
|
||||
required:
|
||||
- port@0
|
||||
@ -149,6 +166,39 @@ allOf:
|
||||
required:
|
||||
- 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:
|
||||
properties:
|
||||
compatible:
|
||||
@ -164,6 +214,11 @@ allOf:
|
||||
minItems: 7
|
||||
maxItems: 9
|
||||
|
||||
interrupts:
|
||||
maxItems: 1
|
||||
|
||||
interrupt-names: false
|
||||
|
||||
ports:
|
||||
required:
|
||||
- port@0
|
||||
|
Loading…
Reference in New Issue
Block a user