aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2009-10-04 13:37:37 +0200
committerLars-Peter Clausen <lars@metafoo.de>2010-05-17 19:33:46 +0200
commite8e8a0e59979f12e48af0ed86437c8b924a6863f (patch)
tree78a4064d13d3840608524b500cf1abffe5ba5c43 /include
parente40152ee1e1c7a63f4777791863215e3faa37a86 (diff)
Add jbt6k74 display driver.
Diffstat (limited to 'include')
-rw-r--r--include/linux/jbt6k74.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/linux/jbt6k74.h b/include/linux/jbt6k74.h
new file mode 100644
index 00000000000..75488c41136
--- /dev/null
+++ b/include/linux/jbt6k74.h
@@ -0,0 +1,21 @@
+#ifndef __JBT6K74_H__
+#define __JBT6K74_H__
+
+#include <linux/spi/spi.h>
+
+/*
+ * struct jbt6k74_platform_data - Platform data for jbt6k74 driver
+ * @probe_completed: Callback to be called when the driver has been
+ * successfully probed.
+ * @enable_pixel_clock: Callback to enable or disable the pixelclock of the
+ * gpu.
+ * @gpio_reset: Reset gpio pin number.
+ */
+struct jbt6k74_platform_data {
+ void (*probe_completed)(struct device *dev);
+ void (*enable_pixel_clock)(struct device *dev, int enable);
+
+ int gpio_reset;
+};
+
+#endif