From: Vivek Gautam <gautam.vivek@samsung.com>
To: linux-usb@vger.kernel.org, linux-samsung-soc@vger.kernel.org,
devicetree@vger.kernel.org
Cc: kgene.kim@samsung.com, gregkh@linuxfoundation.org,
t.figa@samsung.com, jg1.han@samsung.com,
linux-kernel@vger.kernel.org, balbi@ti.com, robh+dt@kernel.org,
olof@lixom.net, linux-arm-kernel@lists.infradead.org
Subject: [PATCH v5 6/9] dts: exynos5420-peach-pit: Add Vbus regulator for USB 3.0
Date: Wed, 23 Apr 2014 20:00:48 +0530 [thread overview]
Message-ID: <1398263451-18023-7-git-send-email-gautam.vivek@samsung.com> (raw)
In-Reply-To: <1398263451-18023-1-git-send-email-gautam.vivek@samsung.com>
Add required fixed-regulator for VBUS supply for USB 3.0
controller phy.
Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
---
This is first version of the patch for VBUS support for USB3DRD phy.
v5 is just and indicative of the patch-series.
arch/arm/boot/dts/exynos5420-peach-pit.dts | 44 ++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/arch/arm/boot/dts/exynos5420-peach-pit.dts b/arch/arm/boot/dts/exynos5420-peach-pit.dts
index 4d61a5e..45c0fef 100644
--- a/arch/arm/boot/dts/exynos5420-peach-pit.dts
+++ b/arch/arm/boot/dts/exynos5420-peach-pit.dts
@@ -70,6 +70,20 @@
samsung,pin-pud = <0>;
samsung,pin-drv = <0>;
};
+
+ usb300_vbus_en: usb300-vbus-en {
+ samsung,pins = "gph0-0";
+ samsung,pin-function = <1>;
+ samsung,pin-pud = <0>;
+ samsung,pin-drv = <0>;
+ };
+
+ usb301_vbus_en: usb301-vbus-en {
+ samsung,pins = "gph0-1";
+ samsung,pin-function = <1>;
+ samsung,pin-pud = <0>;
+ samsung,pin-drv = <0>;
+ };
};
gpio-keys {
@@ -103,6 +117,36 @@
status = "okay";
};
+ usb300_vbus_reg: regulator-usb300 {
+ compatible = "regulator-fixed";
+ regulator-name = "P5.0V_USB3CON0";
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ gpio = <&gph0 0 0>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&usb300_vbus_en>;
+ enable-active-high;
+ };
+
+ usb301_vbus_reg: regulator-usb301 {
+ compatible = "regulator-fixed";
+ regulator-name = "P5.0V_USB3CON1";
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ gpio = <&gph0 1 0>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&usb301_vbus_en>;
+ enable-active-high;
+ };
+
+ phy@12100000 {
+ vbus-supply = <&usb300_vbus_reg>;
+ };
+
+ phy@12500000 {
+ vbus-supply = <&usb301_vbus_reg>;
+ };
+
mmc@12200000 {
status = "okay";
num-slots = <1>;
--
1.7.10.4
next prev parent reply other threads:[~2014-04-23 14:30 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-23 14:30 [PATCH 0/9] Enable USB 3.0 support on Exynos5 systems Vivek Gautam
2014-04-23 14:30 ` [PATCH v5 1/9] dt: exynos5420: Enable support for USB 3.0 PHY controller Vivek Gautam
2014-04-25 6:27 ` Tushar Behera
2014-04-23 14:30 ` [PATCH v5 2/9] dt: exynos5420: Enable support for DWC3 controller Vivek Gautam
2014-04-23 14:30 ` [PATCH v5 3/9] dt: exynos5250: Enable support for generic USB DRD phy Vivek Gautam
2014-04-25 6:31 ` Tushar Behera
2014-04-23 14:30 ` [PATCH v5 4/9] dts: exynos5250: Update DWC3 usb controller to use new phy driver Vivek Gautam
[not found] ` <1398263451-18023-1-git-send-email-gautam.vivek-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2014-04-23 14:30 ` [PATCH v5 5/9] dts: exynos5250-snow: Add Vbus regulator for USB 3.0 Vivek Gautam
2014-04-23 14:30 ` Vivek Gautam [this message]
2014-04-23 14:30 ` [PATCH v5 7/9] dts: exynos5420-smdk5420: " Vivek Gautam
2014-04-23 14:30 ` [PATCH v5 8/9] usb-phy: samsung-usb3: Remove older phy-samsung-usb3 driver Vivek Gautam
2014-04-23 14:30 ` [PATCH v5 9/9] ARM: exynos_defconfig: Remove SAMSUNG_USB3PHY config Vivek Gautam
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=1398263451-18023-7-git-send-email-gautam.vivek@samsung.com \
--to=gautam.vivek@samsung.com \
--cc=balbi@ti.com \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=jg1.han@samsung.com \
--cc=kgene.kim@samsung.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=olof@lixom.net \
--cc=robh+dt@kernel.org \
--cc=t.figa@samsung.com \
/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).