davinci: Add platform support for da850/omap-l138 GLCD
This patch adds platform support for the graphic display (Sharp LK043T1DG01) found on DA850/OMAP-L138 based EVM. Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
This commit is contained in:

committed by
Kevin Hilman

parent
b1466376b2
commit
5cbdf276bd
@@ -37,6 +37,7 @@
|
||||
#define DA8XX_TIMER64P1_BASE 0x01c21000
|
||||
#define DA8XX_GPIO_BASE 0x01e26000
|
||||
#define DA8XX_PSC1_BASE 0x01e27000
|
||||
#define DA8XX_LCD_CNTRL_BASE 0x01e13000
|
||||
|
||||
#define PINMUX0 0x00
|
||||
#define PINMUX1 0x04
|
||||
@@ -66,6 +67,7 @@ int da8xx_register_edma(void);
|
||||
int da8xx_register_i2c(int instance, struct davinci_i2c_platform_data *pdata);
|
||||
int da8xx_register_watchdog(void);
|
||||
int da8xx_register_emac(void);
|
||||
int da8xx_register_lcdc(void);
|
||||
void __init da8xx_init_mcasp(int id, struct snd_platform_data *pdata);
|
||||
|
||||
extern struct platform_device da8xx_serial_device;
|
||||
@@ -103,6 +105,7 @@ extern const short da850_i2c0_pins[];
|
||||
extern const short da850_i2c1_pins[];
|
||||
extern const short da850_cpgmac_pins[];
|
||||
extern const short da850_mcasp_pins[];
|
||||
extern const short da850_lcdcntl_pins[];
|
||||
|
||||
int da8xx_pinmux_setup(const short pins[]);
|
||||
|
||||
|
@@ -775,6 +775,32 @@ enum davinci_da850_index {
|
||||
DA850_AXR_2,
|
||||
DA850_AXR_1,
|
||||
DA850_AXR_0,
|
||||
|
||||
/* LCD function */
|
||||
DA850_LCD_D_7,
|
||||
DA850_LCD_D_6,
|
||||
DA850_LCD_D_5,
|
||||
DA850_LCD_D_4,
|
||||
DA850_LCD_D_3,
|
||||
DA850_LCD_D_2,
|
||||
DA850_LCD_D_1,
|
||||
DA850_LCD_D_0,
|
||||
DA850_LCD_D_15,
|
||||
DA850_LCD_D_14,
|
||||
DA850_LCD_D_13,
|
||||
DA850_LCD_D_12,
|
||||
DA850_LCD_D_11,
|
||||
DA850_LCD_D_10,
|
||||
DA850_LCD_D_9,
|
||||
DA850_LCD_D_8,
|
||||
DA850_LCD_PCLK,
|
||||
DA850_LCD_HSYNC,
|
||||
DA850_LCD_VSYNC,
|
||||
DA850_NLCD_AC_ENB_CS,
|
||||
|
||||
/* GPIO function */
|
||||
DA850_GPIO2_15,
|
||||
DA850_GPIO8_10,
|
||||
};
|
||||
|
||||
#ifdef CONFIG_DAVINCI_MUX
|
||||
|
Reference in New Issue
Block a user