diff mbox

[6/9] ARM: dts: i.MX35: Add USB support.

Message ID 1394211863-7569-6-git-send-email-denis@eukrea.com (mailing list archive)
State New, archived
Headers show

Commit Message

Denis Carikli March 7, 2014, 5:04 p.m. UTC
Signed-off-by: Denis Carikli <denis@eukrea.com>
---
 arch/arm/boot/dts/imx35.dtsi |   11 +++++++++++
 1 file changed, 11 insertions(+)

Comments

Peter Chen March 10, 2014, 1:34 a.m. UTC | #1
On Fri, Mar 07, 2014 at 06:04:20PM +0100, Denis Carikli wrote:
> Signed-off-by: Denis Carikli <denis@eukrea.com>
> ---
>  arch/arm/boot/dts/imx35.dtsi |   11 +++++++++++
>  1 file changed, 11 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/imx35.dtsi b/arch/arm/boot/dts/imx35.dtsi
> index e59ccb4..1c15b56 100644
> --- a/arch/arm/boot/dts/imx35.dtsi
> +++ b/arch/arm/boot/dts/imx35.dtsi
> @@ -292,6 +292,15 @@
>  				status = "disabled";
>  			};
>  
> +			usbphy0: usbphy@0 {
> +				compatible = "usb-nop-xceiv";
> +			};
> +
> +			usbphy1: usbphy@1 {
> +				compatible = "usb-nop-xceiv";
> +			};
> +
> +
>  			usbotg: usb@53ff4000 {
>  				compatible = "fsl,imx35-usb", "fsl,imx27-usb";
>  				reg = <0x53ff4000 0x0200>;
> @@ -299,6 +308,7 @@
>  				clocks = <&clks 9>, <&clks 73>, <&clks 28>;
>  				clock-names = "ipg", "ahb", "per";
>  				fsl,usbmisc = <&usbmisc 0>;
> +				fsl,usbphy = <&usbphy0>;
>  				status = "disabled";
>  			};
>  
> @@ -309,6 +319,7 @@
>  				clocks = <&clks 9>, <&clks 73>, <&clks 28>;
>  				clock-names = "ipg", "ahb", "per";
>  				fsl,usbmisc = <&usbmisc 1>;
> +				fsl,usbphy = <&usbphy1>;
>  				status = "disabled";
>  			};
>  
> -- 
> 1.7.9.5
> 
> 
> 

Have you any other patches which are still not in mainline?
At ci_hdrc_imx.c, we only get one clk, but for imx soc before than imx6,
it needs three clks at our dts?
Shawn Guo March 10, 2014, 5:03 a.m. UTC | #2
On Fri, Mar 07, 2014 at 06:04:20PM +0100, Denis Carikli wrote:
> Signed-off-by: Denis Carikli <denis@eukrea.com>
> ---
>  arch/arm/boot/dts/imx35.dtsi |   11 +++++++++++
>  1 file changed, 11 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/imx35.dtsi b/arch/arm/boot/dts/imx35.dtsi
> index e59ccb4..1c15b56 100644
> --- a/arch/arm/boot/dts/imx35.dtsi
> +++ b/arch/arm/boot/dts/imx35.dtsi
> @@ -292,6 +292,15 @@
>  				status = "disabled";
>  			};
>  
> +			usbphy0: usbphy@0 {
> +				compatible = "usb-nop-xceiv";
> +			};
> +
> +			usbphy1: usbphy@1 {
> +				compatible = "usb-nop-xceiv";
> +			};
> +
> +

Can we put these (also imx25.dtsi) in the same way that imx51.dtsi
organizes it?

Shawn

>  			usbotg: usb@53ff4000 {
>  				compatible = "fsl,imx35-usb", "fsl,imx27-usb";
>  				reg = <0x53ff4000 0x0200>;
> @@ -299,6 +308,7 @@
>  				clocks = <&clks 9>, <&clks 73>, <&clks 28>;
>  				clock-names = "ipg", "ahb", "per";
>  				fsl,usbmisc = <&usbmisc 0>;
> +				fsl,usbphy = <&usbphy0>;
>  				status = "disabled";
>  			};
>  
> @@ -309,6 +319,7 @@
>  				clocks = <&clks 9>, <&clks 73>, <&clks 28>;
>  				clock-names = "ipg", "ahb", "per";
>  				fsl,usbmisc = <&usbmisc 1>;
> +				fsl,usbphy = <&usbphy1>;
>  				status = "disabled";
>  			};
>  
> -- 
> 1.7.9.5
>
diff mbox

Patch

diff --git a/arch/arm/boot/dts/imx35.dtsi b/arch/arm/boot/dts/imx35.dtsi
index e59ccb4..1c15b56 100644
--- a/arch/arm/boot/dts/imx35.dtsi
+++ b/arch/arm/boot/dts/imx35.dtsi
@@ -292,6 +292,15 @@ 
 				status = "disabled";
 			};
 
+			usbphy0: usbphy@0 {
+				compatible = "usb-nop-xceiv";
+			};
+
+			usbphy1: usbphy@1 {
+				compatible = "usb-nop-xceiv";
+			};
+
+
 			usbotg: usb@53ff4000 {
 				compatible = "fsl,imx35-usb", "fsl,imx27-usb";
 				reg = <0x53ff4000 0x0200>;
@@ -299,6 +308,7 @@ 
 				clocks = <&clks 9>, <&clks 73>, <&clks 28>;
 				clock-names = "ipg", "ahb", "per";
 				fsl,usbmisc = <&usbmisc 0>;
+				fsl,usbphy = <&usbphy0>;
 				status = "disabled";
 			};
 
@@ -309,6 +319,7 @@ 
 				clocks = <&clks 9>, <&clks 73>, <&clks 28>;
 				clock-names = "ipg", "ahb", "per";
 				fsl,usbmisc = <&usbmisc 1>;
+				fsl,usbphy = <&usbphy1>;
 				status = "disabled";
 			};