diff mbox

DaVinci: DM355: Adding PINMUX entries for DM355 Display

Message ID 1250872691-17101-1-git-send-email-s-paulraj@ti.com (mailing list archive)
State Awaiting Upstream
Headers show

Commit Message

s-paulraj@ti.com Aug. 21, 2009, 4:38 p.m. UTC
From: Sandeep Paulraj <s-paulraj@ti.com>

This patch adds PINMUX entries for DM355 Display.
These will be used by the DM355 display driver.

Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
---
 arch/arm/mach-davinci/dm355.c            |    6 ++++++
 arch/arm/mach-davinci/include/mach/mux.h |    7 +++++++
 2 files changed, 13 insertions(+), 0 deletions(-)

Comments

Kevin Hilman Aug. 25, 2009, 11:19 a.m. UTC | #1
s-paulraj@ti.com writes:

> From: Sandeep Paulraj <s-paulraj@ti.com>
>
> This patch adds PINMUX entries for DM355 Display.
> These will be used by the DM355 display driver.
>
> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>

Thanks, pushing today.

Kevin


> ---
>  arch/arm/mach-davinci/dm355.c            |    6 ++++++
>  arch/arm/mach-davinci/include/mach/mux.h |    7 +++++++
>  2 files changed, 13 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-davinci/dm355.c b/arch/arm/mach-davinci/dm355.c
> index 927c253..782deb5 100644
> --- a/arch/arm/mach-davinci/dm355.c
> +++ b/arch/arm/mach-davinci/dm355.c
> @@ -482,6 +482,12 @@ INT_CFG(DM355,  INT_EDMA_TC1_ERR,     4,    1,    1,     false)
>  EVT_CFG(DM355,  EVT8_ASP1_TX,	      0,    1,    0,     false)
>  EVT_CFG(DM355,  EVT9_ASP1_RX,	      1,    1,    0,     false)
>  EVT_CFG(DM355,  EVT26_MMC0_RX,	      2,    1,    0,     false)
> +
> +MUX_CFG(DM355,	VOUT_FIELD,	1,   18,    3,	  1,	 false)
> +MUX_CFG(DM355,	VOUT_FIELD_G70,	1,   18,    3,	  0,	 false)
> +MUX_CFG(DM355,	VOUT_HVSYNC,	1,   16,    1,	  0,	 false)
> +MUX_CFG(DM355,	VOUT_COUTL_EN,	1,   0,     0xff, 0x55,  false)
> +MUX_CFG(DM355,	VOUT_COUTH_EN,	1,   8,     0xff, 0x55,  false)
>  #endif
>  };
>  
> diff --git a/arch/arm/mach-davinci/include/mach/mux.h b/arch/arm/mach-davinci/include/mach/mux.h
> index ac46362..7732832 100644
> --- a/arch/arm/mach-davinci/include/mach/mux.h
> +++ b/arch/arm/mach-davinci/include/mach/mux.h
> @@ -154,6 +154,13 @@ enum davinci_dm355_index {
>  	DM355_EVT8_ASP1_TX,
>  	DM355_EVT9_ASP1_RX,
>  	DM355_EVT26_MMC0_RX,
> +
> +	/* Video Out */
> +	DM355_VOUT_FIELD,
> +	DM355_VOUT_FIELD_G70,
> +	DM355_VOUT_HVSYNC,
> +	DM355_VOUT_COUTL_EN,
> +	DM355_VOUT_COUTH_EN,
>  };
>  
>  enum davinci_dm365_index {
> -- 
> 1.6.2
>
> _______________________________________________
> Davinci-linux-open-source mailing list
> Davinci-linux-open-source@linux.davincidsp.com
> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
diff mbox

Patch

diff --git a/arch/arm/mach-davinci/dm355.c b/arch/arm/mach-davinci/dm355.c
index 927c253..782deb5 100644
--- a/arch/arm/mach-davinci/dm355.c
+++ b/arch/arm/mach-davinci/dm355.c
@@ -482,6 +482,12 @@  INT_CFG(DM355,  INT_EDMA_TC1_ERR,     4,    1,    1,     false)
 EVT_CFG(DM355,  EVT8_ASP1_TX,	      0,    1,    0,     false)
 EVT_CFG(DM355,  EVT9_ASP1_RX,	      1,    1,    0,     false)
 EVT_CFG(DM355,  EVT26_MMC0_RX,	      2,    1,    0,     false)
+
+MUX_CFG(DM355,	VOUT_FIELD,	1,   18,    3,	  1,	 false)
+MUX_CFG(DM355,	VOUT_FIELD_G70,	1,   18,    3,	  0,	 false)
+MUX_CFG(DM355,	VOUT_HVSYNC,	1,   16,    1,	  0,	 false)
+MUX_CFG(DM355,	VOUT_COUTL_EN,	1,   0,     0xff, 0x55,  false)
+MUX_CFG(DM355,	VOUT_COUTH_EN,	1,   8,     0xff, 0x55,  false)
 #endif
 };
 
diff --git a/arch/arm/mach-davinci/include/mach/mux.h b/arch/arm/mach-davinci/include/mach/mux.h
index ac46362..7732832 100644
--- a/arch/arm/mach-davinci/include/mach/mux.h
+++ b/arch/arm/mach-davinci/include/mach/mux.h
@@ -154,6 +154,13 @@  enum davinci_dm355_index {
 	DM355_EVT8_ASP1_TX,
 	DM355_EVT9_ASP1_RX,
 	DM355_EVT26_MMC0_RX,
+
+	/* Video Out */
+	DM355_VOUT_FIELD,
+	DM355_VOUT_FIELD_G70,
+	DM355_VOUT_HVSYNC,
+	DM355_VOUT_COUTL_EN,
+	DM355_VOUT_COUTH_EN,
 };
 
 enum davinci_dm365_index {