* [PATCH 1/4] ARM: dts: imx6: edmqmx6: Fix usbotg id pin
@ 2014-04-07 14:29 Lucas Stach
2014-04-07 14:29 ` [PATCH 2/4] ARM: dts: imx6: edmqmx6: Do not use the OTG switch as VBUS regulator Lucas Stach
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Lucas Stach @ 2014-04-07 14:29 UTC (permalink / raw)
To: linux-arm-kernel
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts b/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts
index a63bbb3d46bb..39ffa766384f 100644
--- a/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts
+++ b/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts
@@ -293,7 +293,7 @@
pinctrl_usbotg: usbotggrp {
fsl,pins = <
- MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059
+ MX6QDL_PAD_ENET_RX_ER__USB_OTG_ID 0x17059
>;
};
--
1.9.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/4] ARM: dts: imx6: edmqmx6: Do not use the OTG switch as VBUS regulator
2014-04-07 14:29 [PATCH 1/4] ARM: dts: imx6: edmqmx6: Fix usbotg id pin Lucas Stach
@ 2014-04-07 14:29 ` Lucas Stach
2014-04-07 14:29 ` [PATCH 3/4] ARM: dts: imx6: edmqmx6: USB H1 only supports host mode Lucas Stach
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Lucas Stach @ 2014-04-07 14:29 UTC (permalink / raw)
To: linux-arm-kernel
From: Sascha Hauer <s.hauer@pengutronix.de>
GPIO7_12 switches the D+/D- USB lines on and off. When we use this as
VBUS regulator it means that USB device mode can never work as VBUS is
never turned on in Device mode.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts b/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts
index 39ffa766384f..af32944cf9ae 100644
--- a/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts
+++ b/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts
@@ -40,13 +40,15 @@
regulator-always-on;
};
- reg_usb_otg_vbus: regulator at 1 {
+ reg_usb_otg_switch: regulator at 1 {
compatible = "regulator-fixed";
reg = <1>;
- regulator-name = "usb_otg_vbus";
+ regulator-name = "usb_otg_switch";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio7 12 0>;
+ regulator-boot-on;
+ regulator-always-on;
};
reg_usb_host1: regulator at 2 {
@@ -348,7 +350,6 @@
};
&usbotg {
- vbus-supply = <®_usb_otg_vbus>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usbotg>;
disable-over-current;
--
1.9.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 3/4] ARM: dts: imx6: edmqmx6: USB H1 only supports host mode
2014-04-07 14:29 [PATCH 1/4] ARM: dts: imx6: edmqmx6: Fix usbotg id pin Lucas Stach
2014-04-07 14:29 ` [PATCH 2/4] ARM: dts: imx6: edmqmx6: Do not use the OTG switch as VBUS regulator Lucas Stach
@ 2014-04-07 14:29 ` Lucas Stach
2014-04-07 14:29 ` [PATCH 4/4] ARM: dts: imx6: edmqmx6: add second STMPE Lucas Stach
2014-04-08 12:11 ` [PATCH 1/4] ARM: dts: imx6: edmqmx6: Fix usbotg id pin Shawn Guo
3 siblings, 0 replies; 5+ messages in thread
From: Lucas Stach @ 2014-04-07 14:29 UTC (permalink / raw)
To: linux-arm-kernel
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts b/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts
index af32944cf9ae..e7762e456cbe 100644
--- a/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts
+++ b/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts
@@ -346,6 +346,7 @@
&usbh1 {
vbus-supply = <®_usb_host1>;
disable-over-current;
+ dr_mode = "host";
status = "okay";
};
--
1.9.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 4/4] ARM: dts: imx6: edmqmx6: add second STMPE
2014-04-07 14:29 [PATCH 1/4] ARM: dts: imx6: edmqmx6: Fix usbotg id pin Lucas Stach
2014-04-07 14:29 ` [PATCH 2/4] ARM: dts: imx6: edmqmx6: Do not use the OTG switch as VBUS regulator Lucas Stach
2014-04-07 14:29 ` [PATCH 3/4] ARM: dts: imx6: edmqmx6: USB H1 only supports host mode Lucas Stach
@ 2014-04-07 14:29 ` Lucas Stach
2014-04-08 12:11 ` [PATCH 1/4] ARM: dts: imx6: edmqmx6: Fix usbotg id pin Shawn Guo
3 siblings, 0 replies; 5+ messages in thread
From: Lucas Stach @ 2014-04-07 14:29 UTC (permalink / raw)
To: linux-arm-kernel
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts | 38 +++++++++++++++++++++++++--------
1 file changed, 29 insertions(+), 9 deletions(-)
diff --git a/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts b/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts
index e7762e456cbe..e4ae38fd0269 100644
--- a/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts
+++ b/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts
@@ -19,7 +19,10 @@
compatible = "dmo,imx6q-edmqmx6", "fsl,imx6q";
aliases {
- gpio7 = &stmpe_gpio;
+ gpio7 = &stmpe_gpio1;
+ gpio8 = &stmpe_gpio2;
+ stmpe-i2c0 = &stmpe1;
+ stmpe-i2c1 = &stmpe2;
};
memory {
@@ -67,23 +70,23 @@
led-blue {
label = "blue";
- gpios = <&stmpe_gpio 8 GPIO_ACTIVE_HIGH>;
+ gpios = <&stmpe_gpio1 8 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat";
};
led-green {
label = "green";
- gpios = <&stmpe_gpio 9 GPIO_ACTIVE_HIGH>;
+ gpios = <&stmpe_gpio1 9 GPIO_ACTIVE_HIGH>;
};
led-pink {
label = "pink";
- gpios = <&stmpe_gpio 10 GPIO_ACTIVE_HIGH>;
+ gpios = <&stmpe_gpio1 10 GPIO_ACTIVE_HIGH>;
};
led-red {
label = "red";
- gpios = <&stmpe_gpio 11 GPIO_ACTIVE_HIGH>;
+ gpios = <&stmpe_gpio1 11 GPIO_ACTIVE_HIGH>;
};
};
};
@@ -101,7 +104,8 @@
clock-frequency = <100000>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c2
- &pinctrl_stmpe>;
+ &pinctrl_stmpe1
+ &pinctrl_stmpe2>;
status = "okay";
pmic: pfuze100 at 08 {
@@ -207,13 +211,25 @@
};
};
- stmpe: stmpe1601 at 40 {
+ stmpe1: stmpe1601 at 40 {
compatible = "st,stmpe1601";
reg = <0x40>;
interrupts = <30 0>;
interrupt-parent = <&gpio3>;
- stmpe_gpio: stmpe_gpio {
+ stmpe_gpio1: stmpe_gpio {
+ #gpio-cells = <2>;
+ compatible = "st,stmpe-gpio";
+ };
+ };
+
+ stmpe2: stmpe1601 at 44 {
+ compatible = "st,stmpe1601";
+ reg = <0x44>;
+ interrupts = <2 0>;
+ interrupt-parent = <&gpio5>;
+
+ stmpe_gpio2: stmpe_gpio {
#gpio-cells = <2>;
compatible = "st,stmpe-gpio";
};
@@ -275,10 +291,14 @@
>;
};
- pinctrl_stmpe: stmpegrp {
+ pinctrl_stmpe1: stmpe1grp {
fsl,pins = <MX6QDL_PAD_EIM_D30__GPIO3_IO30 0x80000000>;
};
+ pinctrl_stmpe2: stmpe2grp {
+ fsl,pins = <MX6QDL_PAD_EIM_A25__GPIO5_IO02 0x80000000>;
+ };
+
pinctrl_uart1: uart1grp {
fsl,pins = <
MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA 0x1b0b1
--
1.9.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 1/4] ARM: dts: imx6: edmqmx6: Fix usbotg id pin
2014-04-07 14:29 [PATCH 1/4] ARM: dts: imx6: edmqmx6: Fix usbotg id pin Lucas Stach
` (2 preceding siblings ...)
2014-04-07 14:29 ` [PATCH 4/4] ARM: dts: imx6: edmqmx6: add second STMPE Lucas Stach
@ 2014-04-08 12:11 ` Shawn Guo
3 siblings, 0 replies; 5+ messages in thread
From: Shawn Guo @ 2014-04-08 12:11 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Apr 07, 2014 at 04:29:24PM +0200, Lucas Stach wrote:
> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
> ---
> arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied all 4, thanks.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-04-08 12:11 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-07 14:29 [PATCH 1/4] ARM: dts: imx6: edmqmx6: Fix usbotg id pin Lucas Stach
2014-04-07 14:29 ` [PATCH 2/4] ARM: dts: imx6: edmqmx6: Do not use the OTG switch as VBUS regulator Lucas Stach
2014-04-07 14:29 ` [PATCH 3/4] ARM: dts: imx6: edmqmx6: USB H1 only supports host mode Lucas Stach
2014-04-07 14:29 ` [PATCH 4/4] ARM: dts: imx6: edmqmx6: add second STMPE Lucas Stach
2014-04-08 12:11 ` [PATCH 1/4] ARM: dts: imx6: edmqmx6: Fix usbotg id pin Shawn Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).