[<prev] [next>] [day] [month] [year] [list]
Message-ID: <55d60aec-3b20-d9d3-aeb2-77abbcc47d16@linaro.org>
Date: Fri, 21 Jul 2023 09:06:00 +0300
From: Tudor Ambarus <tudor.ambarus@...aro.org>
To: Vlim <vlim@...adevice.com>, Michael Walle <michael@...le.cc>
Cc: "pratyush@...nel.org" <pratyush@...nel.org>,
"miquel.raynal@...tlin.com" <miquel.raynal@...tlin.com>,
"richard@....at" <richard@....at>,
"vigneshr@...com" <vigneshr@...com>,
"akumarma@....com" <akumarma@....com>,
"linux-mtd@...ts.infradead.org" <linux-mtd@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"vikhyat.goyal@....com" <vikhyat.goyal@....com>
Subject: Re: [PATCH V1 1/1] linux: drivers: mtd: spi-nor: gigadevice.c
On 21.07.2023 00:48, Vlim wrote:
> Hi, Michael,
>
> Our parts do support SFDP.
> Can you provide the guideline for the part definition?
There's none at the moment, you have to read the code.
> I do see these samples in the gigadevice.c file; but, not sure of the
> purpose of each parameter.
The flags are defined in drivers/mtd/spi-nor/core.h. Start from there.
>
All the flashes that you proposed, but one probably (gd25lx256e) can be
probed using the generic spi-nor driver, thus you won't need to add
dedicated flash entries. See:
773bbe104497 mtd: spi-nor: add generic flash driver
Cheers,
ta
Powered by blists - more mailing lists