diff mbox

omap: mux: add AM/DM37x gpios

Message ID 1365874225.3812.53.camel@mars (mailing list archive)
State New, archived
Headers show

Commit Message

Christoph Fritz April 13, 2013, 5:30 p.m. UTC
This patch adds GPIO pins found on AM/DM37x.

Signed-off-by: Christoph Fritz <chf.fritz@googlemail.com>
---
 arch/arm/mach-omap2/mux34xx.h |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Comments

Tony Lindgren May 8, 2013, 11:30 p.m. UTC | #1
* Christoph Fritz <chf.fritz@googlemail.com> [130413 10:35]:
> This patch adds GPIO pins found on AM/DM37x.

Thanks applying into omap-for-v3.10/fixes.

Tony
 
> Signed-off-by: Christoph Fritz <chf.fritz@googlemail.com>
> ---
>  arch/arm/mach-omap2/mux34xx.h |    6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm/mach-omap2/mux34xx.h b/arch/arm/mach-omap2/mux34xx.h
> index 6543ebf..3f26d29 100644
> --- a/arch/arm/mach-omap2/mux34xx.h
> +++ b/arch/arm/mach-omap2/mux34xx.h
> @@ -393,6 +393,10 @@
>  #define OMAP3_CONTROL_PADCONF_SAD2D_SWAKEUP_OFFSET		0xa1c
>  #define OMAP3_CONTROL_PADCONF_JTAG_RTCK_OFFSET			0xa1e
>  #define OMAP3_CONTROL_PADCONF_JTAG_TDO_OFFSET			0xa20
> +#define OMAP3_CONTROL_PADCONF_GPIO_127				0xa24
> +#define OMAP3_CONTROL_PADCONF_GPIO_126				0xa26
> +#define OMAP3_CONTROL_PADCONF_GPIO_128				0xa28
> +#define OMAP3_CONTROL_PADCONF_GPIO_129				0xa2a
>  
>  #define OMAP3_CONTROL_PADCONF_MUX_SIZE				\
> -		(OMAP3_CONTROL_PADCONF_JTAG_TDO_OFFSET + 0x2)
> +		(OMAP3_CONTROL_PADCONF_GPIO_129 + 0x2)
> -- 
> 1.7.10.4
> 
> 
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/mach-omap2/mux34xx.h b/arch/arm/mach-omap2/mux34xx.h
index 6543ebf..3f26d29 100644
--- a/arch/arm/mach-omap2/mux34xx.h
+++ b/arch/arm/mach-omap2/mux34xx.h
@@ -393,6 +393,10 @@ 
 #define OMAP3_CONTROL_PADCONF_SAD2D_SWAKEUP_OFFSET		0xa1c
 #define OMAP3_CONTROL_PADCONF_JTAG_RTCK_OFFSET			0xa1e
 #define OMAP3_CONTROL_PADCONF_JTAG_TDO_OFFSET			0xa20
+#define OMAP3_CONTROL_PADCONF_GPIO_127				0xa24
+#define OMAP3_CONTROL_PADCONF_GPIO_126				0xa26
+#define OMAP3_CONTROL_PADCONF_GPIO_128				0xa28
+#define OMAP3_CONTROL_PADCONF_GPIO_129				0xa2a
 
 #define OMAP3_CONTROL_PADCONF_MUX_SIZE				\
-		(OMAP3_CONTROL_PADCONF_JTAG_TDO_OFFSET + 0x2)
+		(OMAP3_CONTROL_PADCONF_GPIO_129 + 0x2)