All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vivek Gautam <gautam.vivek@samsung.com>
To: linux-usb@vger.kernel.org, linux-samsung-soc@vger.kernel.org,
	devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, kgene.kim@samsung.com,
	robh+dt@kernel.org, gregkh@linuxfoundation.org, olof@lixom.net,
	balbi@ti.com, jg1.han@samsung.com, t.figa@samsung.com
Subject: [PATCH v5 2/9] dt: exynos5420: Enable support for DWC3 controller
Date: Wed, 23 Apr 2014 20:00:44 +0530	[thread overview]
Message-ID: <1398263451-18023-3-git-send-email-gautam.vivek@samsung.com> (raw)
In-Reply-To: <1398263451-18023-1-git-send-email-gautam.vivek@samsung.com>

Add device tree nodes for DWC3 controller present on
Exynos 5420 SoC, to enable support for USB 3.0.

Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
---
 arch/arm/boot/dts/exynos5420.dtsi |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi
index f69745f..e808d1b 100644
--- a/arch/arm/boot/dts/exynos5420.dtsi
+++ b/arch/arm/boot/dts/exynos5420.dtsi
@@ -733,6 +733,23 @@
 		samsung,power-domain = <&g2d_pd>;
 	};
 
+	usb@12000000 {
+		compatible = "samsung,exynos5250-dwusb3";
+		clocks = <&clock CLK_USBD300>;
+		clock-names = "usbdrd30";
+		#address-cells = <1>;
+		#size-cells = <1>;
+		ranges;
+
+		dwc3 {
+			compatible = "synopsys,dwc3";
+			reg = <0x12000000 0x10000>;
+			interrupts = <0 72 0>;
+			phys = <&usbdrd_phy0 0>, <&usbdrd_phy0 1>;
+			phy-names = "usb2-phy", "usb3-phy";
+		};
+	};
+
 	usbdrd_phy0: phy@12100000 {
 		compatible = "samsung,exynos5420-usbdrd-phy";
 		reg = <0x12100000 0x100>;
@@ -743,6 +760,23 @@
 		#phy-cells = <1>;
 	};
 
+	usb@12400000 {
+		compatible = "samsung,exynos5250-dwusb3";
+		clocks = <&clock CLK_USBD301>;
+		clock-names = "usbdrd30";
+		#address-cells = <1>;
+		#size-cells = <1>;
+		ranges;
+
+		dwc3 {
+			compatible = "synopsys,dwc3";
+			reg = <0x12400000 0x10000>;
+			interrupts = <0 73 0>;
+			phys = <&usbdrd_phy1 0>, <&usbdrd_phy1 1>;
+			phy-names = "usb2-phy", "usb3-phy";
+		};
+	};
+
 	usbdrd_phy1: phy@12500000 {
 		compatible = "samsung,exynos5420-usbdrd-phy";
 		reg = <0x12500000 0x100>;
-- 
1.7.10.4


WARNING: multiple messages have this Message-ID (diff)
From: gautam.vivek@samsung.com (Vivek Gautam)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v5 2/9] dt: exynos5420: Enable support for DWC3 controller
Date: Wed, 23 Apr 2014 20:00:44 +0530	[thread overview]
Message-ID: <1398263451-18023-3-git-send-email-gautam.vivek@samsung.com> (raw)
In-Reply-To: <1398263451-18023-1-git-send-email-gautam.vivek@samsung.com>

Add device tree nodes for DWC3 controller present on
Exynos 5420 SoC, to enable support for USB 3.0.

Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
---
 arch/arm/boot/dts/exynos5420.dtsi |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi
index f69745f..e808d1b 100644
--- a/arch/arm/boot/dts/exynos5420.dtsi
+++ b/arch/arm/boot/dts/exynos5420.dtsi
@@ -733,6 +733,23 @@
 		samsung,power-domain = <&g2d_pd>;
 	};
 
+	usb at 12000000 {
+		compatible = "samsung,exynos5250-dwusb3";
+		clocks = <&clock CLK_USBD300>;
+		clock-names = "usbdrd30";
+		#address-cells = <1>;
+		#size-cells = <1>;
+		ranges;
+
+		dwc3 {
+			compatible = "synopsys,dwc3";
+			reg = <0x12000000 0x10000>;
+			interrupts = <0 72 0>;
+			phys = <&usbdrd_phy0 0>, <&usbdrd_phy0 1>;
+			phy-names = "usb2-phy", "usb3-phy";
+		};
+	};
+
 	usbdrd_phy0: phy at 12100000 {
 		compatible = "samsung,exynos5420-usbdrd-phy";
 		reg = <0x12100000 0x100>;
@@ -743,6 +760,23 @@
 		#phy-cells = <1>;
 	};
 
+	usb at 12400000 {
+		compatible = "samsung,exynos5250-dwusb3";
+		clocks = <&clock CLK_USBD301>;
+		clock-names = "usbdrd30";
+		#address-cells = <1>;
+		#size-cells = <1>;
+		ranges;
+
+		dwc3 {
+			compatible = "synopsys,dwc3";
+			reg = <0x12400000 0x10000>;
+			interrupts = <0 73 0>;
+			phys = <&usbdrd_phy1 0>, <&usbdrd_phy1 1>;
+			phy-names = "usb2-phy", "usb3-phy";
+		};
+	};
+
 	usbdrd_phy1: phy at 12500000 {
 		compatible = "samsung,exynos5420-usbdrd-phy";
 		reg = <0x12500000 0x100>;
-- 
1.7.10.4

  parent reply	other threads:[~2014-04-23 14:31 UTC|newest]

Thread overview: 29+ 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 ` 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-23 14:30   ` Vivek Gautam
2014-04-25  6:27   ` Tushar Behera
2014-04-25  6:27     ` Tushar Behera
2014-04-23 14:30 ` Vivek Gautam [this message]
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-23 14:30   ` Vivek Gautam
2014-04-23 14:30   ` Vivek Gautam
2014-04-25  6:31   ` Tushar Behera
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
2014-04-23 14:30   ` Vivek Gautam
2014-04-23 14:30   ` Vivek Gautam
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
2014-04-23 14:30   ` Vivek Gautam
2014-04-23 14:30 ` [PATCH v5 6/9] dts: exynos5420-peach-pit: " Vivek Gautam
2014-04-23 14:30   ` Vivek Gautam
2014-04-23 14:30   ` Vivek Gautam
2014-04-23 14:30 ` [PATCH v5 7/9] dts: exynos5420-smdk5420: " Vivek Gautam
2014-04-23 14:30   ` Vivek Gautam
2014-04-23 14:30   ` 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   ` Vivek Gautam
2014-04-23 14:30 ` [PATCH v5 9/9] ARM: exynos_defconfig: Remove SAMSUNG_USB3PHY config Vivek Gautam
2014-04-23 14:30   ` 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-3-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.