Re: [PATCH v2][ 6/8] ARM: dts: i.MX35: Add USB support.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.

On 03/11/2014 01:55 PM, Denis Carikli wrote:

Signed-off-by: Denis Carikli <denis@xxxxxxxxxx>
---
Changelog v1->v2:
- The usbphy nodes were made to look like the ones in imx53.dtsi
- The patch was rebased on top of the clock fixes commits.

---
  arch/arm/boot/dts/imx35.dtsi |   16 ++++++++++++++++
  1 file changed, 16 insertions(+)

diff --git a/arch/arm/boot/dts/imx35.dtsi b/arch/arm/boot/dts/imx35.dtsi
index 474a73d..b943123 100644
--- a/arch/arm/boot/dts/imx35.dtsi
+++ b/arch/arm/boot/dts/imx35.dtsi
@@ -298,6 +298,7 @@
  				interrupts = <37>;
  				clocks = <&clks 73>;
  				fsl,usbmisc = <&usbmisc 0>;
+				fsl,usbphy = <&usbphy0>;

Why use Freescale specific prop here, when there's de-facto standard "usb-phy" already?

@@ -307,6 +308,7 @@
  				interrupts = <35>;
  				clocks = <&clks 73>;
  				fsl,usbmisc = <&usbmisc 1>;
+				fsl,usbphy = <&usbphy1>;

   Likewise.

@@ -355,4 +357,18 @@
  			};
  		};
  	};
+
+	usbphy {
+		#address-cells = <1>;
+		#size-cells = <0>;
+		compatible = "simple-bus";
+
+		usbphy0: usbphy@0 {

   Why use the node name with the address part when you don't have "reg" prop?
Moreover, I suggest "usb-phy" instead to be more in line with ePAPR [1] specified "ethernet-phy" device nodes.

[1] http://www.power.org/resources/downloads/Power_ePAPR_APPROVED_v1.0.pdf

WBR, Sergei

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




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux