Re: [PATCH 1/5] media: dt-bindings: add the required property 'additionalProperties'

From: Leizhen (ThunderTown)
Date: Sun Dec 06 2020 - 00:37:17 EST




On 2020/12/4 18:56, Philipp Zabel wrote:
> On Fri, 2020-12-04 at 17:38 +0800, Zhen Lei wrote:
>> When I do dt_binding_check for any YAML file, below wanring is always
>> reported:
>>
>> xxx/media/coda.yaml: 'additionalProperties' is a required property
>> xxx/media/coda.yaml: ignoring, error in schema:
>> warning: no schema found in file: xxx/media/coda.yaml
>>
>> There are three properties defined in allOf, they should be explicitly
>> declared. Otherwise, "additionalProperties: false" will prohibit them.
>>
>> Signed-off-by: Zhen Lei <thunder.leizhen@xxxxxxxxxx>
>
> Thank you, there already is a patch to fix this:
>
> https://lore.kernel.org/linux-media/20201117200752.4004368-1-robh@xxxxxxxxxx/

OK. I found it temporarily during do a JSON conversion,I have not subscribed the
dt-binding maillist.

>
> regards
> Philipp
>
> .
>