diff options
author | Thomas White <taw@bitwiz.org.uk> | 2009-11-21 21:42:16 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2010-05-22 19:01:14 +0200 |
commit | 2042106d96a13c2a15f1425fe9133257b1e0fbed (patch) | |
tree | e0ea452b0f3fb290d72df03e340cf3fca3f78ea1 /include/linux | |
parent | 0c38c5d7bcce1b62534e76419ee04eea0fe50128 (diff) |
JBT6k74 work for KMS
This simplifies the JBT6k74 driver, and adds hooks for the Glamo driver to cooperate
more closely with it.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/jbt6k74.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/include/linux/jbt6k74.h b/include/linux/jbt6k74.h index 75488c41136..2010bdcd4f7 100644 --- a/include/linux/jbt6k74.h +++ b/include/linux/jbt6k74.h @@ -3,6 +3,22 @@ #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_STANDBY, + JBT_POWER_MODE_NORMAL, +}; + +extern void jbt6k74_setpower(enum jbt_power_mode new_power); +extern int jbt6k74_prepare_resolutionchange(enum jbt_resolution new_resolution); +extern int jbt6k74_finish_resolutionchange(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 @@ -13,7 +29,6 @@ */ struct jbt6k74_platform_data { void (*probe_completed)(struct device *dev); - void (*enable_pixel_clock)(struct device *dev, int enable); int gpio_reset; }; |