[PATCH 1/1] dt-bindings: mtd: jedec,spi-nor: Add atmel,at26* compatible string
Pratyush Yadav
pratyush at kernel.org
Wed May 28 11:57:35 PDT 2025
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 at 40000000/spi at 4002c000/at26df081a at 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 at kernel.org>
--
Regards,
Pratyush Yadav
More information about the linux-mtd
mailing list