All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rajesh Bhagat <rajesh.bhagat@nxp.com>
To: <linux-usb@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<devicetree@vger.kernel.org>
Cc: <Peter.Chen@nxp.com>, <gregkh@linuxfoundation.org>,
	<kishon@ti.com>, <robh+dt@kernel.org>, <shawnguo@kernel.org>,
	<linux-arm-kernel@lists.infradead.org>,
	Rajesh Bhagat <rajesh.bhagat@nxp.com>
Subject: [PATCH v2 5/5] arm: dts: ls1021a: enable chipidea driver and USB 2.0 PHY driver
Date: Sat, 9 Jul 2016 10:00:56 +0530	[thread overview]
Message-ID: <1468038656-10345-6-git-send-email-rajesh.bhagat@nxp.com> (raw)
In-Reply-To: <1468038656-10345-1-git-send-email-rajesh.bhagat@nxp.com>

This patch adds entries in dts to enable chipidea platform driver
and USB 2.0 PHY driver.

Signed-off-by: Rajesh Bhagat <rajesh.bhagat@nxp.com>
---
Changes in v2:
 - Reworked for latest changes

 arch/arm/boot/dts/ls1021a.dtsi | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi
index 5ae8e92..bbba1ba 100644
--- a/arch/arm/boot/dts/ls1021a.dtsi
+++ b/arch/arm/boot/dts/ls1021a.dtsi
@@ -612,10 +612,23 @@
 			};
 		};
 
+		usbphy0: usbphy@8600000 {
+			compatible = "fsl,qoriq-usb2-phy",
+				     "fsl,qoriq-usb2-phy-v1.0";
+			reg = <0x0 0x8600000 0x0 0x1000>;
+			#phy-cells = <0>;
+			phy_type = "ulpi";
+		};
+
 		usb@8600000 {
-			compatible = "fsl-usb2-dr-v2.5", "fsl-usb2-dr";
+			compatible =  "fsl,ci-qoriq-usb2",
+				      "fsl,ci-qoriq-usb2-v2.5";
 			reg = <0x0 0x8600000 0x0 0x1000>;
 			interrupts = <GIC_SPI 171 IRQ_TYPE_LEVEL_HIGH>;
+			phy-names = "usb2-phy";
+			phys = <&usbphy0>;
+			clock-names = "usb2-clock";
+			clocks = <&platform_clk 1>;
 			dr_mode = "host";
 			phy_type = "ulpi";
 		};
-- 
2.6.2.198.g614a2ac

WARNING: multiple messages have this Message-ID (diff)
From: Rajesh Bhagat <rajesh.bhagat-3arQi8VN3Tc@public.gmane.org>
To: linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: Peter.Chen-3arQi8VN3Tc@public.gmane.org,
	gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org,
	kishon-l0cyMroinI0@public.gmane.org,
	robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
	shawnguo-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	Rajesh Bhagat <rajesh.bhagat-3arQi8VN3Tc@public.gmane.org>
Subject: [PATCH v2 5/5] arm: dts: ls1021a: enable chipidea driver and USB 2.0 PHY driver
Date: Sat, 9 Jul 2016 10:00:56 +0530	[thread overview]
Message-ID: <1468038656-10345-6-git-send-email-rajesh.bhagat@nxp.com> (raw)
In-Reply-To: <1468038656-10345-1-git-send-email-rajesh.bhagat-3arQi8VN3Tc@public.gmane.org>

This patch adds entries in dts to enable chipidea platform driver
and USB 2.0 PHY driver.

Signed-off-by: Rajesh Bhagat <rajesh.bhagat-3arQi8VN3Tc@public.gmane.org>
---
Changes in v2:
 - Reworked for latest changes

 arch/arm/boot/dts/ls1021a.dtsi | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi
index 5ae8e92..bbba1ba 100644
--- a/arch/arm/boot/dts/ls1021a.dtsi
+++ b/arch/arm/boot/dts/ls1021a.dtsi
@@ -612,10 +612,23 @@
 			};
 		};
 
+		usbphy0: usbphy@8600000 {
+			compatible = "fsl,qoriq-usb2-phy",
+				     "fsl,qoriq-usb2-phy-v1.0";
+			reg = <0x0 0x8600000 0x0 0x1000>;
+			#phy-cells = <0>;
+			phy_type = "ulpi";
+		};
+
 		usb@8600000 {
-			compatible = "fsl-usb2-dr-v2.5", "fsl-usb2-dr";
+			compatible =  "fsl,ci-qoriq-usb2",
+				      "fsl,ci-qoriq-usb2-v2.5";
 			reg = <0x0 0x8600000 0x0 0x1000>;
 			interrupts = <GIC_SPI 171 IRQ_TYPE_LEVEL_HIGH>;
+			phy-names = "usb2-phy";
+			phys = <&usbphy0>;
+			clock-names = "usb2-clock";
+			clocks = <&platform_clk 1>;
 			dr_mode = "host";
 			phy_type = "ulpi";
 		};
-- 
2.6.2.198.g614a2ac

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2016-07-09  5:03 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-09  4:30 [PATCH v2 0/5] drivers: usb: chipidea: Add qoriq platform Rajesh Bhagat
2016-07-09  4:30 ` Rajesh Bhagat
2016-07-09  4:30 ` [PATCH v2 1/5] drivers: usb: chipidea: Add qoriq platform driver Rajesh Bhagat
2016-07-09  4:30   ` Rajesh Bhagat
2016-07-09  5:53   ` kbuild test robot
2016-07-09  5:53     ` kbuild test robot
2016-07-09  5:53     ` kbuild test robot
2016-07-09  5:59   ` kbuild test robot
2016-07-09  5:59     ` kbuild test robot
2016-07-09  5:59     ` kbuild test robot
2016-07-09  6:13   ` kbuild test robot
2016-07-09  6:13     ` kbuild test robot
2016-07-09  6:13     ` kbuild test robot
2016-07-11  6:43   ` Peter Chen
2016-07-11  6:43     ` Peter Chen
2016-07-11  6:43     ` Peter Chen
2016-07-12  3:59     ` Rajesh Bhagat
2016-07-12  3:59       ` Rajesh Bhagat
2016-07-12  3:59       ` Rajesh Bhagat
2016-07-15  7:13       ` Peter Chen
2016-07-15  7:13         ` Peter Chen
2016-07-15  7:13         ` Peter Chen
2016-07-15  8:13         ` Rajesh Bhagat
2016-07-15  8:13           ` Rajesh Bhagat
2016-07-15  8:13           ` Rajesh Bhagat
2016-07-09  4:30 ` [PATCH v2 2/5] usb: DT binding documentation for qoriq usb 2.0 controller Rajesh Bhagat
2016-07-09  4:30   ` Rajesh Bhagat
2016-07-11  6:48   ` Peter Chen
2016-07-11  6:48     ` Peter Chen
2016-07-12  3:59     ` Rajesh Bhagat
2016-07-12  3:59       ` Rajesh Bhagat
2016-07-12  3:59       ` Rajesh Bhagat
2016-07-15  7:15       ` Peter Chen
2016-07-15  7:15         ` Peter Chen
2016-07-15  7:15         ` Peter Chen
2016-07-15  8:13         ` Rajesh Bhagat
2016-07-15  8:13           ` Rajesh Bhagat
2016-07-15  8:13           ` Rajesh Bhagat
2016-07-16  0:28   ` Rob Herring
2016-07-16  0:28     ` Rob Herring
2016-07-16  0:28     ` Rob Herring
2016-07-09  4:30 ` [PATCH v2 3/5] drivers: usb: phy: Add qoriq usb 2.0 phy driver support Rajesh Bhagat
2016-07-09  4:30   ` Rajesh Bhagat
2016-07-11  6:54   ` Peter Chen
2016-07-11  6:54     ` Peter Chen
2016-07-12  3:59     ` Rajesh Bhagat
2016-07-12  3:59       ` Rajesh Bhagat
2016-07-12  3:59       ` Rajesh Bhagat
2016-07-09  4:30 ` [PATCH v2 4/5] phy: DT binding documentation for qoriq usb 2.0 phy Rajesh Bhagat
2016-07-09  4:30   ` Rajesh Bhagat
2016-07-16  0:35   ` Rob Herring
2016-07-16  0:35     ` Rob Herring
2016-07-09  4:30 ` Rajesh Bhagat [this message]
2016-07-09  4:30   ` [PATCH v2 5/5] arm: dts: ls1021a: enable chipidea driver and USB 2.0 PHY driver Rajesh Bhagat

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=1468038656-10345-6-git-send-email-rajesh.bhagat@nxp.com \
    --to=rajesh.bhagat@nxp.com \
    --cc=Peter.Chen@nxp.com \
    --cc=devicetree@vger.kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=kishon@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=shawnguo@kernel.org \
    /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.