[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <mafs0msayrp6s.fsf@kernel.org>
Date: Tue, 27 May 2025 18:30:51 +0200
From: Pratyush Yadav <pratyush@...nel.org>
To: Zixian Zeng <sycamoremoon376@...il.com>
Cc: Michael Walle <mwalle@...nel.org>, Tudor Ambarus
<tudor.ambarus@...aro.org>, Pratyush Yadav <pratyush@...nel.org>, Miquel
Raynal <miquel.raynal@...tlin.com>, Richard Weinberger <richard@....at>,
Vignesh Raghavendra <vigneshr@...com>, Chen Wang
<unicorn_wang@...look.com>, Inochi Amaoto <inochiama@...il.com>, Mark
Brown <broonie@...nel.org>, Rob Herring <robh@...nel.org>, Krzysztof
Kozlowski <krzk+dt@...nel.org>, Conor Dooley <conor+dt@...nel.org>, Paul
Walmsley <paul.walmsley@...ive.com>, Palmer Dabbelt <palmer@...belt.com>,
Albert Ou <aou@...s.berkeley.edu>, Alexandre Ghiti <alex@...ti.fr>,
Longbin Li <looong.bin@...il.com>, linux-mtd@...ts.infradead.org,
linux-kernel@...r.kernel.org, sophgo@...ts.linux.dev,
linux-spi@...r.kernel.org, devicetree@...r.kernel.org,
linux-riscv@...ts.infradead.org, dlan@...too.org, ziyao@...root.org
Subject: Re: [PATCH 2/3] mtd: spi-nor: Add GD25LB512ME GigaDevice flash_info
On Sat, May 24 2025, Zixian Zeng wrote:
> Hi, Michael, Thank you for your reviews.
>
> On Fri, May 23, 2025 at 01:16:50PM +0200, Michael Walle wrote:
>> Hi,
>>
>> > Add GD25LB512ME SPI-NOR flash information
>>
>> Please have a look at [1].
>>
>> This flash supports SFDP, do you really need a new entry in the
>> flashdb? Could you try without it?
>>
>> In any case, could you please dump the SFDP see [1], too.
>>
>> [1] https://docs.kernel.org/driver-api/mtd/spi-nor.html
>>
>> -michael
>
> I was following the testing requirements from [1].
> Before that, I have applied the patch:
> "mtd: spi-nor: Add GD25LB512ME GigaDevice flash_info"
> Because without this patch, the spi-nor device cannot be detected normally.
>
> ------------------------------- LOG ------------------------------------
> root@...alhost ~ # dmesg | grep -i spi
> [ 10.199526] spi-nor spi0.0: supply vcc not found, using dummy regulator
> [ 11.206477] spi-nor spi0.0: unrecognized JEDEC id bytes: c8 67 1a ff c8 67
> [ 11.213691] spi-nor spi1.0: supply vcc not found, using dummy regulator
> [ 12.220614] spi-nor spi1.0: unrecognized JEDEC id bytes: c8 67 1a ff c8 67
The flash seems to have a valid SFDP but for some reason
spi_nor_check_sfdp_signature() is not able to validate it to allow the
generic driver. Can you please take a look at why? Ideally the generic
driver should be enough and you shouldn't need to add an entry unless
something is wrong with SFDP data.
--
Regards,
Pratyush Yadav
Powered by blists - more mailing lists