Skip to contentSkip to conversation

i.MX6DQ/DLS: Add pad MX6_PAD_GPIO_1__USB_OTG_ID

PATCH New Eric Nelson 3 participants 3 messages Sep 25, 2013 – Sep 27, 2013 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 i.MX6DQ/DLS: Add pad MX6_PAD_GPIO_1__USB_OTG_ID

This patch adds the pad to i.MX6DQ and changes the i.MX6DLS declaration to match the Linux kernel declaration.

---
Note that this is needed for OTG/UDC work Troy is prepping for i.MX6 and that the previous declaration of MX6_PAD_GPIO_1__USBOTG_ID was not previously used.

V2 fixes cut & paste bug (wrong value for mx6q).

 arch/arm/include/asm/arch-mx6/mx6dl_pins.h | 2 +-
 arch/arm/include/asm/arch-mx6/mx6q_pins.h  | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
arch/arm/include/asm/arch-mx6/mx6dl_pins.h +1 -1
index c3d0b70..d955241 100644
@@ -1043,7 +1043,7 @@ enum {
 	MX6_PAD_GPIO_1__ESAI1_SCKR		= IOMUX_PAD(0x05E0, 0x0210, 0, 0x083C, 1, 0),
 	MX6_PAD_GPIO_1__WDOG2_WDOG_B		= IOMUX_PAD(0x05E0, 0x0210, 1, 0x0000, 0, 0),
 	MX6_PAD_GPIO_1__KPP_ROW_5		= IOMUX_PAD(0x05E0, 0x0210, 2, 0x08CC, 1, 0),
-	MX6_PAD_GPIO_1__USBOTG_ID		= IOMUX_PAD(0x05E0, 0x0210, 3, 0x0790, 1, 0),
+	MX6_PAD_GPIO_1__USB_OTG_ID		= IOMUX_PAD(0x05E0, 0x0210, 3, 0x0790, 1, 0),
 	MX6_PAD_GPIO_1__PWM2_PWMO		= IOMUX_PAD(0x05E0, 0x0210, 4, 0x0000, 0, 0),
 	MX6_PAD_GPIO_1__GPIO_1_1		= IOMUX_PAD(0x05E0, 0x0210, 5, 0x0000, 0, 0),
 	MX6_PAD_GPIO_1__USDHC1_CD		= IOMUX_PAD(0x05E0, 0x0210, 6, 0x0000, 0, 0),
arch/arm/include/asm/arch-mx6/mx6q_pins.h +1 -0
index 94df007..fe9a8c3 100644
@@ -984,6 +984,7 @@ enum {
 	MX6_PAD_GPIO_1__ESAI1_SCKR		= IOMUX_PAD(0x05F4, 0x0224, 0, 0x086C, 1, 0),
 	MX6_PAD_GPIO_1__WDOG2_WDOG_B		= IOMUX_PAD(0x05F4, 0x0224, 1, 0x0000, 0, 0),
 	MX6_PAD_GPIO_1__KPP_ROW_5		= IOMUX_PAD(0x05F4, 0x0224, 2, 0x08F4, 0, 0),
+	MX6_PAD_GPIO_1__USB_OTG_ID		= IOMUX_PAD(0x05F4, 0x0224, 3, 0x0000, 0, 0),
 	MX6_PAD_GPIO_1__PWM2_PWMO		= IOMUX_PAD(0x05F4, 0x0224, 4, 0x0000, 0, 0),
 	MX6_PAD_GPIO_1__GPIO_1_1		= IOMUX_PAD(0x05F4, 0x0224, 5, 0x0000, 0, 0),
 	MX6_PAD_GPIO_1__USDHC1_CD		= IOMUX_PAD(0x05F4, 0x0224, 6, 0x0000, 0, 0),
Signature · 1 line
1.8.1.2
#1 lore raw

PATCH v2 1/1 i.MX6DQ/DLS: Add pad MX6_PAD_GPIO_1__USB_OTG_ID

Dear Eric Nelson,

Quoted 10 lines

This patch adds the pad to i.MX6DQ and changes the i.MX6DLS declaration to match the Linux kernel declaration.

---
Note that this is needed for OTG/UDC work Troy is prepping for i.MX6 and that the previous declaration of MX6_PAD_GPIO_1__USBOTG_ID was not previously used.

V2 fixes cut & paste bug (wrong value for mx6q).

Best regards,
Marek Vasut

#2 lore raw

PATCH v2 1/1 i.MX6DQ/DLS: Add pad MX6_PAD_GPIO_1__USB_OTG_ID

In reply to Eric Nelson
Quoted 5 lines · Eric Nelson

This patch adds the pad to i.MX6DQ and changes the i.MX6DLS declaration to match the Linux kernel declaration.

---

Applied to u-boot-imx (fix), thanks!

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================