Logo
Explore Help
Register Sign In
leandrof/linux
1
0
Fork 0
You've already forked linux
Code Issues Pull Requests Packages Projects Releases Wiki Activity
Files
890658b7ab48d1362a0362df842cecc73c83146f
linux/arch/sh/include/asm/spi.h

14 lines
226 B
C
Raw Normal View History

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>
2008-01-23 16:21:18 +09:00
#ifndef __ASM_SPI_H__
#define __ASM_SPI_H__
struct sh_spi_info;
struct sh_spi_info {
int bus_num;
int num_chipselect;
void (*chip_select)(struct sh_spi_info *spi, int cs, int state);
};
#endif /* __ASM_SPI_H__ */
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.1 Page: 913ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API