All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 1/2] arm64: dts: renesas: r8a779g3: Describe generic SPI NOR support on Retronix R-Car V4H Sparrow Hawk board
@ 2025-08-06 14:58 Marek Vasut
  2025-08-06 14:58 ` [PATCH v3 2/2] arm64: renesas: r8a779g3: Enable Winbond " Marek Vasut
  2025-08-11 13:25 ` [PATCH v3 1/2] arm64: dts: renesas: r8a779g3: Describe generic " Quentin Schulz
  0 siblings, 2 replies; 3+ messages in thread
From: Marek Vasut @ 2025-08-06 14:58 UTC (permalink / raw)
  To: u-boot; +Cc: Marek Vasut, Nobuhiro Iwamatsu, Tom Rini

Retronix R-Car V4H Sparrow Hawk EVTA1 is populated with Spansion S25FS512S,
EVTB1 is populated with Winbond W77Q51NW. Describe the SPI NOR using generic
"jedec,spi-nor" compatible, because both flashes can be auto-detected based
on their built-in IDs.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
---
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Cc: Tom Rini <trini@konsulko.com>
Cc: u-boot@lists.denx.de
---
V2: Update commit message, s@spi-flash@jedec,spi-nor@
V3: Use capital F in the comment, s@fS@FS@
---
 dts/upstream/src/arm64/renesas/r8a779g3-sparrow-hawk.dts | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dts/upstream/src/arm64/renesas/r8a779g3-sparrow-hawk.dts b/dts/upstream/src/arm64/renesas/r8a779g3-sparrow-hawk.dts
index 6955eafd8d6..a9ecef67d5d 100644
--- a/dts/upstream/src/arm64/renesas/r8a779g3-sparrow-hawk.dts
+++ b/dts/upstream/src/arm64/renesas/r8a779g3-sparrow-hawk.dts
@@ -729,7 +729,11 @@
 	status = "okay";
 
 	flash@0 {
-		compatible = "spansion,s25fs512s", "jedec,spi-nor";
+		/*
+		 * EVTA1 is populated with Spansion S25FS512S
+		 * EVTB1 is populated with Winbond W77Q51NW
+		 */
+		compatible = "jedec,spi-nor";
 		reg = <0>;
 		spi-max-frequency = <40000000>;
 		spi-rx-bus-width = <4>;
-- 
2.47.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH v3 2/2] arm64: renesas: r8a779g3: Enable Winbond SPI NOR support on Retronix R-Car V4H Sparrow Hawk board
  2025-08-06 14:58 [PATCH v3 1/2] arm64: dts: renesas: r8a779g3: Describe generic SPI NOR support on Retronix R-Car V4H Sparrow Hawk board Marek Vasut
@ 2025-08-06 14:58 ` Marek Vasut
  2025-08-11 13:25 ` [PATCH v3 1/2] arm64: dts: renesas: r8a779g3: Describe generic " Quentin Schulz
  1 sibling, 0 replies; 3+ messages in thread
From: Marek Vasut @ 2025-08-06 14:58 UTC (permalink / raw)
  To: u-boot; +Cc: Marek Vasut, Nobuhiro Iwamatsu, Tom Rini

Enable support for Winbond SPI NOR on Retronix R-Car V4H Sparrow Hawk board,
this is required to support W77Q51NW on new board revision EVTB1 operational.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
---
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Cc: Tom Rini <trini@konsulko.com>
Cc: u-boot@lists.denx.de
---
V2: No change
V3: No change
---
 configs/r8a779g3_sparrowhawk_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/r8a779g3_sparrowhawk_defconfig b/configs/r8a779g3_sparrowhawk_defconfig
index 9aa8dc83317..bb8d110dc0d 100644
--- a/configs/r8a779g3_sparrowhawk_defconfig
+++ b/configs/r8a779g3_sparrowhawk_defconfig
@@ -33,6 +33,7 @@ CONFIG_PCI_REGION_MULTI_ENTRY=y
 CONFIG_PHY_MICREL=y
 CONFIG_PHY_MICREL_KSZ90X1=y
 CONFIG_RENESAS_RAVB=y
+CONFIG_SPI_FLASH_WINBOND=y
 
 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
 CONFIG_SPL_HAVE_INIT_STACK=y
-- 
2.47.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v3 1/2] arm64: dts: renesas: r8a779g3: Describe generic SPI NOR support on Retronix R-Car V4H Sparrow Hawk board
  2025-08-06 14:58 [PATCH v3 1/2] arm64: dts: renesas: r8a779g3: Describe generic SPI NOR support on Retronix R-Car V4H Sparrow Hawk board Marek Vasut
  2025-08-06 14:58 ` [PATCH v3 2/2] arm64: renesas: r8a779g3: Enable Winbond " Marek Vasut
@ 2025-08-11 13:25 ` Quentin Schulz
  1 sibling, 0 replies; 3+ messages in thread
From: Quentin Schulz @ 2025-08-11 13:25 UTC (permalink / raw)
  To: Marek Vasut, u-boot; +Cc: Nobuhiro Iwamatsu, Tom Rini

Hi Marek,

On 8/6/25 4:58 PM, Marek Vasut wrote:
> Retronix R-Car V4H Sparrow Hawk EVTA1 is populated with Spansion S25FS512S,
> EVTB1 is populated with Winbond W77Q51NW. Describe the SPI NOR using generic
> "jedec,spi-nor" compatible, because both flashes can be auto-detected based
> on their built-in IDs.
> 
> Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
> ---
> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
> Cc: Tom Rini <trini@konsulko.com>
> Cc: u-boot@lists.denx.de
> ---
> V2: Update commit message, s@spi-flash@jedec,spi-nor@
> V3: Use capital F in the comment, s@fS@FS@

NACK, see v2 for explanations.

Cheers,
Quentin

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-08-11 13:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-06 14:58 [PATCH v3 1/2] arm64: dts: renesas: r8a779g3: Describe generic SPI NOR support on Retronix R-Car V4H Sparrow Hawk board Marek Vasut
2025-08-06 14:58 ` [PATCH v3 2/2] arm64: renesas: r8a779g3: Enable Winbond " Marek Vasut
2025-08-11 13:25 ` [PATCH v3 1/2] arm64: dts: renesas: r8a779g3: Describe generic " Quentin Schulz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.