diff options
author | Daniel Mack <daniel@caiaq.de> | 2009-03-23 02:04:19 +0100 |
---|---|---|
committer | Eric Miao <eric.miao@marvell.com> | 2009-03-23 09:59:55 +0800 |
commit | 91fcfb908d62038c3c2cdecb7fb8aa2c98cb70a2 (patch) | |
tree | df6bae91c0dfac50540532ab4ffc495a3378c83b /arch/arm/mach-pxa/include | |
parent | bac07ecd6c9b16656aced6dc4f9f070120153046 (diff) | |
download | op-kernel-dev-91fcfb908d62038c3c2cdecb7fb8aa2c98cb70a2.zip op-kernel-dev-91fcfb908d62038c3c2cdecb7fb8aa2c98cb70a2.tar.gz |
[ARM] pxa: Add Colibri LCD functions
This adds LCD functions for Colibri PXA300 and Colibri PXA320 and
configures a LQ043T3DX02 panel.
Original-code-by: Matthias Meier <matthias.j.meier@gmx.net>
Signed-off-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Eric Miao <eric.miao@marvell.com>
Diffstat (limited to 'arch/arm/mach-pxa/include')
-rw-r--r-- | arch/arm/mach-pxa/include/mach/colibri.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/include/mach/colibri.h b/arch/arm/mach-pxa/include/mach/colibri.h index 0becf62..3f2a01d 100644 --- a/arch/arm/mach-pxa/include/mach/colibri.h +++ b/arch/arm/mach-pxa/include/mach/colibri.h @@ -10,6 +10,12 @@ extern void colibri_pxa3xx_init_mmc(mfp_cfg_t *pins, int len, int detect_pin); static inline void colibri_pxa3xx_init_mmc(mfp_cfg_t *, int, int) {} #endif +#if defined(CONFIG_FB_PXA) || defined(CONFIG_FB_PXA_MODULE) +extern void colibri_pxa3xx_init_lcd(int bl_pin); +#else +static inline void colibri_pxa3xx_init_lcd(int) {} +#endif + /* physical memory regions */ #define COLIBRI_SDRAM_BASE 0xa0000000 /* SDRAM region */ |