[PATCH] ARM: shmobile: koelsch: Fix QSPI mode of SPI-Flash into mode3
Simon Horman
horms+renesas at verge.net.au
Mon Dec 8 16:37:12 PST 2014
From: Hisashi Nakamura <hisashi.nakamura.ak at renesas.com>
In order to change into mode3, CPOL and CPHA bit of SPCMD register
of QSPI is changed. Mode3 can avoid intermediate voltage.
Signed-off-by: Hisashi Nakamura <hisashi.nakamura.ak at renesas.com>
[horms: Updated changelog and re-ordered properties]
Signed-off-by: Simon Horman <horms+renesas at verge.net.au>
---
Based on the renesas-devel-20141208-v3.18 tag of my renesas tree
* Changes by Simon Horman as suggested by Geert Uytterhoeven
- Changed name from
"ARM: shmobile: koelsch: Fix SPI mode of SPI-Flash into mode3" to
"ARM: shmobile: koelsch: Fix QSPI mode of SPI-Flash into mode3"
- Updated changelog to refer to QSPI instead of MSIOF
- Grouped spi-* properties
---
arch/arm/boot/dts/r8a7791-koelsch.dts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts b/arch/arm/boot/dts/r8a7791-koelsch.dts
index 6938377..a9a6e37 100644
--- a/arch/arm/boot/dts/r8a7791-koelsch.dts
+++ b/arch/arm/boot/dts/r8a7791-koelsch.dts
@@ -444,6 +444,8 @@
spi-max-frequency = <30000000>;
spi-tx-bus-width = <4>;
spi-rx-bus-width = <4>;
+ spi-cpha;
+ spi-cpol;
m25p,fast-read;
partition at 0 {
--
2.1.3
More information about the linux-arm-kernel
mailing list