All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/2] Enable 4-bit tx support for RZ/{G2L,G2LC,V2L} SMARC EVKs
@ 2023-11-08 17:22 Biju Das
  2023-11-08 17:22 ` [PATCH v4 1/2] arm64: dts: renesas: rzg2l-smarc-som: Enable 4-bit tx support Biju Das
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Biju Das @ 2023-11-08 17:22 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: Biju Das, Geert Uytterhoeven, Magnus Damm, linux-renesas-soc,
	devicetree, Prabhakar Mahadev Lad, Biju Das

This patch series aims to enable 4-bit tx support for
RZ/{G2L,G2LC,V2L} SMARC EVKs.

Note:
 This patch series doesn't have any driver dependency as 4-bit tx mode
 works fine with the latest renesas-devel and linux-next.

=> ./test_rzg2l.sh
[   49.891815] spi-nor spi1.0: mt25qu512a (65536 Kbytes)
[   49.914237] 2 fixed-partitions partitions found on MTD device spi1.0
[   49.920756] Creating 2 MTD partitions on \"spi1.0\":
[   49.925561] 0x000000000000-0x000002000000 : \"boot\"
[   49.933242] 0x000002000000-0x000004000000 : \"user\"
EXIT|PASS|rpcif_t_001.sh|[00:02:57] ||

=>./test_rzg2lc.sh
[   48.126373] spi-nor spi0.0: mt25qu512a (65536 Kbytes)
[   48.146357] 2 fixed-partitions partitions found on MTD device spi0.0
[   48.152752] Creating 2 MTD partitions on \"spi0.0\":
[   48.158505] 0x000000000000-0x000002000000 : \"boot\"
[   48.168398] 0x000002000000-0x000004000000 : \"user\"
EXIT|PASS|rpcif_t_001.sh|[00:02:54] ||

=>./test_rzv2l.sh
[   48.104324] spi-nor spi1.0: mt25qu512a (65536 Kbytes)
[   48.127265] 2 fixed-partitions partitions found on MTD device spi1.0
[   48.133723] Creating 2 MTD partitions on \"spi1.0\":
[   48.138536] 0x000000000000-0x000002000000 : \"boot\"
[   48.147075] 0x000002000000-0x000004000000 : \"user\"
EXIT|PASS|rpcif_t_001.sh|[00:02:55] ||

v3->v4:
 * Rebased and tested with latest renesas-devel.
 * Remove RZ/G2UL patch from this series and will send later.
v2->v3:
 * Added Rb tag from Geert.
v1->v2:
 * Enabled 4-bit tx support.

Biju Das (2):
  arm64: dts: renesas: rzg2l-smarc-som: Enable 4-bit tx support
  arm64: dts: renesas: rzg2lc-smarc-som: Enable 4-bit tx support

 arch/arm64/boot/dts/renesas/rzg2l-smarc-som.dtsi  | 1 +
 arch/arm64/boot/dts/renesas/rzg2lc-smarc-som.dtsi | 1 +
 2 files changed, 2 insertions(+)

-- 
2.25.1


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

* [PATCH v4 1/2] arm64: dts: renesas: rzg2l-smarc-som: Enable 4-bit tx support
  2023-11-08 17:22 [PATCH v4 0/2] Enable 4-bit tx support for RZ/{G2L,G2LC,V2L} SMARC EVKs Biju Das
@ 2023-11-08 17:22 ` Biju Das
  2023-11-08 17:22 ` [PATCH v4 2/2] arm64: dts: renesas: rzg2lc-smarc-som: " Biju Das
  2023-11-09  8:00 ` [PATCH v4 0/2] Enable 4-bit tx support for RZ/{G2L,G2LC,V2L} SMARC EVKs Geert Uytterhoeven
  2 siblings, 0 replies; 5+ messages in thread
From: Biju Das @ 2023-11-08 17:22 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: Biju Das, Geert Uytterhoeven, Magnus Damm, linux-renesas-soc,
	devicetree, Prabhakar Mahadev Lad, Biju Das

Enable 4-bit tx support for sbc node.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
v3->v4:
 * Rebased and tested with latest renesas-devel.
v2->v3:
 * Added Rb tag from Geert.
v2:
 * New patch
---
 arch/arm64/boot/dts/renesas/rzg2l-smarc-som.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/renesas/rzg2l-smarc-som.dtsi b/arch/arm64/boot/dts/renesas/rzg2l-smarc-som.dtsi
index 547859c388ce..4409c47239b9 100644
--- a/arch/arm64/boot/dts/renesas/rzg2l-smarc-som.dtsi
+++ b/arch/arm64/boot/dts/renesas/rzg2l-smarc-som.dtsi
@@ -312,6 +312,7 @@ flash@0 {
 		m25p,fast-read;
 		spi-max-frequency = <50000000>;
 		spi-rx-bus-width = <4>;
+		spi-tx-bus-width = <4>;
 
 		partitions {
 			compatible = "fixed-partitions";
-- 
2.25.1


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

* [PATCH v4 2/2] arm64: dts: renesas: rzg2lc-smarc-som: Enable 4-bit tx support
  2023-11-08 17:22 [PATCH v4 0/2] Enable 4-bit tx support for RZ/{G2L,G2LC,V2L} SMARC EVKs Biju Das
  2023-11-08 17:22 ` [PATCH v4 1/2] arm64: dts: renesas: rzg2l-smarc-som: Enable 4-bit tx support Biju Das
@ 2023-11-08 17:22 ` Biju Das
  2023-11-09  8:00 ` [PATCH v4 0/2] Enable 4-bit tx support for RZ/{G2L,G2LC,V2L} SMARC EVKs Geert Uytterhoeven
  2 siblings, 0 replies; 5+ messages in thread
From: Biju Das @ 2023-11-08 17:22 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: Biju Das, Geert Uytterhoeven, Magnus Damm, linux-renesas-soc,
	devicetree, Prabhakar Mahadev Lad, Biju Das

Enable 4-bit tx support for sbc node.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
v3->v4:
 * Rebased and tested with latest renesas-devel.
v2->v3:
 * Added Rb tag from Geert.
v2:
 * New patch
---
 arch/arm64/boot/dts/renesas/rzg2lc-smarc-som.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/renesas/rzg2lc-smarc-som.dtsi b/arch/arm64/boot/dts/renesas/rzg2lc-smarc-som.dtsi
index 56ff92453976..5e4209d6fb42 100644
--- a/arch/arm64/boot/dts/renesas/rzg2lc-smarc-som.dtsi
+++ b/arch/arm64/boot/dts/renesas/rzg2lc-smarc-som.dtsi
@@ -241,6 +241,7 @@ flash@0 {
 		m25p,fast-read;
 		spi-max-frequency = <50000000>;
 		spi-rx-bus-width = <4>;
+		spi-tx-bus-width = <4>;
 
 		partitions {
 			compatible = "fixed-partitions";
-- 
2.25.1


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

* Re: [PATCH v4 0/2] Enable 4-bit tx support for RZ/{G2L,G2LC,V2L} SMARC EVKs
  2023-11-08 17:22 [PATCH v4 0/2] Enable 4-bit tx support for RZ/{G2L,G2LC,V2L} SMARC EVKs Biju Das
  2023-11-08 17:22 ` [PATCH v4 1/2] arm64: dts: renesas: rzg2l-smarc-som: Enable 4-bit tx support Biju Das
  2023-11-08 17:22 ` [PATCH v4 2/2] arm64: dts: renesas: rzg2lc-smarc-som: " Biju Das
@ 2023-11-09  8:00 ` Geert Uytterhoeven
  2023-11-09  8:18   ` Biju Das
  2 siblings, 1 reply; 5+ messages in thread
From: Geert Uytterhoeven @ 2023-11-09  8:00 UTC (permalink / raw)
  To: Biju Das
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Magnus Damm,
	linux-renesas-soc, devicetree, Prabhakar Mahadev Lad, Biju Das

Hi Biju,

On Wed, Nov 8, 2023 at 6:22 PM Biju Das <biju.das.jz@bp.renesas.com> wrote:
> This patch series aims to enable 4-bit tx support for
> RZ/{G2L,G2LC,V2L} SMARC EVKs.

Thanks for your series!

> Note:
>  This patch series doesn't have any driver dependency as 4-bit tx mode
>  works fine with the latest renesas-devel and linux-next.

Can you please tell me why there is no longer a driver dependency?
What has changed?

Thanks!

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

* RE: [PATCH v4 0/2] Enable 4-bit tx support for RZ/{G2L,G2LC,V2L} SMARC EVKs
  2023-11-09  8:00 ` [PATCH v4 0/2] Enable 4-bit tx support for RZ/{G2L,G2LC,V2L} SMARC EVKs Geert Uytterhoeven
@ 2023-11-09  8:18   ` Biju Das
  0 siblings, 0 replies; 5+ messages in thread
From: Biju Das @ 2023-11-09  8:18 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Magnus Damm,
	linux-renesas-soc, devicetree, Prabhakar Mahadev Lad,
	biju.das.au

Hi Geert,

Thanks for the feedback.

> Subject: Re: [PATCH v4 0/2] Enable 4-bit tx support for RZ/{G2L,G2LC,V2L}
> SMARC EVKs
> 
> Hi Biju,
> 
> On Wed, Nov 8, 2023 at 6:22 PM Biju Das <biju.das.jz@bp.renesas.com>
> wrote:
> > This patch series aims to enable 4-bit tx support for
> > RZ/{G2L,G2LC,V2L} SMARC EVKs.
> 
> Thanks for your series!
> 
> > Note:
> >  This patch series doesn't have any driver dependency as 4-bit tx mode
> > works fine with the latest renesas-devel and linux-next.
> 
> Can you please tell me why there is no longer a driver dependency?
> What has changed?

If I remember correctly, previously flash detection and read/write test used
to fail with 4-bit tx-mode. I cannot reproduce this issue with latest linux-next
and renesas-devel.

There are no SoC driver changes, but there are changes in subsystem which may fixed this issue.
It could be timing related. I haven't bisected which patch is fixing the issue.

Another change is related to RootFS, I migrated to using VLP 3.0.5[1] as rootFS compared to VLP 3.0.2.
I don't think this will fix the issue.

[1] https://www.renesas.cn/cn/zh/document/rln/rzg-verified-linux-package-v305-release-note

Cheers,
Biju

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

end of thread, other threads:[~2023-11-09  8:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-08 17:22 [PATCH v4 0/2] Enable 4-bit tx support for RZ/{G2L,G2LC,V2L} SMARC EVKs Biju Das
2023-11-08 17:22 ` [PATCH v4 1/2] arm64: dts: renesas: rzg2l-smarc-som: Enable 4-bit tx support Biju Das
2023-11-08 17:22 ` [PATCH v4 2/2] arm64: dts: renesas: rzg2lc-smarc-som: " Biju Das
2023-11-09  8:00 ` [PATCH v4 0/2] Enable 4-bit tx support for RZ/{G2L,G2LC,V2L} SMARC EVKs Geert Uytterhoeven
2023-11-09  8:18   ` Biju Das

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.