]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: ath79: add common SPI controller device
authorGabor Juhos <juhosg@openwrt.org>
Tue, 4 Jan 2011 20:28:23 +0000 (21:28 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 18 Jan 2011 18:30:27 +0000 (19:30 +0100)
commit76dcbd260b1a89fb24ee399b2663686b05c8e550
treeac653355ea8030195c4edd606fa1b31c7f4a8a75
parent7c66a9fe9e0300b630acddc6f51fb52fa975b1e3
MIPS: ath79: add common SPI controller device

Several boards are using the built-in SPI controller of the
AR71XX/AR724X/AR913X SoCs. This patch adds common platform_device
and helper code to register it. Additionally, the patch registers
the SPI bus on the PB44 board.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Cc: linux-mips@linux-mips.org
Cc: Imre Kaloz <kaloz@openwrt.org>
Cc: Luis R. Rodriguez <lrodriguez@atheros.com>
Cc: Cliff Holden <Cliff.Holden@Atheros.com>
Cc: Kathy Giori <Kathy.Giori@Atheros.com>
Patchwork: https://patchwork.linux-mips.org/patch/1956/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/ath79/Kconfig
arch/mips/ath79/Makefile
arch/mips/ath79/dev-spi.c [new file with mode: 0644]
arch/mips/ath79/dev-spi.h [new file with mode: 0644]
arch/mips/ath79/mach-pb44.c
arch/mips/include/asm/mach-ath79/ar71xx_regs.h