diff options
author | Fugang Duan <B38611@freescale.com> | 2012-05-19 10:36:46 +0800 |
---|---|---|
committer | Jason Liu <r64343@freescale.com> | 2012-07-20 13:37:53 +0800 |
commit | b133bc80f65448950d15230b946af6ed18a46415 (patch) | |
tree | 99e9d24c00d205d247e1565d4cdfa8e43d14cdaa /arch/arm/plat-mxc/include/mach/epdc.h | |
parent | 6bf617cf662b45ac43a62a7c97ad06c0f598864d (diff) |
ENGR00210075-1 - MX6SL MSL: Add SPDC support for MX6SoloLite ARM2 board
- Add IOMUX pad config defines and GPIO defines
- Add platform device/data for SPDC
- Add IRQ number define for SPDC
Signed-off-by: Fugang Duan <B38611@freescale.com>
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/epdc.h')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/epdc.h | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/arch/arm/plat-mxc/include/mach/epdc.h b/arch/arm/plat-mxc/include/mach/epdc.h index 89abcc670dd2..36aac88230c8 100644 --- a/arch/arm/plat-mxc/include/mach/epdc.h +++ b/arch/arm/plat-mxc/include/mach/epdc.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2011 Freescale Semiconductor, Inc. + * Copyright (C) 2011-2012 Freescale Semiconductor, Inc. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the @@ -38,4 +38,31 @@ struct imx_epdc_fb_platform_data { void (*disable_pins) (void); }; +struct imx_spdc_panel_init_set { + bool yoe_pol; + bool dual_gate; + u8 resolution; + bool ud; + bool rl; + bool data_filter_n; + bool power_ready; + bool rgbw_mode_enable; + bool hburst_len_en; +}; + +struct imx_spdc_fb_mode { + struct fb_videomode *vmode; + struct imx_spdc_panel_init_set *init_set; + const char *wave_timing; +}; + +struct imx_spdc_fb_platform_data { + struct imx_spdc_fb_mode *spdc_mode; + int num_modes; + int (*get_pins) (void); + void (*put_pins) (void); + void (*enable_pins) (void); + void (*disable_pins) (void); +}; + #endif /* __MACH_EPDC_H_ */ |