mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-17 22:41:25 +00:00
e8708ef7e8
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> |
||
---|---|---|
.. | ||
amba-pl022.c | ||
atmel_spi.c | ||
atmel_spi.h | ||
au1550_spi.c | ||
dw_spi_pci.c | ||
dw_spi.c | ||
Kconfig | ||
Makefile | ||
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_bitbang.c | ||
spi_butterfly.c | ||
spi_gpio.c | ||
spi_imx.c | ||
spi_lm70llp.c | ||
spi_mpc8xxx.c | ||
spi_nuc900.c | ||
spi_ppc4xx.c | ||
spi_s3c24xx_fiq.h | ||
spi_s3c24xx_fiq.S | ||
spi_s3c24xx_gpio.c | ||
spi_s3c24xx.c | ||
spi_s3c64xx.c | ||
spi_sh_msiof.c | ||
spi_sh_sci.c | ||
spi_stmp.c | ||
spi_txx9.c | ||
spi.c | ||
spidev.c | ||
tle62x0.c | ||
xilinx_spi_of.c | ||
xilinx_spi_pltfm.c | ||
xilinx_spi.c | ||
xilinx_spi.h |