dt-bindings: mtd: jedec,spi-nor: Add atmel,at26* compatible string
Frank Li
maintainerPATCH 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
@@ -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
Quoted 6 lines · Frank Li
Add atmel,at26* compatible string to fix below
CHECK_DTBwarning:
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 <[email protected]>
Pratyush Yadav
maintainerQuoted 4 lines · Frank Li
Add atmel,at26* compatible string to fix below
CHECK_DTBwarning:
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
Frank Li
maintainerQuoted 9 lines · Pratyush Yadav
Quoted 4 lines · Frank Li
Add atmel,at26* compatible string to fix below
CHECK_DTBwarning:
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
Quoted 8 lines · Frank Li
Quoted 7 lines · Pratyush Yadav
Quoted 4 lines · Frank Li
Add atmel,at26* compatible string to fix below
CHECK_DTBwarning:
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
Quoted 6 lines · Frank Li
Add atmel,at26* compatible string to fix below
CHECK_DTBwarning:
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 <[email protected]>
Applied to spi-nor/next. Thanks!
[...]
Signature · 2 lines
Regards, Pratyush Yadav