Re: [PATCH v2 2/3] arm64: dts: ti: am654-base-board: Enable 8D-8D-8D mode on OSPI

2021-03-05 Thread Vignesh Raghavendra



On 3/5/21 9:09 PM, Pratyush Yadav wrote:
> Set the Tx bus width to 8 so 8D-8D-8D mode can be selected. Change the
> frequency to 25 MHz. This is the frequency that the flash has been
> successfully tested with in Octal DTR mode. The total performance should
> still increase since 8D-8D-8D mode should be at least twice as fast as
> 1S-1S-8S mode.
> 
> Signed-off-by: Pratyush Yadav 
> ---
> 

Reviewed-by: Vignesh Raghavendra 

> Notes:
> No changes in v2.
> 
>  arch/arm64/boot/dts/ti/k3-am654-base-board.dts | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts 
> b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts
> index fe3043943906..9e87fb313a54 100644
> --- a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts
> +++ b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts
> @@ -483,9 +483,9 @@  {
>   flash@0{
>   compatible = "jedec,spi-nor";
>   reg = <0x0>;
> - spi-tx-bus-width = <1>;
> + spi-tx-bus-width = <8>;
>   spi-rx-bus-width = <8>;
> - spi-max-frequency = <4000>;
> + spi-max-frequency = <2500>;
>   cdns,tshsl-ns = <60>;
>   cdns,tsd2d-ns = <60>;
>   cdns,tchsh-ns = <60>;
> 


[PATCH v2 2/3] arm64: dts: ti: am654-base-board: Enable 8D-8D-8D mode on OSPI

2021-03-05 Thread Pratyush Yadav
Set the Tx bus width to 8 so 8D-8D-8D mode can be selected. Change the
frequency to 25 MHz. This is the frequency that the flash has been
successfully tested with in Octal DTR mode. The total performance should
still increase since 8D-8D-8D mode should be at least twice as fast as
1S-1S-8S mode.

Signed-off-by: Pratyush Yadav 
---

Notes:
No changes in v2.

 arch/arm64/boot/dts/ti/k3-am654-base-board.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts 
b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts
index fe3043943906..9e87fb313a54 100644
--- a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts
+++ b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts
@@ -483,9 +483,9 @@  {
flash@0{
compatible = "jedec,spi-nor";
reg = <0x0>;
-   spi-tx-bus-width = <1>;
+   spi-tx-bus-width = <8>;
spi-rx-bus-width = <8>;
-   spi-max-frequency = <4000>;
+   spi-max-frequency = <2500>;
cdns,tshsl-ns = <60>;
cdns,tsd2d-ns = <60>;
cdns,tchsh-ns = <60>;
-- 
2.30.0