lkml.org 
[lkml]   [2020]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v4] dt-bindings: rockchip-vpu: Convert bindings to json-schema
From
Date
Hey Johan,

On Mon, 2020-04-20 at 15:33 +0200, Johan Jonker wrote:
> Hi Heiko,
>
> This patch was applied by the media people Hans and Ezequil without note
> and test I think.
>

I did test it, but I guess something felt thru the cracks.
If you'd be kind enough to submit a patch, that would be lovely.

Thanks!
Ezequiel

> make ARCH=arm64 dtbs_check
> DT_SCHEMA_FILES=Documentation/devicetree/bindings/media/rockchip-vpu.yaml
>
> Errors for example:
>
> DTC arch/arm64/boot/dts/rockchip/rk3328-evb.dt.yaml
> CHECK arch/arm64/boot/dts/rockchip/rk3328-evb.dt.yaml
> 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
>
> See:
> https://lore.kernel.org/lkml/20200403124316.5445-1-jbx6244@gmail.com/
>
> + interrupts:
> + minItems: 1
> + maxItems: 2
> +
> + interrupt-names:
> + oneOf:
> + - const: vdpu
> + - items:
> + - const: vepu
> + - const: vdpu
>
> Vs.:
>
>
> + interrupts:
> + maxItems: 2
> +
> + interrupt-names:
> + items:
> + - const: vepu
> + - const: vdpu


\
 
 \ /
  Last update: 2020-04-21 04:59    [W:0.087 / U:0.620 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site