Skip to contentSkip to conversation

arm: dts: k3-am654: Increase OSPI default frequency to 50MHz

PATCH New Vignesh Raghavendra 3 participants 5 messages Apr 2, 2020 – Apr 7, 2020 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 arm: dts: k3-am654: Increase OSPI default frequency to 50MHz

In 1 bit mode OSPI can work at upto 50MHz, this provides before write performance. Therefore increase frequency from 40MHz to 50MHz

---
 arch/arm/dts/k3-am654-base-board.dts    | 2 +-
 arch/arm/dts/k3-am654-r5-base-board.dts | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/dts/k3-am654-base-board.dts +1 -1
index 5058b6c88e96..3ebf4af5e47a 100644
@@ -191,7 +191,7 @@
 		reg = <0x0>;
 		spi-tx-bus-width = <1>;
 		spi-rx-bus-width = <8>;
-		spi-max-frequency = <40000000>;
+		spi-max-frequency = <50000000>;
 		cdns,tshsl-ns = <60>;
 		cdns,tsd2d-ns = <60>;
 		cdns,tchsh-ns = <60>;
arch/arm/dts/k3-am654-r5-base-board.dts +1 -1
index 257b56a1b032..e6b78643c197 100644
@@ -268,7 +268,7 @@
 		reg = <0x0>;
 		spi-tx-bus-width = <1>;
 		spi-rx-bus-width = <8>;
-		spi-max-frequency = <40000000>;
+		spi-max-frequency = <50000000>;
 		cdns,tshsl-ns = <60>;
 		cdns,tsd2d-ns = <60>;
 		cdns,tchsh-ns = <60>;
Signature · 1 line
2.26.0
#1 lore raw

PATCH 2/2 arm: dts: k3-j721e: Increase OSPI default frequency to 50MHz

In 1 bit mode OSPI can work at upto 50MHz, this provides before write performance. Therefore increase frequency from 40MHz to 50MHz

---
 arch/arm/dts/k3-j721e-r5-common-proc-board.dts | 2 +-
 arch/arm/dts/k3-j721e-som-p0.dtsi              | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/dts/k3-j721e-r5-common-proc-board.dts +1 -1
index 403b158f4900..2dde65d9681d 100644
@@ -309,7 +309,7 @@
 		reg = <0x0>;
 		spi-tx-bus-width = <1>;
 		spi-rx-bus-width = <8>;
-		spi-max-frequency = <40000000>;
+		spi-max-frequency = <50000000>;
 		cdns,tshsl-ns = <60>;
 		cdns,tsd2d-ns = <60>;
 		cdns,tchsh-ns = <60>;
arch/arm/dts/k3-j721e-som-p0.dtsi +1 -1
index 8497ff3e3e12..946de9c3fc69 100644
@@ -87,7 +87,7 @@
 		reg = <0x0>;
 		spi-tx-bus-width = <1>;
 		spi-rx-bus-width = <8>;
-		spi-max-frequency = <40000000>;
+		spi-max-frequency = <50000000>;
 		cdns,tshsl-ns = <60>;
 		cdns,tsd2d-ns = <60>;
 		cdns,tchsh-ns = <60>;
Signature · 1 line
2.26.0
#2 lore raw

PATCH 1/2 arm: dts: k3-am654: Increase OSPI default frequency to 50MHz

In reply to Vignesh Raghavendra
Quoted 1 line · Vignesh Raghavendra

In 1 bit mode OSPI can work at upto 50MHz, this provides before write

						  ^^^^^^^^^^^^^^^^^^^^^

Provides _what_ before write performance? Did you mean "provides better write performance"? Same in the second patch too.

Quoted 37 lines

performance. Therefore increase frequency from 40MHz to 50MHz

---
 arch/arm/dts/k3-am654-base-board.dts    | 2 +-
 arch/arm/dts/k3-am654-r5-base-board.dts | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/dts/k3-am654-base-board.dts +1 -1
index 5058b6c88e96..3ebf4af5e47a 100644
@@ -191,7 +191,7 @@
 		reg = <0x0>;
 		spi-tx-bus-width = <1>;
 		spi-rx-bus-width = <8>;
-		spi-max-frequency = <40000000>;
+		spi-max-frequency = <50000000>;
 		cdns,tshsl-ns = <60>;
 		cdns,tsd2d-ns = <60>;
 		cdns,tchsh-ns = <60>;
arch/arm/dts/k3-am654-r5-base-board.dts +1 -1
index 257b56a1b032..e6b78643c197 100644
@@ -268,7 +268,7 @@
 		reg = <0x0>;
 		spi-tx-bus-width = <1>;
 		spi-rx-bus-width = <8>;
-		spi-max-frequency = <40000000>;
+		spi-max-frequency = <50000000>;
 		cdns,tshsl-ns = <60>;
 		cdns,tsd2d-ns = <60>;
 		cdns,tchsh-ns = <60>;
Signature · 1 line
2.26.0
Signature · 3 lines
Regards,
Pratyush Yadav
Texas Instruments India
#3 lore raw

PATCH 1/2 arm: dts: k3-am654: Increase OSPI default frequency to 50MHz

In reply to Vignesh Raghavendra
Quoted 4 lines · Vignesh Raghavendra

In 1 bit mode OSPI can work at upto 50MHz, this provides before write performance. Therefore increase frequency from 40MHz to 50MHz

Fixed the $commit in both the patches and applied to u-boot-ti.

Thanks and regards,
Lokesh

#4 lore raw

PATCH 1/2 arm: dts: k3-am654: Increase OSPI default frequency to 50MHz

Quoted 9 lines · Lokesh Vutla
Quoted 4 lines · Vignesh Raghavendra

In 1 bit mode OSPI can work at upto 50MHz, this provides before write performance. Therefore increase frequency from 40MHz to 50MHz

Fixed the $commit in both the patches and applied to u-boot-ti.

Thanks! I was about to respin with fix same.

Regards
Vignesh