android_kernel_xiaomi_sm8350/drivers/spi
Markus Pietrek e8708ef7e8 spi: spi_sh_msiof: Fixed data sampling on the correct edge
The spi_sh_msiof.c driver presently misconfigures REDG and TEDG. TEDG==0
outputs data at the **rising edge** of the clock and REDG==0 samples data
at the **falling edge** of the clock. Therefore for SPI, TEDG must be
equal to REDG, otherwise the last byte received is not sampled in SPI
mode 3.

This brings the driver in line with the SH7723 HW Reference Manual
settings documented in Figures 20.20 and 20.21 ("SPI Clock and data
timing").

Signed-off-by: Markus Pietrek <Markus.Pietrek@emtrion.de>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2010-02-02 11:29:15 +09:00
..
amba-pl022.c
atmel_spi.c spi: atmel_spi.c: use resource_size() 2009-12-17 08:59:06 -07:00
atmel_spi.h
au1550_spi.c
dw_spi_pci.c spi: controller driver for Designware SPI core 2009-12-17 08:39:13 -07:00
dw_spi.c spi: controller driver for Designware SPI core 2009-12-17 08:39:13 -07:00
Kconfig Merge branch 'next-spi' of git://git.secretlab.ca/git/linux-2.6 2009-12-17 15:59:05 -08:00
Makefile spi: Add s3c64xx SPI Controller driver 2009-12-17 08:58:17 -07:00
mpc52xx_psc_spi.c
mpc52xx_spi.c
omap2_mcspi.c
omap_spi_100k.c
omap_uwire.c
orion_spi.c
pxa2xx_spi.c
spi_bfin5xx.c spi: spi_bfin5xx.c: use resource_size() 2009-12-17 08:59:50 -07:00
spi_bitbang.c
spi_butterfly.c
spi_gpio.c
spi_imx.c
spi_lm70llp.c
spi_mpc8xxx.c Merge branch 'next-spi' of git://git.secretlab.ca/git/linux-2.6 2009-12-17 15:59:05 -08:00
spi_nuc900.c
spi_ppc4xx.c
spi_s3c24xx_fiq.h spi_s3c24xx: add FIQ pseudo-DMA support 2009-12-17 08:57:01 -07:00
spi_s3c24xx_fiq.S spi_s3c24xx: add FIQ pseudo-DMA support 2009-12-17 08:57:01 -07:00
spi_s3c24xx_gpio.c
spi_s3c24xx.c Merge branch 'next-spi' of git://git.secretlab.ca/git/linux-2.6 2009-12-17 15:59:05 -08:00
spi_s3c64xx.c spi: Add s3c64xx SPI Controller driver 2009-12-17 08:58:17 -07:00
spi_sh_msiof.c spi: spi_sh_msiof: Fixed data sampling on the correct edge 2010-02-02 11:29:15 +09:00
spi_sh_sci.c spi: spi_sh_sci.c: use resource_size() 2009-12-17 09:00:10 -07:00
spi_stmp.c
spi_txx9.c Merge branch 'next-spi' of git://git.secretlab.ca/git/linux-2.6 2009-12-17 15:59:05 -08:00
spi.c
spidev.c Merge branch 'next-spi' of git://git.secretlab.ca/git/linux-2.6 2009-12-17 15:59:05 -08:00
tle62x0.c
xilinx_spi_of.c
xilinx_spi_pltfm.c
xilinx_spi.c
xilinx_spi.h