Skip to contentSkip to conversation

dt-bindings: mtd: jedec,spi-nor: Add atmel,at26* compatible string

PATCH Applied Frank Li 3 participants 6 messages May 23, 2025 – Jul 3, 2025

Subsystems (4)
lore
Share & tools
lore

Frank Li

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: mtd: jedec,spi-nor: Add atmel,at26* compatible string

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']

---
 Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml +1 -1
index 335f8204aa1eb..587af4968255e 100644
@@ -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)|\
Signature · 1 line
2.34.1
maintainer
#2 lore raw
In reply to Frank Li
Quoted 4 lines · Frank Li

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.

[...]

Signature · 2 lines
Regards,
Pratyush Yadav
author maintainer
#3 lore raw
Quoted 9 lines · Pratyush Yadav
Quoted 4 lines · Frank Li

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

Quoted 6 lines

[...]

--
Regards,
Pratyush Yadav

maintainer Acked-by
#4 lore raw
Quoted 8 lines · Frank Li
Quoted 7 lines · Pratyush Yadav
Quoted 4 lines · Frank Li

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']

Quoted 7 lines
Quoted 2 lines

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.

Signature · 2 lines
Regards,
Pratyush Yadav
maintainer Applied
#5 lore raw
In reply to Frank Li
Quoted 6 lines · Frank Li

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']

Applied to spi-nor/next. Thanks!

[...]

Signature · 2 lines
Regards,
Pratyush Yadav