Commit 54eb8d44 authored by Sascha Hauer's avatar Sascha Hauer Committed by Heiko Stuebner

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: default avatarSascha Hauer <s.hauer@pengutronix.de>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20220511082109.1110043-2-s.hauer@pengutronix.de
parent 6071c4c2
...@@ -22,7 +22,6 @@ properties: ...@@ -22,7 +22,6 @@ properties:
- rockchip,rk3568-vop - rockchip,rk3568-vop
reg: reg:
minItems: 1
items: items:
- description: - description:
Must contain one entry corresponding to the base address and length Must contain one entry corresponding to the base address and length
...@@ -31,6 +30,11 @@ properties: ...@@ -31,6 +30,11 @@ properties:
Can optionally contain a second entry corresponding to Can optionally contain a second entry corresponding to
the CRTC gamma LUT address. the CRTC gamma LUT address.
reg-names:
items:
- const: vop
- const: gamma-lut
interrupts: interrupts:
maxItems: 1 maxItems: 1
description: description:
...@@ -86,6 +90,7 @@ properties: ...@@ -86,6 +90,7 @@ properties:
required: required:
- compatible - compatible
- reg - reg
- reg-names
- interrupts - interrupts
- clocks - clocks
- clock-names - clock-names
...@@ -104,6 +109,7 @@ examples: ...@@ -104,6 +109,7 @@ examples:
vop: vop@fe040000 { vop: vop@fe040000 {
compatible = "rockchip,rk3568-vop"; compatible = "rockchip,rk3568-vop";
reg = <0x0 0xfe040000 0x0 0x3000>, <0x0 0xfe044000 0x0 0x1000>; reg = <0x0 0xfe040000 0x0 0x3000>, <0x0 0xfe044000 0x0 0x1000>;
reg-names = "vop", "gamma-lut";
interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cru ACLK_VOP>, clocks = <&cru ACLK_VOP>,
<&cru HCLK_VOP>, <&cru HCLK_VOP>,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment