Skip to contentSkip to conversation

dts: edmqmx6: some fixes

PATCH New Silvio F 3 participants 6 messages Jan 22, 2014 – Jan 28, 2014

Subsystems (2)
lore
Share & tools
lore

Silvio F

author
#0 lore raw

PATCH 1/1 dts: edmqmx6: some fixes

Hi,

please review and add this patches.

Thanks and Cheers,
Silvio F.

author
#1 lore raw

PATCH 1/2 ARM: dts: imx6: edmqmx6: fix wrong usbotg pingroup

---
 arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts +1 -1
index b8a1ff4..6706d1b 100644
@@ -266,7 +266,7 @@
 		};
 
 		pinctrl_usbotg: usbotggrp {
-			fsl,pins = <MX6QDL_USBOTG_PINGRP1>;
+			fsl,pins = <MX6QDL_USBOTG_PINGRP2>;
 		};
 
 		pinctrl_usdhc3: usdhc3grp {
Signature · 1 line
1.8.5.2
maintainer
#2 lore raw

PATCH 1/2 ARM: dts: imx6: edmqmx6: fix wrong usbotg pingroup

Quoted 1 line · Silvio F

Verified this on the schematics, so:

Quoted 21 lines
---
 arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts +1 -1
index b8a1ff4..6706d1b 100644
@@ -266,7 +266,7 @@
 		};
 
 		pinctrl_usbotg: usbotggrp {
-			fsl,pins = <MX6QDL_USBOTG_PINGRP1>;
+			fsl,pins = <MX6QDL_USBOTG_PINGRP2>;
 		};
 
 		pinctrl_usdhc3: usdhc3grp {
Signature · 1 line
1.8.5.2
Signature · 4 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
#3 lore raw

PATCH 1/2 ARM: dts: imx6: edmqmx6: fix wrong usbotg pingroup

In reply to Silvio F
Quoted 10 lines · Silvio F
---
 arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts +0 -0
index b8a1ff4..6706d1b 100644

arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts line 269

Quoted 5 lines
arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts +1 -1
@@ -266,7 +266,7 @@
 		};
 
 		pinctrl_usbotg: usbotggrp {
-			fsl,pins = <MX6QDL_USBOTG_PINGRP1>;
+			fsl,pins = <MX6QDL_USBOTG_PINGRP2>;

The PINGRP header is gone now. Please rebase it on branch below.

git://git.linaro.org/people/shawn.guo/linux-2.6.git imx/dt

Shawn

Quoted 6 lines
arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts +0 -0
 		};
 
 		pinctrl_usdhc3: usdhc3grp {
Signature · 1 line
1.8.5.2
author
#4 lore raw

PATCH 2/2 ARM: dts: imx6: edmqmx6: remove wrong gpio in usb_otg_vbus regulator

In reply to Silvio F
---
 arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts | 1 -
 1 file changed, 1 deletion(-)
arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts +0 -1
index 6706d1b..de54e46 100644
@@ -46,7 +46,6 @@
 			regulator-name = "usb_otg_vbus";
 			regulator-min-microvolt = <5000000>;
 			regulator-max-microvolt = <5000000>;
-			gpio = <&gpio7 12 0>;
 		};
 
 		reg_usb_host1: regulator at 2 {
Signature · 1 line
1.8.5.2
maintainer
#5 lore raw

PATCH 2/2 ARM: dts: imx6: edmqmx6: remove wrong gpio in usb_otg_vbus regulator

Quoted 10 lines · Silvio F
---
 arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts | 1 -
 1 file changed, 1 deletion(-)
arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts +0 -0
index 6706d1b..de54e46 100644

arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts line 49

Quoted 4 lines
arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts +0 -1
@@ -46,7 +46,6 @@
 			regulator-name = "usb_otg_vbus";
 			regulator-min-microvolt = <5000000>;
 			regulator-max-microvolt = <5000000>;
-			gpio = <&gpio7 12 0>;

This gpio drives a switch between SoCs USB D+/D- lines and the external connector, so using a regulator here is the wrong approach. The question now is: What is the correct approach to make sure the switch is closed when needed? How does it work now? Is the switch on by reset default?

Sascha

Signature · 4 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |