* [PATCH 0/6] ARM: dts: omap: add dt data for dwc3
@ 2013-01-25 3:18 Kishon Vijay Abraham I
2013-01-25 3:18 ` [PATCH 1/6] ARM: dts: omap5: Add omap control usb data Kishon Vijay Abraham I
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: Kishon Vijay Abraham I @ 2013-01-25 3:18 UTC (permalink / raw)
To: balbi, b-cousson, tony, linux, s-guiriec, gg, linux-omap,
devicetree-discuss, linux-arm-kernel, linux-kernel
This patch series adds dt data to get dwc3 working in omap5.
This patch series is developed on
git://github.com/rrnayak/linux.git omap5-3.8-rc4-base-palmas
This is the last series of the series of patches.
I've kept everything in a single branch
git://gitorious.org/linux-usb/linux-usb.git omap5-with-palmas
(changes up to 23b4dfa2ab7052569cd88acc6383c4b1a8e8a482)
Did enumeration testing on omap5 evm.
Kishon Vijay Abraham I (6):
ARM: dts: omap5: Add omap control usb data
ARM: dts: omap5: Add ocp2scp data
ARM: dts: omap5: Add omap-usb3 and omap-usb2 dt data
ARM: dts: omap5: add dwc3 omap dt data
ARM: dts: omap5: add dwc3 core dt data
ARM: dts: palmas: update dt data for palmas-usb
arch/arm/boot/dts/omap5.dtsi | 48 +++++++++++++++++++++++++++++++++++++++++
arch/arm/boot/dts/palmas.dtsi | 4 ++--
2 files changed, 50 insertions(+), 2 deletions(-)
--
1.7.9.5
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 1/6] ARM: dts: omap5: Add omap control usb data
2013-01-25 3:18 [PATCH 0/6] ARM: dts: omap: add dt data for dwc3 Kishon Vijay Abraham I
@ 2013-01-25 3:18 ` Kishon Vijay Abraham I
[not found] ` <1359083915-8690-1-git-send-email-kishon-l0cyMroinI0@public.gmane.org>
` (2 subsequent siblings)
3 siblings, 0 replies; 7+ messages in thread
From: Kishon Vijay Abraham I @ 2013-01-25 3:18 UTC (permalink / raw)
To: balbi, b-cousson, tony, linux, s-guiriec, gg, linux-omap,
devicetree-discuss, linux-arm-kernel, linux-kernel
Add omap control usb data in omap5 device tree file. This will have the
register address of registers to power on the USB2 PHY and USB3 PHY. The
information for the node added here is available in
Documentation/devicetree/bindings/usb/omap-usb.txt
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
---
arch/arm/boot/dts/omap5.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi
index 7a78d1b..edc7464 100644
--- a/arch/arm/boot/dts/omap5.dtsi
+++ b/arch/arm/boot/dts/omap5.dtsi
@@ -504,5 +504,13 @@
hw-caps-ll-interface;
hw-caps-temp-alert;
};
+
+ omap_control_usb: omap-control-usb@4a002300 {
+ compatible = "ti,omap-control-usb";
+ reg = <0x4a002300 0x4>,
+ <0x4a002370 0x4>;
+ reg-names = "control_dev_conf", "phy_power_usb";
+ ti,type = <2>;
+ };
};
};
--
1.7.9.5
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 2/6] ARM: dts: omap5: Add ocp2scp data
[not found] ` <1359083915-8690-1-git-send-email-kishon-l0cyMroinI0@public.gmane.org>
@ 2013-01-25 3:18 ` Kishon Vijay Abraham I
2013-01-25 3:18 ` [PATCH 3/6] ARM: dts: omap5: Add omap-usb3 and omap-usb2 dt data Kishon Vijay Abraham I
2013-01-25 3:18 ` [PATCH 6/6] ARM: dts: palmas: update dt data for palmas-usb Kishon Vijay Abraham I
2 siblings, 0 replies; 7+ messages in thread
From: Kishon Vijay Abraham I @ 2013-01-25 3:18 UTC (permalink / raw)
To: balbi-l0cyMroinI0, b-cousson-l0cyMroinI0,
tony-4v6yS6AI5VpBDgjK7y7TUQ, linux-lFZ/pmaqli7XmaaqVzeoHQ,
s-guiriec-l0cyMroinI0, gg-kDsPt+C1G03kYMGBc/C6ZA,
linux-omap-u79uwXL29TY76Z2rM5mHXA,
devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-kernel-u79uwXL29TY76Z2rM5mHXA
Add ocp2scp data node in omap5 device tree file. The information for
the node added here can be found @
Documentation/devicetree/bindings/bus/omap-ocp2scp.txt
Signed-off-by: Kishon Vijay Abraham I <kishon-l0cyMroinI0@public.gmane.org>
---
arch/arm/boot/dts/omap5.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi
index edc7464..d149330 100644
--- a/arch/arm/boot/dts/omap5.dtsi
+++ b/arch/arm/boot/dts/omap5.dtsi
@@ -512,5 +512,13 @@
reg-names = "control_dev_conf", "phy_power_usb";
ti,type = <2>;
};
+
+ ocp2scp {
+ compatible = "ti,omap-ocp2scp";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
+ ti,hwmods = "ocp2scp1";
+ };
};
};
--
1.7.9.5
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 3/6] ARM: dts: omap5: Add omap-usb3 and omap-usb2 dt data
[not found] ` <1359083915-8690-1-git-send-email-kishon-l0cyMroinI0@public.gmane.org>
2013-01-25 3:18 ` [PATCH 2/6] ARM: dts: omap5: Add ocp2scp data Kishon Vijay Abraham I
@ 2013-01-25 3:18 ` Kishon Vijay Abraham I
2013-01-25 3:18 ` [PATCH 6/6] ARM: dts: palmas: update dt data for palmas-usb Kishon Vijay Abraham I
2 siblings, 0 replies; 7+ messages in thread
From: Kishon Vijay Abraham I @ 2013-01-25 3:18 UTC (permalink / raw)
To: balbi-l0cyMroinI0, b-cousson-l0cyMroinI0,
tony-4v6yS6AI5VpBDgjK7y7TUQ, linux-lFZ/pmaqli7XmaaqVzeoHQ,
s-guiriec-l0cyMroinI0, gg-kDsPt+C1G03kYMGBc/C6ZA,
linux-omap-u79uwXL29TY76Z2rM5mHXA,
devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-kernel-u79uwXL29TY76Z2rM5mHXA
Add omap-usb3 and omap-usb2 data node in omap5 device tree file.
The information for the node added here is available @
Documentation/devicetree/bindings/usb/usb-phy.txt
Signed-off-by: Kishon Vijay Abraham I <kishon-l0cyMroinI0@public.gmane.org>
---
arch/arm/boot/dts/omap5.dtsi | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi
index d149330..5f59bf2 100644
--- a/arch/arm/boot/dts/omap5.dtsi
+++ b/arch/arm/boot/dts/omap5.dtsi
@@ -519,6 +519,20 @@
#size-cells = <1>;
ranges;
ti,hwmods = "ocp2scp1";
+ usb2_phy: usb2phy@4a084000 {
+ compatible = "ti,omap-usb2";
+ reg = <0x4a084000 0x7c>;
+ ctrl_module = <&omap_control_usb>;
+ };
+
+ usb3_phy: usb3phy@4a084400 {
+ compatible = "ti,omap-usb3";
+ reg = <0x4a084400 0x80>,
+ <0x4a084800 0x64>,
+ <0x4a084c00 0x40>;
+ reg-names = "phy_rx", "phy_tx", "pll_ctrl";
+ ctrl_module = <&omap_control_usb>;
+ };
};
};
};
--
1.7.9.5
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 4/6] ARM: dts: omap5: add dwc3 omap dt data
2013-01-25 3:18 [PATCH 0/6] ARM: dts: omap: add dt data for dwc3 Kishon Vijay Abraham I
2013-01-25 3:18 ` [PATCH 1/6] ARM: dts: omap5: Add omap control usb data Kishon Vijay Abraham I
[not found] ` <1359083915-8690-1-git-send-email-kishon-l0cyMroinI0@public.gmane.org>
@ 2013-01-25 3:18 ` Kishon Vijay Abraham I
2013-01-25 3:18 ` [PATCH 5/6] ARM: dts: omap5: add dwc3 core " Kishon Vijay Abraham I
3 siblings, 0 replies; 7+ messages in thread
From: Kishon Vijay Abraham I @ 2013-01-25 3:18 UTC (permalink / raw)
To: balbi, b-cousson, tony, linux, s-guiriec, gg, linux-omap,
devicetree-discuss, linux-arm-kernel, linux-kernel
Add dwc3 omap glue data to the omap5 dt data file. The information about
the dt node added here is available @
Documentation/devicetree/bindings/usb/omap-usb.txt
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
---
arch/arm/boot/dts/omap5.dtsi | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi
index 5f59bf2..1703a72 100644
--- a/arch/arm/boot/dts/omap5.dtsi
+++ b/arch/arm/boot/dts/omap5.dtsi
@@ -513,6 +513,17 @@
ti,type = <2>;
};
+ omap_dwc3@4a020000 {
+ compatible = "ti,dwc3";
+ ti,hwmods = "usb_otg_ss";
+ reg = <0x4a020000 0x1ff>;
+ interrupts = <0 93 4>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ utmi-mode = <2>;
+ ranges;
+ };
+
ocp2scp {
compatible = "ti,omap-ocp2scp";
#address-cells = <1>;
--
1.7.9.5
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 5/6] ARM: dts: omap5: add dwc3 core dt data
2013-01-25 3:18 [PATCH 0/6] ARM: dts: omap: add dt data for dwc3 Kishon Vijay Abraham I
` (2 preceding siblings ...)
2013-01-25 3:18 ` [PATCH 4/6] ARM: dts: omap5: add dwc3 omap dt data Kishon Vijay Abraham I
@ 2013-01-25 3:18 ` Kishon Vijay Abraham I
3 siblings, 0 replies; 7+ messages in thread
From: Kishon Vijay Abraham I @ 2013-01-25 3:18 UTC (permalink / raw)
To: balbi, b-cousson, tony, linux, s-guiriec, gg, linux-omap,
devicetree-discuss, linux-arm-kernel, linux-kernel
Add dwc3 core dt data as a subnode to dwc3 omap glue data in omap5 dt
data file. The information for the entered data node is available @
Documentation/devicetree/bindings/usb/dwc3.txt
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
---
arch/arm/boot/dts/omap5.dtsi | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi
index 1703a72..58118c4 100644
--- a/arch/arm/boot/dts/omap5.dtsi
+++ b/arch/arm/boot/dts/omap5.dtsi
@@ -522,6 +522,13 @@
#size-cells = <1>;
utmi-mode = <2>;
ranges;
+ dwc3@4a030000 {
+ compatible = "synopsys,dwc3";
+ reg = <0x4a030000 0xcfff>;
+ interrupts = <0 92 4>;
+ usb_phy = <&usb2_phy>, <&usb3_phy>;
+ tx-fifo-resize;
+ };
};
ocp2scp {
--
1.7.9.5
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 6/6] ARM: dts: palmas: update dt data for palmas-usb
[not found] ` <1359083915-8690-1-git-send-email-kishon-l0cyMroinI0@public.gmane.org>
2013-01-25 3:18 ` [PATCH 2/6] ARM: dts: omap5: Add ocp2scp data Kishon Vijay Abraham I
2013-01-25 3:18 ` [PATCH 3/6] ARM: dts: omap5: Add omap-usb3 and omap-usb2 dt data Kishon Vijay Abraham I
@ 2013-01-25 3:18 ` Kishon Vijay Abraham I
2 siblings, 0 replies; 7+ messages in thread
From: Kishon Vijay Abraham I @ 2013-01-25 3:18 UTC (permalink / raw)
To: balbi-l0cyMroinI0, b-cousson-l0cyMroinI0,
tony-4v6yS6AI5VpBDgjK7y7TUQ, linux-lFZ/pmaqli7XmaaqVzeoHQ,
s-guiriec-l0cyMroinI0, gg-kDsPt+C1G03kYMGBc/C6ZA,
linux-omap-u79uwXL29TY76Z2rM5mHXA,
devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-kernel-u79uwXL29TY76Z2rM5mHXA
Update palmas-usb data node in palmas device tree file
Signed-off-by: Kishon Vijay Abraham I <kishon-l0cyMroinI0@public.gmane.org>
---
arch/arm/boot/dts/palmas.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/palmas.dtsi b/arch/arm/boot/dts/palmas.dtsi
index d20adb4..0cf39da 100644
--- a/arch/arm/boot/dts/palmas.dtsi
+++ b/arch/arm/boot/dts/palmas.dtsi
@@ -318,8 +318,8 @@
palmas_usb {
compatible = "ti,palmas-usb";
- ti,no_control_vbus = <0>;
- ti,wakeup = <0>;
+ ti,wakeup;
+ vbus-supply = <&smps10_reg>;
};
};
--
1.7.9.5
^ permalink raw reply related [flat|nested] 7+ messages in thread
end of thread, other threads:[~2013-01-25 3:18 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-25 3:18 [PATCH 0/6] ARM: dts: omap: add dt data for dwc3 Kishon Vijay Abraham I
2013-01-25 3:18 ` [PATCH 1/6] ARM: dts: omap5: Add omap control usb data Kishon Vijay Abraham I
[not found] ` <1359083915-8690-1-git-send-email-kishon-l0cyMroinI0@public.gmane.org>
2013-01-25 3:18 ` [PATCH 2/6] ARM: dts: omap5: Add ocp2scp data Kishon Vijay Abraham I
2013-01-25 3:18 ` [PATCH 3/6] ARM: dts: omap5: Add omap-usb3 and omap-usb2 dt data Kishon Vijay Abraham I
2013-01-25 3:18 ` [PATCH 6/6] ARM: dts: palmas: update dt data for palmas-usb Kishon Vijay Abraham I
2013-01-25 3:18 ` [PATCH 4/6] ARM: dts: omap5: add dwc3 omap dt data Kishon Vijay Abraham I
2013-01-25 3:18 ` [PATCH 5/6] ARM: dts: omap5: add dwc3 core " Kishon Vijay Abraham I
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).