Skip to contentSkip to conversation

ARM: shmobile: lager: Fix QSPI mode of SPI-Flash into mode3

PATCH New Simon Horman 3 participants 3 messages Dec 10, 2014 – Dec 11, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: shmobile: lager: Fix QSPI mode of SPI-Flash into mode3

From: Hisashi Nakamura <[email protected]>

In order to change into mode3, CPOL and CPHA bit of SPCMD register of QSPI is changed. Mode3 can avoid intermediate voltage.

[horms: Updated changelog and re-ordered properties]

---

Based on the renesas-devel-20141210-v3.18 tag of my renesas tree

* Changes by Simon Horman as suggested by Geert Uytterhoeven
- Changed name from
"ARM: shmobile: lager: Fix SPI mode of SPI-Flash into mode3" to "ARM: shmobile: lager: Fix QSPI mode of SPI-Flash into mode3"
- Updated changelog to refer to QSPI instead of MSIOF
- Grouped spi-* properties

---
 arch/arm/boot/dts/r8a7790-lager.dts | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/boot/dts/r8a7790-lager.dts +2 -0
index 59365bc..b33ebcb 100644
@@ -397,6 +397,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 {
Signature · 1 line
2.1.3
#1 lore raw

PATCH 1/1 ARM: shmobile: lager: Fix QSPI mode of SPI-Flash into mode3

Quoted 8 lines · Simon Horman

From: Hisashi Nakamura <[email protected]>

In order to change into mode3, CPOL and CPHA bit of SPCMD register of QSPI is changed. Mode3 can avoid intermediate voltage.

[horms: Updated changelog and re-ordered properties]

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at 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

#2 lore raw

PATCH 1/1 ARM: shmobile: lager: Fix QSPI mode of SPI-Flash into mode3

Quoted 4 lines · Geert Uytterhoeven
Quoted 2 lines · Simon Horman

From: Hisashi Nakamura <[email protected]>

Quoted 8 lines
Quoted 6 lines

In order to change into mode3, CPOL and CPHA bit of SPCMD register of QSPI is changed. Mode3 can avoid intermediate voltage.

[horms: Updated changelog and re-ordered properties]

Thanks, I have queued this up.