[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2d1da0b9d857c5607c989be85a04c9d7d9d19b38.camel@collabora.com>
Date: Mon, 20 Apr 2020 23:59:33 -0300
From: Ezequiel Garcia <ezequiel@...labora.com>
To: Johan Jonker <jbx6244@...il.com>, heiko@...ech.de
Cc: devicetree@...r.kernel.org, hverkuil@...all.nl,
linux-kernel@...r.kernel.org, linux-media@...r.kernel.org,
linux-rockchip@...ts.infradead.org, mark.rutland@....com,
robh@...nel.org
Subject: Re: [PATCH v4] dt-bindings: rockchip-vpu: Convert bindings to
json-schema
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@...50000:
> interrupts: [[0, 9, 4]] is too short
> arch/arm64/boot/dts/rockchip/rk3328-evb.dt.yaml: video-codec@...50000:
> interrupt-names: ['vdpu'] is too short
> arch/arm64/boot/dts/rockchip/rk3328-evb.dt.yaml: video-codec@...50000:
> 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
Powered by blists - more mailing lists