All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jean-Jacques Hiblot <jjhiblot@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v1 6/6] dts: dra7x: enable host on USB2 for all the platforms of the DRA7 family
Date: Fri, 5 Jan 2018 14:50:43 +0100	[thread overview]
Message-ID: <1515160243-19815-7-git-send-email-jjhiblot@ti.com> (raw)
In-Reply-To: <1515160243-19815-1-git-send-email-jjhiblot@ti.com>

This enables the USB2. USB1 is not enabled because it's managed by platform
code not by DM.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>

---

 arch/arm/dts/dra7-evm-common.dtsi  | 7 +++++++
 arch/arm/dts/dra72-evm-common.dtsi | 4 ++++
 arch/arm/dts/omap5-u-boot.dtsi     | 4 ++++
 3 files changed, 15 insertions(+)

diff --git a/arch/arm/dts/dra7-evm-common.dtsi b/arch/arm/dts/dra7-evm-common.dtsi
index 343e95f..4b11c16 100644
--- a/arch/arm/dts/dra7-evm-common.dtsi
+++ b/arch/arm/dts/dra7-evm-common.dtsi
@@ -191,15 +191,22 @@
 
 &omap_dwc3_1 {
 	extcon = <&extcon_usb1>;
+	status = "disabled";
 };
 
 &usb1 {
 	dr_mode = "otg";
 	extcon = <&extcon_usb1>;
+	status = "disabled";
+};
+
+&omap_dwc3_2 {
+	status = "okay";
 };
 
 &usb2 {
 	dr_mode = "host";
+	status = "okay";
 };
 
 &atl {
diff --git a/arch/arm/dts/dra72-evm-common.dtsi b/arch/arm/dts/dra72-evm-common.dtsi
index 2e485a1..dae3de0 100644
--- a/arch/arm/dts/dra72-evm-common.dtsi
+++ b/arch/arm/dts/dra72-evm-common.dtsi
@@ -386,19 +386,23 @@
 
 &omap_dwc3_1 {
 	extcon = <&extcon_usb1>;
+	status = "disabled";
 };
 
 &omap_dwc3_2 {
 	extcon = <&extcon_usb2>;
+	status = "okay";
 };
 
 &usb1 {
 	dr_mode = "otg";
 	extcon = <&extcon_usb1>;
+	status = "disabled";
 };
 
 &usb2 {
 	dr_mode = "host";
+	status = "okay";
 };
 
 &mmc1 {
diff --git a/arch/arm/dts/omap5-u-boot.dtsi b/arch/arm/dts/omap5-u-boot.dtsi
index bf2684c..a6a7801 100644
--- a/arch/arm/dts/omap5-u-boot.dtsi
+++ b/arch/arm/dts/omap5-u-boot.dtsi
@@ -15,6 +15,10 @@
 	ocp {
 		u-boot,dm-spl;
 
+		ocp2scp at 4a080000 {
+			compatible = "ti,omap-ocp2scp", "simple-bus";
+		};
+
 		ocp2scp at 4a090000 {
 			compatible = "ti,omap-ocp2scp", "simple-bus";
 		};
-- 
1.9.1

  parent reply	other threads:[~2018-01-05 13:50 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-05 13:50 [U-Boot] [PATCH v1 0/6] Add support for DM_USB for TI's DRA7 platforms Jean-Jacques Hiblot
2018-01-05 13:50 ` [U-Boot] [PATCH v1 1/6] board: ti: dra7xx-evm: turn on USB clocks in late init stage Jean-Jacques Hiblot
2018-01-09 19:18   ` Tom Rini
2018-01-05 13:50 ` [U-Boot] [PATCH v1 2/6] syscon: dm: Add a new method to get a regmap from DTS Jean-Jacques Hiblot
2018-01-05 13:50 ` [U-Boot] [PATCH v1 3/6] phy: Add a new driver for OMAP's USB2 PHYs Jean-Jacques Hiblot
2018-03-05 11:56   ` Vignesh R
2018-03-05 13:20     ` Jean-Jacques Hiblot
2018-01-05 13:50 ` [U-Boot] [PATCH v1 4/6] usb: omap5: Add glue logic to support DM for USB host Jean-Jacques Hiblot
2018-01-05 13:50 ` [U-Boot] [PATCH v1 5/6] configs: enable DM_USB for all the platforms of the DRA7 family Jean-Jacques Hiblot
2018-01-09 19:18   ` Tom Rini
2018-01-05 13:50 ` Jean-Jacques Hiblot [this message]
2018-01-09 19:18   ` [U-Boot] [PATCH v1 6/6] dts: dra7x: enable host on USB2 " Tom Rini

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=1515160243-19815-7-git-send-email-jjhiblot@ti.com \
    --to=jjhiblot@ti.com \
    --cc=u-boot@lists.denx.de \
    /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.