linux/arch/mips/include/asm/mach-bcm63xx
Florian Fainelli 5a6704454a MIPS: BCM63xx: Fix SPI message control register handling for BCM6338/6348.
BCM6338 and BCM6348 have a message control register width of 8 bits, instead
of 16-bits like what the SPI driver assumes right now. Also the SPI message
type shift value of 14 is actually 6 for these SoCs.
This resulted in transmit FIFO corruption because we were writing 16-bits
to an 8-bits wide register, thus spanning on the first byte of the transmit
FIFO, which had already been filed in bcm63xx_spi_fill_txrx_fifo().

Fix this by passing the message control register width and message type
shift through platform data back to the SPI driver so that it can use
it properly.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Cc: linux-mips@linux-mips.org
Cc: grant.likely@secretlab.ca
Cc: spi-devel-general@lists.sourceforge.net
Cc: jonas.gorski@gmail.com
Patchwork: https://patchwork.linux-mips.org/patch/3983/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2012-08-17 10:57:28 +02:00
..
bcm63xx_board.h MIPS: BCM63xx: Add support for the Broadcom BCM63xx family of SOCs. 2009-09-17 20:07:52 +02:00
bcm63xx_clk.h MIPS: BCM63xx: Add support for the Broadcom BCM63xx family of SOCs. 2009-09-17 20:07:52 +02:00
bcm63xx_cpu.h MIPS: BCM63XX: Add PCIe Support for BCM6328 2012-07-24 16:33:13 +02:00
bcm63xx_cs.h MIPS: BCM63xx: Add support for the Broadcom BCM63xx family of SOCs. 2009-09-17 20:07:52 +02:00
bcm63xx_dev_dsp.h MIPS: BCM63xx: Add support for the Broadcom BCM63xx family of SOCs. 2009-09-17 20:07:52 +02:00
bcm63xx_dev_enet.h MIPS: BCM63xx: Add support for the Broadcom BCM63xx family of SOCs. 2009-09-17 20:07:52 +02:00
bcm63xx_dev_flash.h MIPS: BCM63XX: Add flash type detection 2012-07-24 16:33:11 +02:00
bcm63xx_dev_pci.h MIPS: BCM63xx: Add support for the Broadcom BCM63xx family of SOCs. 2009-09-17 20:07:52 +02:00
bcm63xx_dev_pcmcia.h MIPS: BCM63xx: Add PCMCIA & Cardbus support. 2009-09-30 21:47:01 +02:00
bcm63xx_dev_spi.h MIPS: BCM63xx: Fix SPI message control register handling for BCM6338/6348. 2012-08-17 10:57:28 +02:00
bcm63xx_dev_uart.h MIPS: BCM63xx: Add support for second uart. 2010-04-12 17:26:18 +01:00
bcm63xx_gpio.h MIPS: BCM63XX: Add basic BCM6328 support 2012-07-24 16:33:12 +02:00
bcm63xx_io.h MIPS: BCM63XX: Add PCIe Support for BCM6328 2012-07-24 16:33:13 +02:00
bcm63xx_irq.h MIPS: BCM63XX: Prepare irq code to handle different external irq hardware implementation. 2011-12-07 22:03:03 +00:00
bcm63xx_regs.h MIPS: BCM63xx: Fix SPI message control register handling for BCM6338/6348. 2012-08-17 10:57:28 +02:00
bcm63xx_timer.h MIPS: BCM63xx: Add support for the Broadcom BCM63xx family of SOCs. 2009-09-17 20:07:52 +02:00
bcm963xx_tag.h MIPS: BCM63XX: bcm963xx_tag.h: make crc fields integers 2012-01-09 18:23:30 +00:00
board_bcm963xx.h MIPS: BCM63xx: Add support for second uart. 2010-04-12 17:26:18 +01:00
cpu-feature-overrides.h MIPS: BCM63xx: Fix typo in cpu-feature-overrides file. 2010-04-12 17:26:18 +01:00
gpio.h MIPS: AR7, BCM63xx: fix gpio_to_irq() return value 2010-07-05 17:17:26 +01:00
ioremap.h MIPS: BCM63XX: Add basic BCM6328 support 2012-07-24 16:33:12 +02:00
irq.h MIPS: BCM63XX: Prepare irq code to handle different external irq hardware implementation. 2011-12-07 22:03:03 +00:00
spaces.h MIPS: Move FIXADDR_TOP into spaces.h 2011-07-25 17:26:53 +01:00
war.h MIPS: BCM63xx: Add support for the Broadcom BCM63xx family of SOCs. 2009-09-17 20:07:52 +02:00