Re: [PATCH] dt-bindings: PCI: ti,am65: Convert PCIe host/endpoint mode dt-bindings to YAML

From: Nishanth Menon
Date: Wed May 26 2021 - 14:59:34 EST


On 11:04-20210526, Rob Herring wrote:

[...]

> > > +unevaluatedProperties: false
> >
> > Is it possible to lock this down further with additionalProperties: false?
>
> unevaluatedProperties is what we want here.
>
> > I could add some ridiculous property like system-controller; to the
> > example and the checks wont catch it.
>
> Yes, because unevaluatedProperties is currently unimplemented. Once
> the upstream jsonschema tool supports it[1], there will be warnings.
> The other way we could address this is there are $ref resolving tools
> that flatten schemas.
>
> [1] https://github.com/Julian/jsonschema/issues/613#issuecomment-636026577


Aha.. Thanks.

--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D