Re: [PATCH v2 00/13] spi: cadence-qspi: Add Renesas RZ/N1 support
From: Miquel Raynal
Date: Tue Jan 20 2026 - 10:05:42 EST
Hi Santhosh,
On 20/01/2026 at 14:52:38 +0530, Santhosh Kumar K <s-k6@xxxxxx> wrote:
> Hello Miquel,
>
> On 15/01/26 14:54, Miquel Raynal (Schneider Electric) wrote:
>> Hello,
>> This series adds support for the QSPI controller available on Renesas
>> RZ/N1S and RZ/N1D SoC. It has been tested with a custom board (see last
>> SPI patch for details).
>> Adding support for this SoC required a few adaptations in the Cadence
>> QSPI driver. The bulk of the work is in the few last patches. Everything
>> else is just misc style fixes and improvements which bothered me while I
>> was wandering.
>> In order to support all constraints, I sometimes used a new quirk (for
>> the write protection feature and the "no indirect mode"), and sometimes
>> used the compatible directly. The ones I thought might not be RZ/N1
>> specific have been implemented under the form of a quirk, in order to
>> ease their reuse. The other adaptations, which I believe are more
>> Renesas specific, have been handled using the compatible. This is all
>> very arbitrary, and can be discussed.
>> Thanks,
>> Miquèl
>> Signed-off-by: Miquel Raynal (Schneider Electric)
>> <miquel.raynal@xxxxxxxxxxx>
>
> Thank you for the series! Tested it on TI's AM62A SK with
> OSPI NAND (Winbond's W35N01JW).
>
> Controller fails to probe with the following message:
>
> [ 1.868863] cadence-qspi fc40000.spi: Cannot claim mandatory QSPI ref
> clock.
Strange, I was nonetheless careful not to change the existing
behaviour on other SoCs. I have that board, I will give it a try.
Thanks a lot for the feedback.
Miquèl