From: Hisashi Nakamura Date: Wed, 10 Dec 2014 02:30:27 +0000 (+0900) Subject: ARM: shmobile: lager: Fix QSPI mode of SPI-Flash into mode3 X-Git-Tag: v4.14-rc1~5925^2~26^2~26 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cbf41168339adcb48de6a3537f88d4e85285db99;p=platform%2Fkernel%2Flinux-rpi.git ARM: shmobile: lager: Fix QSPI mode of SPI-Flash into mode3 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 [horms: Updated changelog and re-ordered properties] Signed-off-by: Simon Horman Acked-by: Geert Uytterhoeven --- diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts index 636d53b..bc257e8b 100644 --- a/arch/arm/boot/dts/r8a7790-lager.dts +++ b/arch/arm/boot/dts/r8a7790-lager.dts @@ -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@0 {