From: Marc Kleine-Budde <mkl@pengutronix.de> To: Rob Herring <robh@kernel.org> Cc: "Miquel Raynal" <miquel.raynal@bootlin.com>, "Richard Weinberger" <richard@nod.at>, "Vignesh Raghavendra" <vigneshr@ti.com>, "Krzysztof Kozlowski" <krzysztof.kozlowski+dt@linaro.org>, "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>, linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dt-bindings: mtd: mxc-nand: Drop undocumented properties from example Date: Fri, 27 May 2022 11:38:39 +0200 [thread overview] Message-ID: <20220527093839.3byc6r6ixuu5givt@pengutronix.de> (raw) In-Reply-To: <20220525205947.2487165-1-robh@kernel.org> [-- Attachment #1: Type: text/plain, Size: 1620 bytes --] On 25.05.2022 15:59:46, Rob Herring wrote: > With unevaluatedProperties issues fixed, 'nand-bus-width' and > 'nand-ecc-mode' are flagged as undocumented. Removing them from the example > is the easiest solution to silence the warnings. > > Signed-off-by: Rob Herring <robh@kernel.org> At least the 'nand-bus-width' property is described in "nand-controller.yaml" and the "mxc-nand.yaml" refers to it. | allOf: | - $ref: "nand-controller.yaml" Is this ref broken? regards, Marc > --- > These properties may be deprecated, but they are still widely used in > bindings. They either need to be documented (and marked deprecated) or > removed from current users (i.e. dts files). > --- > Documentation/devicetree/bindings/mtd/mxc-nand.yaml | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/mtd/mxc-nand.yaml b/Documentation/devicetree/bindings/mtd/mxc-nand.yaml > index 73b86f2226c7..66da1b476ab7 100644 > --- a/Documentation/devicetree/bindings/mtd/mxc-nand.yaml > +++ b/Documentation/devicetree/bindings/mtd/mxc-nand.yaml > @@ -37,6 +37,4 @@ examples: > compatible = "fsl,imx27-nand"; > reg = <0xd8000000 0x1000>; > interrupts = <29>; > - nand-bus-width = <8>; > - nand-ecc-mode = "hw"; > }; > -- > 2.34.1 > > -- Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 488 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: Marc Kleine-Budde <mkl@pengutronix.de> To: Rob Herring <robh@kernel.org> Cc: "Miquel Raynal" <miquel.raynal@bootlin.com>, "Richard Weinberger" <richard@nod.at>, "Vignesh Raghavendra" <vigneshr@ti.com>, "Krzysztof Kozlowski" <krzysztof.kozlowski+dt@linaro.org>, "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>, linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dt-bindings: mtd: mxc-nand: Drop undocumented properties from example Date: Fri, 27 May 2022 11:38:39 +0200 [thread overview] Message-ID: <20220527093839.3byc6r6ixuu5givt@pengutronix.de> (raw) In-Reply-To: <20220525205947.2487165-1-robh@kernel.org> [-- Attachment #1.1: Type: text/plain, Size: 1620 bytes --] On 25.05.2022 15:59:46, Rob Herring wrote: > With unevaluatedProperties issues fixed, 'nand-bus-width' and > 'nand-ecc-mode' are flagged as undocumented. Removing them from the example > is the easiest solution to silence the warnings. > > Signed-off-by: Rob Herring <robh@kernel.org> At least the 'nand-bus-width' property is described in "nand-controller.yaml" and the "mxc-nand.yaml" refers to it. | allOf: | - $ref: "nand-controller.yaml" Is this ref broken? regards, Marc > --- > These properties may be deprecated, but they are still widely used in > bindings. They either need to be documented (and marked deprecated) or > removed from current users (i.e. dts files). > --- > Documentation/devicetree/bindings/mtd/mxc-nand.yaml | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/mtd/mxc-nand.yaml b/Documentation/devicetree/bindings/mtd/mxc-nand.yaml > index 73b86f2226c7..66da1b476ab7 100644 > --- a/Documentation/devicetree/bindings/mtd/mxc-nand.yaml > +++ b/Documentation/devicetree/bindings/mtd/mxc-nand.yaml > @@ -37,6 +37,4 @@ examples: > compatible = "fsl,imx27-nand"; > reg = <0xd8000000 0x1000>; > interrupts = <29>; > - nand-bus-width = <8>; > - nand-ecc-mode = "hw"; > }; > -- > 2.34.1 > > -- Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | [-- Attachment #1.2: signature.asc --] [-- Type: application/pgp-signature, Size: 488 bytes --] [-- Attachment #2: Type: text/plain, Size: 144 bytes --] ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/
next prev parent reply other threads:[~2022-05-27 9:39 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-05-25 20:59 [PATCH] dt-bindings: mtd: mxc-nand: Drop undocumented properties from example Rob Herring 2022-05-25 20:59 ` Rob Herring 2022-05-27 9:38 ` Marc Kleine-Budde [this message] 2022-05-27 9:38 ` Marc Kleine-Budde 2022-05-31 15:05 ` Rob Herring 2022-05-31 15:05 ` Rob Herring 2022-06-03 13:40 ` Miquel Raynal 2022-06-03 13:40 ` Miquel Raynal 2022-05-27 9:57 ` Uwe Kleine-König 2022-05-27 9:57 ` Uwe Kleine-König 2022-06-09 12:44 ` Miquel Raynal 2022-06-09 12:44 ` Miquel Raynal
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220527093839.3byc6r6ixuu5givt@pengutronix.de \ --to=mkl@pengutronix.de \ --cc=devicetree@vger.kernel.org \ --cc=krzysztof.kozlowski+dt@linaro.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-mtd@lists.infradead.org \ --cc=miquel.raynal@bootlin.com \ --cc=richard@nod.at \ --cc=robh@kernel.org \ --cc=u.kleine-koenig@pengutronix.de \ --cc=vigneshr@ti.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.