[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210526185917.23icpjsuc37x3pae@slashing>
Date: Wed, 26 May 2021 13:59:17 -0500
From: Nishanth Menon <nm@...com>
To: Rob Herring <robh+dt@...nel.org>
CC: Kishon Vijay Abraham I <kishon@...com>,
Bjorn Helgaas <bhelgaas@...gle.com>,
Lorenzo Pieralisi <lorenzo.pieralisi@....com>,
PCI <linux-pci@...r.kernel.org>, <devicetree@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Lokesh Vutla <lokeshvutla@...com>
Subject: Re: [PATCH] dt-bindings: PCI: ti,am65: Convert PCIe host/endpoint
mode dt-bindings to YAML
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
Powered by blists - more mailing lists