Skip to content

Commit 54eb8d4

Browse files
saschahauermmind
authored andcommitted
dt-bindings: display: rockchip: make reg-names mandatory for VOP2
The VOP2 driver relies on reg-names properties, but these are not documented. Add the missing documentation and make reg-names mandatory. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Heiko Stuebner <heiko@sntech.de> Link: https://patchwork.freedesktop.org/patch/msgid/20220511082109.1110043-2-s.hauer@pengutronix.de
1 parent 6071c4c commit 54eb8d4

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

Documentation/devicetree/bindings/display/rockchip/rockchip-vop2.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ properties:
2222
- rockchip,rk3568-vop
2323

2424
reg:
25-
minItems: 1
2625
items:
2726
- description:
2827
Must contain one entry corresponding to the base address and length
@@ -31,6 +30,11 @@ properties:
3130
Can optionally contain a second entry corresponding to
3231
the CRTC gamma LUT address.
3332

33+
reg-names:
34+
items:
35+
- const: vop
36+
- const: gamma-lut
37+
3438
interrupts:
3539
maxItems: 1
3640
description:
@@ -86,6 +90,7 @@ properties:
8690
required:
8791
- compatible
8892
- reg
93+
- reg-names
8994
- interrupts
9095
- clocks
9196
- clock-names
@@ -104,6 +109,7 @@ examples:
104109
vop: vop@fe040000 {
105110
compatible = "rockchip,rk3568-vop";
106111
reg = <0x0 0xfe040000 0x0 0x3000>, <0x0 0xfe044000 0x0 0x1000>;
112+
reg-names = "vop", "gamma-lut";
107113
interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
108114
clocks = <&cru ACLK_VOP>,
109115
<&cru HCLK_VOP>,

0 commit comments

Comments
 (0)