* [PATCH v5 0/3] ARM: Exynos5250: Enabling dwc3-exynos driver
@ 2013-03-15 8:02 Vivek Gautam
2013-03-15 8:02 ` [PATCH v5 1/3] usb: Add device tree bindings for dwc3-exynos Vivek Gautam
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: Vivek Gautam @ 2013-03-15 8:02 UTC (permalink / raw)
To: linux-samsung-soc, linux-usb, devicetree-discuss
Cc: linux-kernel, linux-doc, balbi, rob.herring, kgene.kim,
thomas.abraham, grant.likely, dianders, jg1.han, p.paneri
This patch-set is in continuation with patch-series:
[PATCH v4 0/4] Enable ehci, ohci and dwc3 devices on exynos5250
out of which follwowing patches have been picked up:
ARM: Exynos5250: Enabling ehci-s5p driver
ARM: Exynos5250: Enabling ohci-exynos driver
Based on following patch-set for Samsung's usb PHY enablement:
[PATCH v4 0/2] ARM: Exynos5250: Enabling samsung usb phy
and further depends on dwc3-exynos driver patch-set:
[PATCH 0/2] dwc3: exynos: Device tree fixes
Changes from v4:
- Aligning with the recently merged common clock framework, thereby
no place for clock file changes. ;-)
- Adding proper binding documentation as per latest bindings changes in
dwc3 driver (dwc3/core.c as well as for dwc3-exynos.c change reflected
by above patch-set.
- Bifurcating the patch to separate our Documentation, arch and dts changes.
Vivek Gautam (3):
usb: Add device tree bindings for dwc3-exynos
ARM: exynos5250: dts: Enabling dwc3-exynos driver
ARM: exynos5: Enable XHCI support on exynos5
.../devicetree/bindings/usb/exynos-usb.txt | 34 ++++++++++++++++++++
arch/arm/boot/dts/exynos5250.dtsi | 20 ++++++++++-
arch/arm/mach-exynos/Kconfig | 1 +
3 files changed, 53 insertions(+), 2 deletions(-)
--
1.7.6.5
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v5 1/3] usb: Add device tree bindings for dwc3-exynos
2013-03-15 8:02 [PATCH v5 0/3] ARM: Exynos5250: Enabling dwc3-exynos driver Vivek Gautam
@ 2013-03-15 8:02 ` Vivek Gautam
2013-03-15 8:02 ` [PATCH v5 2/3] ARM: exynos5250: dts: Enabling dwc3-exynos driver Vivek Gautam
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Vivek Gautam @ 2013-03-15 8:02 UTC (permalink / raw)
To: linux-samsung-soc, linux-usb, devicetree-discuss
Cc: linux-kernel, linux-doc, balbi, rob.herring, kgene.kim,
thomas.abraham, grant.likely, dianders, jg1.han, p.paneri
Document device tree binding information as required by the
Samsung' USB 3.0 controller.
Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
---
.../devicetree/bindings/usb/exynos-usb.txt | 34 ++++++++++++++++++++
1 files changed, 34 insertions(+), 0 deletions(-)
diff --git a/Documentation/devicetree/bindings/usb/exynos-usb.txt b/Documentation/devicetree/bindings/usb/exynos-usb.txt
index b3abde7..d967ba1 100644
--- a/Documentation/devicetree/bindings/usb/exynos-usb.txt
+++ b/Documentation/devicetree/bindings/usb/exynos-usb.txt
@@ -48,3 +48,37 @@ Example:
clocks = <&clock 285>;
clock-names = "usbhost";
};
+
+DWC3
+Required properties:
+ - compatible: should be "samsung,exynos5250-dwusb3" for USB 3.0 DWC3
+ controller.
+ - #address-cells, #size-cells : should be '1' if the device has sub-nodes
+ with 'reg' property.
+ - ranges: allows valid 1:1 translation between child's address space and
+ parent's address space
+ - clocks: Clock IDs array as required by the controller.
+ - clock-names: names of clocks correseponding to IDs in the clock property
+
+Sub-nodes:
+The dwc3 core should be added as subnode to Exynos dwc3 glue.
+- dwc3 :
+ The binding details of dwc3 can be found in:
+ Documentation/devicetree/bindings/usb/dwc3.txt
+
+Example:
+ usb@12000000 {
+ compatible = "samsung,exynos5250-dwusb3";
+ clocks = <&clock 286>;
+ clock-names = "usbdrd30";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
+
+ dwc3 {
+ compatible = "synopsys,dwc3";
+ reg = <0x12000000 0x10000>;
+ interrupts = <0 72 0>;
+ usb-phy = <&usb2_phy &usb3_phy>;
+ };
+ };
--
1.7.6.5
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH v5 2/3] ARM: exynos5250: dts: Enabling dwc3-exynos driver
2013-03-15 8:02 [PATCH v5 0/3] ARM: Exynos5250: Enabling dwc3-exynos driver Vivek Gautam
2013-03-15 8:02 ` [PATCH v5 1/3] usb: Add device tree bindings for dwc3-exynos Vivek Gautam
@ 2013-03-15 8:02 ` Vivek Gautam
2013-03-15 8:02 ` [PATCH v5 3/3] ARM: exynos5: Enable XHCI support on exynos5 Vivek Gautam
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Vivek Gautam @ 2013-03-15 8:02 UTC (permalink / raw)
To: linux-samsung-soc, linux-usb, devicetree-discuss
Cc: linux-kernel, linux-doc, balbi, rob.herring, kgene.kim,
thomas.abraham, grant.likely, dianders, jg1.han, p.paneri
Adding DWC3 device tree node for Exynos5250 needed to
parse device tree data.
Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
---
arch/arm/boot/dts/exynos5250.dtsi | 20 ++++++++++++++++++--
1 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi
index 5b6f8c8..e0feedb 100644
--- a/arch/arm/boot/dts/exynos5250.dtsi
+++ b/arch/arm/boot/dts/exynos5250.dtsi
@@ -398,7 +398,23 @@
dma-names = "tx", "rx";
};
- usbphy@12100000 {
+ usb@12000000 {
+ compatible = "samsung,exynos5250-dwusb3";
+ clocks = <&clock 286>;
+ clock-names = "usbdrd30";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
+
+ dwc3 {
+ compatible = "synopsys,dwc3";
+ reg = <0x12000000 0x10000>;
+ interrupts = <0 72 0>;
+ usb-phy = <&usb2_phy &usb3_phy>;
+ };
+ };
+
+ usb3_phy: usbphy@12100000 {
compatible = "samsung,exynos5250-usb3phy";
reg = <0x12100000 0x100>;
clocks = <&clock 1>, <&clock 286>;
@@ -430,7 +446,7 @@
clock-names = "usbhost";
};
- usbphy@12130000 {
+ usb2_phy: usbphy@12130000 {
compatible = "samsung,exynos5250-usb2phy";
reg = <0x12130000 0x100>;
clocks = <&clock 1>, <&clock 285>;
--
1.7.6.5
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH v5 3/3] ARM: exynos5: Enable XHCI support on exynos5
2013-03-15 8:02 [PATCH v5 0/3] ARM: Exynos5250: Enabling dwc3-exynos driver Vivek Gautam
2013-03-15 8:02 ` [PATCH v5 1/3] usb: Add device tree bindings for dwc3-exynos Vivek Gautam
2013-03-15 8:02 ` [PATCH v5 2/3] ARM: exynos5250: dts: Enabling dwc3-exynos driver Vivek Gautam
@ 2013-03-15 8:02 ` Vivek Gautam
2013-04-04 6:47 ` [PATCH v5 0/3] ARM: Exynos5250: Enabling dwc3-exynos driver Vivek Gautam
2013-04-10 10:38 ` Kukjin Kim
4 siblings, 0 replies; 6+ messages in thread
From: Vivek Gautam @ 2013-03-15 8:02 UTC (permalink / raw)
To: linux-samsung-soc, linux-usb, devicetree-discuss
Cc: linux-kernel, linux-doc, balbi, rob.herring, kgene.kim,
thomas.abraham, grant.likely, dianders, jg1.han, p.paneri
This patch enables support for XHCI on exynos5 series of SOCs,
to support host side USB 3.0 support.
Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
---
arch/arm/mach-exynos/Kconfig | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig
index ef3b69a..1c582cf 100644
--- a/arch/arm/mach-exynos/Kconfig
+++ b/arch/arm/mach-exynos/Kconfig
@@ -420,6 +420,7 @@ config MACH_EXYNOS5_DT
depends on ARCH_EXYNOS5
select ARM_AMBA
select CLKSRC_OF
+ select USB_ARCH_HAS_XHCI
select USE_OF
help
Machine support for Samsung EXYNOS5 machine with device tree enabled.
--
1.7.6.5
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH v5 0/3] ARM: Exynos5250: Enabling dwc3-exynos driver
2013-03-15 8:02 [PATCH v5 0/3] ARM: Exynos5250: Enabling dwc3-exynos driver Vivek Gautam
` (2 preceding siblings ...)
2013-03-15 8:02 ` [PATCH v5 3/3] ARM: exynos5: Enable XHCI support on exynos5 Vivek Gautam
@ 2013-04-04 6:47 ` Vivek Gautam
2013-04-10 10:38 ` Kukjin Kim
4 siblings, 0 replies; 6+ messages in thread
From: Vivek Gautam @ 2013-04-04 6:47 UTC (permalink / raw)
To: Kukjin Kim
Cc: linux-samsung-soc, linux-usb, devicetree-discuss, linux-kernel,
linux-doc, balbi, rob.herring, thomas.abraham, grant.likely,
dianders, jg1.han, p.paneri, Vivek Gautam
Hi Kukjin,
On Fri, Mar 15, 2013 at 1:32 PM, Vivek Gautam <gautam.vivek@samsung.com> wrote:
> This patch-set is in continuation with patch-series:
> [PATCH v4 0/4] Enable ehci, ohci and dwc3 devices on exynos5250
> out of which follwowing patches have been picked up:
> ARM: Exynos5250: Enabling ehci-s5p driver
> ARM: Exynos5250: Enabling ohci-exynos driver
>
> Based on following patch-set for Samsung's usb PHY enablement:
> [PATCH v4 0/2] ARM: Exynos5250: Enabling samsung usb phy
>
> and further depends on dwc3-exynos driver patch-set:
> [PATCH 0/2] dwc3: exynos: Device tree fixes
>
> Changes from v4:
> - Aligning with the recently merged common clock framework, thereby
> no place for clock file changes. ;-)
> - Adding proper binding documentation as per latest bindings changes in
> dwc3 driver (dwc3/core.c as well as for dwc3-exynos.c change reflected
> by above patch-set.
> - Bifurcating the patch to separate our Documentation, arch and dts changes.
>
> Vivek Gautam (3):
> usb: Add device tree bindings for dwc3-exynos
> ARM: exynos5250: dts: Enabling dwc3-exynos driver
> ARM: exynos5: Enable XHCI support on exynos5
>
> .../devicetree/bindings/usb/exynos-usb.txt | 34 ++++++++++++++++++++
> arch/arm/boot/dts/exynos5250.dtsi | 20 ++++++++++-
> arch/arm/mach-exynos/Kconfig | 1 +
> 3 files changed, 53 insertions(+), 2 deletions(-)
Waiting for your review on this patch-set. :-)
--
Thanks & Regards
Vivek
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: [PATCH v5 0/3] ARM: Exynos5250: Enabling dwc3-exynos driver
2013-03-15 8:02 [PATCH v5 0/3] ARM: Exynos5250: Enabling dwc3-exynos driver Vivek Gautam
` (3 preceding siblings ...)
2013-04-04 6:47 ` [PATCH v5 0/3] ARM: Exynos5250: Enabling dwc3-exynos driver Vivek Gautam
@ 2013-04-10 10:38 ` Kukjin Kim
4 siblings, 0 replies; 6+ messages in thread
From: Kukjin Kim @ 2013-04-10 10:38 UTC (permalink / raw)
To: 'Vivek Gautam', linux-samsung-soc, linux-usb, devicetree-discuss
Cc: linux-kernel, linux-doc, balbi, rob.herring, thomas.abraham,
grant.likely, dianders, jg1.han, p.paneri
Vivek Gautam wrote:
>
> This patch-set is in continuation with patch-series:
> [PATCH v4 0/4] Enable ehci, ohci and dwc3 devices on exynos5250
> out of which follwowing patches have been picked up:
> ARM: Exynos5250: Enabling ehci-s5p driver
> ARM: Exynos5250: Enabling ohci-exynos driver
>
> Based on following patch-set for Samsung's usb PHY enablement:
> [PATCH v4 0/2] ARM: Exynos5250: Enabling samsung usb phy
>
> and further depends on dwc3-exynos driver patch-set:
> [PATCH 0/2] dwc3: exynos: Device tree fixes
>
> Changes from v4:
> - Aligning with the recently merged common clock framework, thereby
> no place for clock file changes. ;-)
> - Adding proper binding documentation as per latest bindings changes in
> dwc3 driver (dwc3/core.c as well as for dwc3-exynos.c change reflected
> by above patch-set.
> - Bifurcating the patch to separate our Documentation, arch and dts
> changes.
>
> Vivek Gautam (3):
> usb: Add device tree bindings for dwc3-exynos
> ARM: exynos5250: dts: Enabling dwc3-exynos driver
> ARM: exynos5: Enable XHCI support on exynos5
>
> .../devicetree/bindings/usb/exynos-usb.txt | 34
> ++++++++++++++++++++
> arch/arm/boot/dts/exynos5250.dtsi | 20 ++++++++++-
> arch/arm/mach-exynos/Kconfig | 1 +
> 3 files changed, 53 insertions(+), 2 deletions(-)
>
> --
> 1.7.6.5
Applied this series, thanks.
- Kukjin
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-04-10 10:38 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-15 8:02 [PATCH v5 0/3] ARM: Exynos5250: Enabling dwc3-exynos driver Vivek Gautam
2013-03-15 8:02 ` [PATCH v5 1/3] usb: Add device tree bindings for dwc3-exynos Vivek Gautam
2013-03-15 8:02 ` [PATCH v5 2/3] ARM: exynos5250: dts: Enabling dwc3-exynos driver Vivek Gautam
2013-03-15 8:02 ` [PATCH v5 3/3] ARM: exynos5: Enable XHCI support on exynos5 Vivek Gautam
2013-04-04 6:47 ` [PATCH v5 0/3] ARM: Exynos5250: Enabling dwc3-exynos driver Vivek Gautam
2013-04-10 10:38 ` Kukjin Kim
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).