From: l.stach@pengutronix.de (Lucas Stach)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/4] ARM: dts: imx6: edmqmx6: Do not use the OTG switch as VBUS regulator
Date: Mon, 7 Apr 2014 16:29:25 +0200 [thread overview]
Message-ID: <1396880967-16319-2-git-send-email-l.stach@pengutronix.de> (raw)
In-Reply-To: <1396880967-16319-1-git-send-email-l.stach@pengutronix.de>
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
next prev parent reply other threads:[~2014-04-07 14:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1396880967-16319-2-git-send-email-l.stach@pengutronix.de \
--to=l.stach@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).