aboutsummaryrefslogtreecommitdiff
path: root/include/linux/jbt6k74.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2010-03-08 23:51:09 +0100
committerThomas White <taw@bitwiz.org.uk>2010-03-08 23:51:09 +0100
commit98b7291ecb2848194351c9e7b84173aa3e5d95a8 (patch)
treee16c6859d164ad18ad410f94934a5a52fb04a7cb /include/linux/jbt6k74.h
parent0c53f82530b4f720809766dac99f8a0861a30882 (diff)
Clean up JBT hooks, and allow resolution switching
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
Diffstat (limited to 'include/linux/jbt6k74.h')
-rw-r--r--include/linux/jbt6k74.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/linux/jbt6k74.h b/include/linux/jbt6k74.h
index 4cf760c1539..f430e5a363a 100644
--- a/include/linux/jbt6k74.h
+++ b/include/linux/jbt6k74.h
@@ -3,6 +3,20 @@
#include <linux/spi/spi.h>
+enum jbt_resolution {
+ JBT_RESOLUTION_VGA,
+ JBT_RESOLUTION_QVGA,
+};
+
+enum jbt_power_mode {
+ JBT_POWER_MODE_OFF,
+ JBT_POWER_MODE_NORMAL,
+};
+
+extern void jbt6k74_setpower(enum jbt_power_mode new_power);
+extern int jbt6k74_setresolution(enum jbt_resolution new_resolution);
+
+
/*
* struct jbt6k74_platform_data - Platform data for jbt6k74 driver
* @probe_completed: Callback to be called when the driver has been