aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/s3c24xx/files-2.6.30/include/linux/spi/glamo.h
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/s3c24xx/files-2.6.30/include/linux/spi/glamo.h')
-rw-r--r--target/linux/s3c24xx/files-2.6.30/include/linux/spi/glamo.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/target/linux/s3c24xx/files-2.6.30/include/linux/spi/glamo.h b/target/linux/s3c24xx/files-2.6.30/include/linux/spi/glamo.h
new file mode 100644
index 0000000000..05b8cd7573
--- /dev/null
+++ b/target/linux/s3c24xx/files-2.6.30/include/linux/spi/glamo.h
@@ -0,0 +1,27 @@
+#ifndef __GLAMO_SPI_H
+#define __GLAMO_SPI_H
+
+#include <linux/glamo-gpio.h>
+
+struct spi_board_info;
+struct glamofb_handle;
+struct glamo_core;
+
+struct glamo_spi_info {
+ unsigned long board_size;
+ struct spi_board_info *board_info;
+ struct glamofb_handle *glamofb_handle;
+};
+
+struct glamo_spigpio_info {
+ unsigned int pin_clk;
+ unsigned int pin_mosi;
+ unsigned int pin_miso;
+ unsigned int pin_cs;
+ int bus_num;
+
+ struct glamo_core *glamo;
+};
+
+
+#endif