aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/include
diff options
context:
space:
mode:
authorSudhakar Rajashekhara <sudhakar.raj@ti.com>2009-08-13 14:33:14 -0400
committerKevin Hilman <khilman@deeprootsystems.com>2009-08-26 04:55:54 -0400
commit5cbdf276bd9d9cd3cb9616f8253390096c1a237f (patch)
treed351c6e24902e1b6600b1559fedb40c7a0edddbb /arch/arm/mach-davinci/include
parentb1466376b22e1ec6395ccda7580deb72d3a809ad (diff)
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>
Diffstat (limited to 'arch/arm/mach-davinci/include')
-rw-r--r--arch/arm/mach-davinci/include/mach/da8xx.h3
-rw-r--r--arch/arm/mach-davinci/include/mach/mux.h26
2 files changed, 29 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/include/mach/da8xx.h b/arch/arm/mach-davinci/include/mach/da8xx.h
index 30c5c407ea8..0af3fb6077a 100644
--- a/arch/arm/mach-davinci/include/mach/da8xx.h
+++ b/arch/arm/mach-davinci/include/mach/da8xx.h
@@ -37,6 +37,7 @@
37#define DA8XX_TIMER64P1_BASE 0x01c21000 37#define DA8XX_TIMER64P1_BASE 0x01c21000
38#define DA8XX_GPIO_BASE 0x01e26000 38#define DA8XX_GPIO_BASE 0x01e26000
39#define DA8XX_PSC1_BASE 0x01e27000 39#define DA8XX_PSC1_BASE 0x01e27000
40#define DA8XX_LCD_CNTRL_BASE 0x01e13000
40 41
41#define PINMUX0 0x00 42#define PINMUX0 0x00
42#define PINMUX1 0x04 43#define PINMUX1 0x04
@@ -66,6 +67,7 @@ int da8xx_register_edma(void);
66int da8xx_register_i2c(int instance, struct davinci_i2c_platform_data *pdata); 67int da8xx_register_i2c(int instance, struct davinci_i2c_platform_data *pdata);
67int da8xx_register_watchdog(void); 68int da8xx_register_watchdog(void);
68int da8xx_register_emac(void); 69int da8xx_register_emac(void);
70int da8xx_register_lcdc(void);
69void __init da8xx_init_mcasp(int id, struct snd_platform_data *pdata); 71void __init da8xx_init_mcasp(int id, struct snd_platform_data *pdata);
70 72
71extern struct platform_device da8xx_serial_device; 73extern struct platform_device da8xx_serial_device;
@@ -103,6 +105,7 @@ extern const short da850_i2c0_pins[];
103extern const short da850_i2c1_pins[]; 105extern const short da850_i2c1_pins[];
104extern const short da850_cpgmac_pins[]; 106extern const short da850_cpgmac_pins[];
105extern const short da850_mcasp_pins[]; 107extern const short da850_mcasp_pins[];
108extern const short da850_lcdcntl_pins[];
106 109
107int da8xx_pinmux_setup(const short pins[]); 110int da8xx_pinmux_setup(const short pins[]);
108 111
diff --git a/arch/arm/mach-davinci/include/mach/mux.h b/arch/arm/mach-davinci/include/mach/mux.h
index 82d75146185..30bf329d537 100644
--- a/arch/arm/mach-davinci/include/mach/mux.h
+++ b/arch/arm/mach-davinci/include/mach/mux.h
@@ -775,6 +775,32 @@ enum davinci_da850_index {
775 DA850_AXR_2, 775 DA850_AXR_2,
776 DA850_AXR_1, 776 DA850_AXR_1,
777 DA850_AXR_0, 777 DA850_AXR_0,
778
779 /* LCD function */
780 DA850_LCD_D_7,
781 DA850_LCD_D_6,
782 DA850_LCD_D_5,
783 DA850_LCD_D_4,
784 DA850_LCD_D_3,
785 DA850_LCD_D_2,
786 DA850_LCD_D_1,
787 DA850_LCD_D_0,
788 DA850_LCD_D_15,
789 DA850_LCD_D_14,
790 DA850_LCD_D_13,
791 DA850_LCD_D_12,
792 DA850_LCD_D_11,
793 DA850_LCD_D_10,
794 DA850_LCD_D_9,
795 DA850_LCD_D_8,
796 DA850_LCD_PCLK,
797 DA850_LCD_HSYNC,
798 DA850_LCD_VSYNC,
799 DA850_NLCD_AC_ENB_CS,
800
801 /* GPIO function */
802 DA850_GPIO2_15,
803 DA850_GPIO8_10,
778}; 804};
779 805
780#ifdef CONFIG_DAVINCI_MUX 806#ifdef CONFIG_DAVINCI_MUX