* [PATCH] ARM: dts: dra7: Support QSPI MODE-0 operation at 64MHz
@ 2016-02-25 4:47 Vignesh R
[not found] ` <1456375652-14071-1-git-send-email-vigneshr-l0cyMroinI0@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Vignesh R @ 2016-02-25 4:47 UTC (permalink / raw)
To: Tony Lindgren, Rob Herring
Cc: Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala, Russell King,
linux-omap-u79uwXL29TY76Z2rM5mHXA,
devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-kernel-u79uwXL29TY76Z2rM5mHXA, Vignesh R
According to Data Manual(SPRS915P) of AM57x, TI QSPI controller on
DRA74(rev 1.1+) can support up to 64MHz in MODE-0, whereas MODE-3 is
limited to 48MHz. Hence, switch to MODE-0 for better throughput.
Signed-off-by: Vignesh R <vigneshr-l0cyMroinI0@public.gmane.org>
---
arch/arm/boot/dts/dra7-evm.dts | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts
index cfc24e52244e..15f10bdc8c31 100644
--- a/arch/arm/boot/dts/dra7-evm.dts
+++ b/arch/arm/boot/dts/dra7-evm.dts
@@ -653,15 +653,13 @@
pinctrl-names = "default";
pinctrl-0 = <&qspi1_pins>;
- spi-max-frequency = <48000000>;
+ spi-max-frequency = <64000000>;
m25p80@0 {
compatible = "s25fl256s1";
- spi-max-frequency = <48000000>;
+ spi-max-frequency = <64000000>;
reg = <0>;
spi-tx-bus-width = <1>;
spi-rx-bus-width = <4>;
- spi-cpol;
- spi-cpha;
#address-cells = <1>;
#size-cells = <1>;
--
2.7.1
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] ARM: dts: dra7: Support QSPI MODE-0 operation at 64MHz
[not found] ` <1456375652-14071-1-git-send-email-vigneshr-l0cyMroinI0@public.gmane.org>
@ 2016-02-26 19:13 ` Tony Lindgren
2016-02-29 11:52 ` Vignesh R
0 siblings, 1 reply; 3+ messages in thread
From: Tony Lindgren @ 2016-02-26 19:13 UTC (permalink / raw)
To: Vignesh R
Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
Russell King, linux-omap-u79uwXL29TY76Z2rM5mHXA,
devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-kernel-u79uwXL29TY76Z2rM5mHXA
Hi,
* Vignesh R <vigneshr-l0cyMroinI0@public.gmane.org> [160224 20:49]:
> According to Data Manual(SPRS915P) of AM57x, TI QSPI controller on
> DRA74(rev 1.1+) can support up to 64MHz in MODE-0, whereas MODE-3 is
> limited to 48MHz. Hence, switch to MODE-0 for better throughput.
>
> Signed-off-by: Vignesh R <vigneshr-l0cyMroinI0@public.gmane.org>
> ---
> arch/arm/boot/dts/dra7-evm.dts | 6 ++----
> 1 file changed, 2 insertions(+), 4 deletions(-)
>
> diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts
> index cfc24e52244e..15f10bdc8c31 100644
> --- a/arch/arm/boot/dts/dra7-evm.dts
> +++ b/arch/arm/boot/dts/dra7-evm.dts
> @@ -653,15 +653,13 @@
> pinctrl-names = "default";
> pinctrl-0 = <&qspi1_pins>;
>
> - spi-max-frequency = <48000000>;
> + spi-max-frequency = <64000000>;
> m25p80@0 {
> compatible = "s25fl256s1";
> - spi-max-frequency = <48000000>;
> + spi-max-frequency = <64000000>;
> reg = <0>;
> spi-tx-bus-width = <1>;
> spi-rx-bus-width = <4>;
> - spi-cpol;
> - spi-cpha;
> #address-cells = <1>;
> #size-cells = <1>;
>
Do we have any earlier pre DRA74(rev 1.1)versions in use too?
What about the spi-cpol and spi-cpha changes? Those should be
at least documented?
Regards,
Tony
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ARM: dts: dra7: Support QSPI MODE-0 operation at 64MHz
2016-02-26 19:13 ` Tony Lindgren
@ 2016-02-29 11:52 ` Vignesh R
0 siblings, 0 replies; 3+ messages in thread
From: Vignesh R @ 2016-02-29 11:52 UTC (permalink / raw)
To: Tony Lindgren
Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
Russell King, linux-omap@vger.kernel.org,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Hi,
On 02/27/2016 12:43 AM, Tony Lindgren wrote:
> Hi,
>
> * Vignesh R <vigneshr@ti.com> [160224 20:49]:
>> According to Data Manual(SPRS915P) of AM57x, TI QSPI controller on
>> DRA74(rev 1.1+) can support up to 64MHz in MODE-0, whereas MODE-3 is
>> limited to 48MHz. Hence, switch to MODE-0 for better throughput.
>>
>> Signed-off-by: Vignesh R <vigneshr@ti.com>
>> ---
>> arch/arm/boot/dts/dra7-evm.dts | 6 ++----
>> 1 file changed, 2 insertions(+), 4 deletions(-)
>>
>> diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts
>> index cfc24e52244e..15f10bdc8c31 100644
>> --- a/arch/arm/boot/dts/dra7-evm.dts
>> +++ b/arch/arm/boot/dts/dra7-evm.dts
>> @@ -653,15 +653,13 @@
>> pinctrl-names = "default";
>> pinctrl-0 = <&qspi1_pins>;
>>
>> - spi-max-frequency = <48000000>;
>> + spi-max-frequency = <64000000>;
>> m25p80@0 {
>> compatible = "s25fl256s1";
>> - spi-max-frequency = <48000000>;
>> + spi-max-frequency = <64000000>;
>> reg = <0>;
>> spi-tx-bus-width = <1>;
>> spi-rx-bus-width = <4>;
>> - spi-cpol;
>> - spi-cpha;
>> #address-cells = <1>;
>> #size-cells = <1>;
>>
>
> Do we have any earlier pre DRA74(rev 1.1)versions in use too?
Yes, there are pre 1.1 boards (production boards are all rev 1.1+), but
QSPI is broken on them due to erratas (even w/o this patch).
>
> What about the spi-cpol and spi-cpha changes? Those should be
> at least documented?
>
Ok, I will add a NOTE in the documentation saying "spi-cpol" and
"spi-cpha" are not supported by ti-qspi in
Documentation/devicetree/bindings/spi/ti_qspi.txt.
--
Regards
Vignesh
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-02-29 11:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-25 4:47 [PATCH] ARM: dts: dra7: Support QSPI MODE-0 operation at 64MHz Vignesh R
[not found] ` <1456375652-14071-1-git-send-email-vigneshr-l0cyMroinI0@public.gmane.org>
2016-02-26 19:13 ` Tony Lindgren
2016-02-29 11:52 ` Vignesh R
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).