linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] dt-bindings: mtd: jedec,spi-nor: Add atmel,at26* compatible string
@ 2025-05-23 15:52 Frank Li
  2025-05-26 15:37 ` Conor Dooley
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Frank Li @ 2025-05-23 15:52 UTC (permalink / raw)
  To: Tudor Ambarus, Pratyush Yadav, Michael Walle, Miquel Raynal,
	Richard Weinberger, Vignesh Raghavendra, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, open list:SPI NOR SUBSYSTEM,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	open list
  Cc: imx

Add atmel,at26* compatible string to fix below CHECK_DTB warning:

arch/arm/boot/dts/nxp/vf/vf610-twr.dtb: /soc/bus@40000000/spi@4002c000/at26df081a@0:
    failed to match any schema with compatible: ['atmel,at26df081a']

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
 Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml b/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml
index 335f8204aa1eb..587af4968255e 100644
--- a/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml
+++ b/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml
@@ -20,7 +20,7 @@ properties:
           - pattern: "^((((micron|spansion|st),)?\
               (m25p(40|80|16|32|64|128)|\
               n25q(32b|064|128a11|128a13|256a|512a|164k)))|\
-              atmel,at25df(321a|641|081a)|\
+              atmel,at(25|26)df(321a|641|081a)|\
               everspin,mr25h(10|40|128|256)|\
               (mxicy|macronix),mx25l(4005a|1606e|6405d|8005|12805d|25635e)|\
               (mxicy|macronix),mx25u(4033|4035)|\
-- 
2.34.1


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/1] dt-bindings: mtd: jedec,spi-nor: Add atmel,at26* compatible string
  2025-05-23 15:52 [PATCH 1/1] dt-bindings: mtd: jedec,spi-nor: Add atmel,at26* compatible string Frank Li
@ 2025-05-26 15:37 ` Conor Dooley
  2025-05-27 16:13 ` Pratyush Yadav
  2025-07-03 15:08 ` Pratyush Yadav
  2 siblings, 0 replies; 6+ messages in thread
From: Conor Dooley @ 2025-05-26 15:37 UTC (permalink / raw)
  To: Frank Li
  Cc: Tudor Ambarus, Pratyush Yadav, Michael Walle, Miquel Raynal,
	Richard Weinberger, Vignesh Raghavendra, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, open list:SPI NOR SUBSYSTEM,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	open list, imx


[-- Attachment #1.1: Type: text/plain, Size: 397 bytes --]

On Fri, May 23, 2025 at 11:52:58AM -0400, Frank Li wrote:
> Add atmel,at26* compatible string to fix below CHECK_DTB warning:
> 
> arch/arm/boot/dts/nxp/vf/vf610-twr.dtb: /soc/bus@40000000/spi@4002c000/at26df081a@0:
>     failed to match any schema with compatible: ['atmel,at26df081a']
> 
> Signed-off-by: Frank Li <Frank.Li@nxp.com>

Acked-by: Conor Dooley <conor.dooley@microchip.com>

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

[-- Attachment #2: Type: text/plain, Size: 144 bytes --]

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/1] dt-bindings: mtd: jedec,spi-nor: Add atmel,at26* compatible string
  2025-05-23 15:52 [PATCH 1/1] dt-bindings: mtd: jedec,spi-nor: Add atmel,at26* compatible string Frank Li
  2025-05-26 15:37 ` Conor Dooley
@ 2025-05-27 16:13 ` Pratyush Yadav
  2025-05-28 15:32   ` Frank Li
  2025-07-03 15:08 ` Pratyush Yadav
  2 siblings, 1 reply; 6+ messages in thread
From: Pratyush Yadav @ 2025-05-27 16:13 UTC (permalink / raw)
  To: Frank Li
  Cc: Tudor Ambarus, Pratyush Yadav, Michael Walle, Miquel Raynal,
	Richard Weinberger, Vignesh Raghavendra, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, open list:SPI NOR SUBSYSTEM,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	open list, imx

On Fri, May 23 2025, Frank Li wrote:

> Add atmel,at26* compatible string to fix below CHECK_DTB warning:
>
> arch/arm/boot/dts/nxp/vf/vf610-twr.dtb: /soc/bus@40000000/spi@4002c000/at26df081a@0:
>     failed to match any schema with compatible: ['atmel,at26df081a']

Is there any problem with setting the compatible to "jedec,spi-nor" in
the DTS instead? If not, it would better to do that instead.

[...]

-- 
Regards,
Pratyush Yadav

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/1] dt-bindings: mtd: jedec,spi-nor: Add atmel,at26* compatible string
  2025-05-27 16:13 ` Pratyush Yadav
@ 2025-05-28 15:32   ` Frank Li
  2025-05-28 18:57     ` Pratyush Yadav
  0 siblings, 1 reply; 6+ messages in thread
From: Frank Li @ 2025-05-28 15:32 UTC (permalink / raw)
  To: Pratyush Yadav
  Cc: Tudor Ambarus, Michael Walle, Miquel Raynal, Richard Weinberger,
	Vignesh Raghavendra, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, open list:SPI NOR SUBSYSTEM,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	open list, imx

On Tue, May 27, 2025 at 06:13:22PM +0200, Pratyush Yadav wrote:
> On Fri, May 23 2025, Frank Li wrote:
>
> > Add atmel,at26* compatible string to fix below CHECK_DTB warning:
> >
> > arch/arm/boot/dts/nxp/vf/vf610-twr.dtb: /soc/bus@40000000/spi@4002c000/at26df081a@0:
> >     failed to match any schema with compatible: ['atmel,at26df081a']
>
> Is there any problem with setting the compatible to "jedec,spi-nor" in
> the DTS instead? If not, it would better to do that instead.

I suppose it should work. But it is quite old legancy boards. I have not
board to test it.  And dt also prefer add chip specific compatible string
before common failback compatible string in case need workaround some chip
issues.

Frank

>
> [...]
>
> --
> Regards,
> Pratyush Yadav

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/1] dt-bindings: mtd: jedec,spi-nor: Add atmel,at26* compatible string
  2025-05-28 15:32   ` Frank Li
@ 2025-05-28 18:57     ` Pratyush Yadav
  0 siblings, 0 replies; 6+ messages in thread
From: Pratyush Yadav @ 2025-05-28 18:57 UTC (permalink / raw)
  To: Frank Li
  Cc: Pratyush Yadav, Tudor Ambarus, Michael Walle, Miquel Raynal,
	Richard Weinberger, Vignesh Raghavendra, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, open list:SPI NOR SUBSYSTEM,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	open list, imx

On Wed, May 28 2025, Frank Li wrote:

> On Tue, May 27, 2025 at 06:13:22PM +0200, Pratyush Yadav wrote:
>> On Fri, May 23 2025, Frank Li wrote:
>>
>> > Add atmel,at26* compatible string to fix below CHECK_DTB warning:
>> >
>> > arch/arm/boot/dts/nxp/vf/vf610-twr.dtb: /soc/bus@40000000/spi@4002c000/at26df081a@0:
>> >     failed to match any schema with compatible: ['atmel,at26df081a']
>>
>> Is there any problem with setting the compatible to "jedec,spi-nor" in
>> the DTS instead? If not, it would better to do that instead.
>
> I suppose it should work. But it is quite old legancy boards. I have not
> board to test it.  And dt also prefer add chip specific compatible string
> before common failback compatible string in case need workaround some chip
> issues.

Hmm, poking around with old DTs is probably not a good idea. Anyway, the
flash is listed in spi_nor_dev_ids just like the others in this yaml, so
this patch looks fine.

Acked-by: Pratyush Yadav <pratyush@kernel.org>

-- 
Regards,
Pratyush Yadav

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/1] dt-bindings: mtd: jedec,spi-nor: Add atmel,at26* compatible string
  2025-05-23 15:52 [PATCH 1/1] dt-bindings: mtd: jedec,spi-nor: Add atmel,at26* compatible string Frank Li
  2025-05-26 15:37 ` Conor Dooley
  2025-05-27 16:13 ` Pratyush Yadav
@ 2025-07-03 15:08 ` Pratyush Yadav
  2 siblings, 0 replies; 6+ messages in thread
From: Pratyush Yadav @ 2025-07-03 15:08 UTC (permalink / raw)
  To: Frank Li
  Cc: Tudor Ambarus, Pratyush Yadav, Michael Walle, Miquel Raynal,
	Richard Weinberger, Vignesh Raghavendra, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, open list:SPI NOR SUBSYSTEM,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	open list, imx

On Fri, May 23 2025, Frank Li wrote:

> Add atmel,at26* compatible string to fix below CHECK_DTB warning:
>
> arch/arm/boot/dts/nxp/vf/vf610-twr.dtb: /soc/bus@40000000/spi@4002c000/at26df081a@0:
>     failed to match any schema with compatible: ['atmel,at26df081a']
>
> Signed-off-by: Frank Li <Frank.Li@nxp.com>

Applied to spi-nor/next. Thanks!

[...]

-- 
Regards,
Pratyush Yadav

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-07-03 20:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-23 15:52 [PATCH 1/1] dt-bindings: mtd: jedec,spi-nor: Add atmel,at26* compatible string Frank Li
2025-05-26 15:37 ` Conor Dooley
2025-05-27 16:13 ` Pratyush Yadav
2025-05-28 15:32   ` Frank Li
2025-05-28 18:57     ` Pratyush Yadav
2025-07-03 15:08 ` Pratyush Yadav

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).