sh: add spi header and r2d platform data V3
authorMagnus Damm <magnus.damm@gmail.com>
Wed, 23 Jan 2008 07:21:18 +0000 (16:21 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 28 Jan 2008 07:24:46 +0000 (16:24 +0900)
commit6582d7b7376aa587d74b08c74457dc28abc1a9fa
tree2f069e6ec29cdcfedb400b437dd8f02079410522
parentda2d7f4bc578651455a7353995beb87db3cd8815
sh: add spi header and r2d platform data V3

This patch adds the header file asm/spi.h and board specific code for the
r2d board. The header file contains a structure that should be used to
point out a single spi bus. The board specific code for r2d is updated with
such a structure for the new spi_sh_sci driver. The structure contains a
chip select callback plus information about the R9701 rtc chip which is
attached to the spi bus.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/boards/renesas/rts7751r2d/setup.c
include/asm-sh/spi.h [new file with mode: 0644]