[PATCH v8 9/9] ARM: dts: add usb udc support to bcm281xx

2013-12-19 Thread Matt Porter
Adds USB OTG/PHY and clock support to BCM281xx and enables
UDC support on the bcm11351-brt and bcm28155-ap boards.

Signed-off-by: Matt Porter 
Reviewed-by: Markus Mayer 
Reviewed-by: Tim Kryger 
---
 arch/arm/boot/dts/bcm11351-brt.dts |  6 ++
 arch/arm/boot/dts/bcm11351.dtsi| 18 ++
 arch/arm/boot/dts/bcm28155-ap.dts  |  8 
 3 files changed, 32 insertions(+)

diff --git a/arch/arm/boot/dts/bcm11351-brt.dts 
b/arch/arm/boot/dts/bcm11351-brt.dts
index 23cd16d..396b704 100644
--- a/arch/arm/boot/dts/bcm11351-brt.dts
+++ b/arch/arm/boot/dts/bcm11351-brt.dts
@@ -44,5 +44,11 @@
status = "okay";
};
 
+   usbotg: usb@3f12 {
+   status = "okay";
+   };
 
+   usbphy: usb-phy@3f13 {
+   status = "okay";
+   };
 };
diff --git a/arch/arm/boot/dts/bcm11351.dtsi b/arch/arm/boot/dts/bcm11351.dtsi
index 1246885..0fbb455 100644
--- a/arch/arm/boot/dts/bcm11351.dtsi
+++ b/arch/arm/boot/dts/bcm11351.dtsi
@@ -243,4 +243,22 @@
#clock-cells = <0>;
};
};
+
+   usbotg: usb@3f12 {
+   compatible = "snps,dwc2";
+   reg = <0x3f12 0x1>;
+   interrupts = ;
+   clocks = <&usb_otg_ahb_clk>;
+   clock-names = "otg";
+   phys = <&usbphy>;
+   phy-names = "usb2-phy";
+   status = "disabled";
+   };
+
+   usbphy: usb-phy@3f13 {
+   compatible = "brcm,kona-usb2-phy";
+   reg = <0x3f13 0x28>;
+   #phy-cells = <0>;
+   status = "disabled";
+   };
 };
diff --git a/arch/arm/boot/dts/bcm28155-ap.dts 
b/arch/arm/boot/dts/bcm28155-ap.dts
index 08e47c2..a3bc436 100644
--- a/arch/arm/boot/dts/bcm28155-ap.dts
+++ b/arch/arm/boot/dts/bcm28155-ap.dts
@@ -43,4 +43,12 @@
cd-gpios = <&gpio 14 0>;
status = "okay";
};
+
+   usbotg: usb@3f12 {
+   status = "okay";
+   };
+
+   usbphy: usb-phy@3f13 {
+   status = "okay";
+   };
 };
-- 
1.8.4

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


Re: [PATCH v8 9/9] ARM: dts: add usb udc support to bcm281xx

2013-12-23 Thread Christian Daudt
On Thu, Dec 19, 2013 at 6:23 AM, Matt Porter  wrote:
> Adds USB OTG/PHY and clock support to BCM281xx and enables
> UDC support on the bcm11351-brt and bcm28155-ap boards.
>
> Signed-off-by: Matt Porter 
> Reviewed-by: Markus Mayer 
> Reviewed-by: Tim Kryger 

Applied to armsoc/for-3.14/dt

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


Re: [PATCH v8 9/9] ARM: dts: add usb udc support to bcm281xx

2013-12-23 Thread Felipe Balbi
On Thu, Dec 19, 2013 at 09:23:10AM -0500, Matt Porter wrote:
> Adds USB OTG/PHY and clock support to BCM281xx and enables
> UDC support on the bcm11351-brt and bcm28155-ap boards.
> 
> Signed-off-by: Matt Porter 
> Reviewed-by: Markus Mayer 
> Reviewed-by: Tim Kryger 

doesn't apply to my tree:

checking file arch/arm/boot/dts/bcm11351-brt.dts
checking file arch/arm/boot/dts/bcm11351.dtsi
Hunk #1 FAILED at 243.
1 out of 1 hunk FAILED
checking file arch/arm/boot/dts/bcm28155-ap.dts

I will skip this patch from my tree, all others are now in my
testing/next branch after fixing dependency ARM-only for now.

Send me a patch removing ARCH dependency for v3.15, since this driver
can be used in other arches too.

cheers

-- 
balbi


signature.asc
Description: Digital signature