diff options
author | Johan Jonker <jbx6244@gmail.com> | 2020-04-21 17:51:31 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-05-05 17:08:02 +0200 |
commit | e01bc6cbb1fc262e7fccceb5f8fd5ee8e6418f66 (patch) | |
tree | 7a1b408470f3b6bfae0be066445ffc9c685f41ec /Documentation/devicetree/bindings/media | |
parent | bcf10abe8c40a23666a46ef413f0c49464769bad (diff) | |
download | lwn-e01bc6cbb1fc262e7fccceb5f8fd5ee8e6418f66.tar.gz lwn-e01bc6cbb1fc262e7fccceb5f8fd5ee8e6418f66.zip |
media: dt-bindings: media: rockchip-vpu: fix interrupt-names
A test with the command below gives for example this error:
arch/arm64/boot/dts/rockchip/rk3328-evb.dt.yaml: video-codec@ff350000:
interrupts: [[0, 9, 4]] is too short
arch/arm64/boot/dts/rockchip/rk3328-evb.dt.yaml: video-codec@ff350000:
interrupt-names: ['vdpu'] is too short
arch/arm64/boot/dts/rockchip/rk3328-evb.dt.yaml: video-codec@ff350000:
interrupt-names:0: 'vepu' was expected
With the conversion of rockchip-vpu.txt to yaml the correct
'interrupt-names' for rk3328 was not included, so add them now.
Also add 'minItems' to 'interrupts'for the completeness.
make ARCH=arm64 dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/media/rockchip-vpu.yaml
Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/media')
-rw-r--r-- | Documentation/devicetree/bindings/media/rockchip-vpu.yaml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/media/rockchip-vpu.yaml b/Documentation/devicetree/bindings/media/rockchip-vpu.yaml index d7a42e6f9bcf..27df18ad6a81 100644 --- a/Documentation/devicetree/bindings/media/rockchip-vpu.yaml +++ b/Documentation/devicetree/bindings/media/rockchip-vpu.yaml @@ -24,12 +24,15 @@ properties: maxItems: 1 interrupts: + minItems: 1 maxItems: 2 interrupt-names: - items: - - const: vepu + oneOf: - const: vdpu + - items: + - const: vepu + - const: vdpu clocks: maxItems: 2 |