MIPS: BCM63xx: Add stub to register the SPI platform driver
authorFlorian Fainelli <florian@openwrt.org>
Wed, 4 Jul 2012 14:58:36 +0000 (16:58 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 23 Jul 2012 12:54:33 +0000 (13:54 +0100)
commit39ca476e3439bb135ff37ed1310469735ade06bf
tree8d5e492772088bc4011893b96e4df34ce89c9a62
parent0f6db0d07289c9ebf46be8909afe2b3772e06015
MIPS: BCM63xx: Add stub to register the SPI platform driver

This patch adds the necessary stub to register the SPI platform driver.
Since the registers are shuffled between the 4 BCM63xx CPUs supported by
this SPI driver we also need to generate the internal register layout and
export this layout for the driver to 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
Patchwork: https://patchwork.linux-mips.org/patch/3321/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/bcm63xx/Makefile
arch/mips/bcm63xx/dev-spi.c [new file with mode: 0644]
arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_spi.h [new file with mode: 0644]