diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-04 19:47:13 -0500 |
---|---|---|
committer | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-04 19:47:13 -0500 |
commit | c71c03bda1e86c9d5198c5d83f712e695c4f2a1e (patch) | |
tree | ecb166cb3e2b7e2adb3b5e292245fefd23381ac8 /include/linux/spi/spi_oc_tiny.h | |
parent | ea53c912f8a86a8567697115b6a0d8152beee5c8 (diff) | |
parent | 6a00f206debf8a5c8899055726ad127dbeeed098 (diff) |
Merge branch 'mpi-master' into wip-k-fmlpwip-k-fmlp
Conflicts:
litmus/sched_cedf.c
Diffstat (limited to 'include/linux/spi/spi_oc_tiny.h')
-rw-r--r-- | include/linux/spi/spi_oc_tiny.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/linux/spi/spi_oc_tiny.h b/include/linux/spi/spi_oc_tiny.h new file mode 100644 index 000000000000..1ac529cf4f06 --- /dev/null +++ b/include/linux/spi/spi_oc_tiny.h | |||
@@ -0,0 +1,20 @@ | |||
1 | #ifndef _LINUX_SPI_SPI_OC_TINY_H | ||
2 | #define _LINUX_SPI_SPI_OC_TINY_H | ||
3 | |||
4 | /** | ||
5 | * struct tiny_spi_platform_data - platform data of the OpenCores tiny SPI | ||
6 | * @freq: input clock freq to the core. | ||
7 | * @baudwidth: baud rate divider width of the core. | ||
8 | * @gpio_cs_count: number of gpio pins used for chipselect. | ||
9 | * @gpio_cs: array of gpio pins used for chipselect. | ||
10 | * | ||
11 | * freq and baudwidth are used only if the divider is programmable. | ||
12 | */ | ||
13 | struct tiny_spi_platform_data { | ||
14 | unsigned int freq; | ||
15 | unsigned int baudwidth; | ||
16 | unsigned int gpio_cs_count; | ||
17 | int *gpio_cs; | ||
18 | }; | ||
19 | |||
20 | #endif /* _LINUX_SPI_SPI_OC_TINY_H */ | ||