Messages in this thread | | | Date | Tue, 17 Oct 2023 11:50:59 +0100 | From | Conor Dooley <> | Subject | Re: [PATCH] dt-bindings: ata: tegra: Disallow undefined properties |
| |
On Mon, Oct 16, 2023 at 10:55:54AM -0500, Rob Herring wrote: > Device specific bindings should not allow undefined properties. This is > accomplished in json-schema with 'additionalProperties: false'. > > Signed-off-by: Rob Herring <robh@kernel.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Thanks, Conor.
> --- > Documentation/devicetree/bindings/ata/nvidia,tegra-ahci.yaml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/ata/nvidia,tegra-ahci.yaml b/Documentation/devicetree/bindings/ata/nvidia,tegra-ahci.yaml > index 3c7a2425f3e6..a17297cbefcb 100644 > --- a/Documentation/devicetree/bindings/ata/nvidia,tegra-ahci.yaml > +++ b/Documentation/devicetree/bindings/ata/nvidia,tegra-ahci.yaml > @@ -151,7 +151,7 @@ allOf: > - interconnects > - power-domains > > -additionalProperties: true > +additionalProperties: false > > examples: > - | > -- > 2.42.0 > > [unhandled content-type:application/pgp-signature] | |