Skip to content

ARM: dts: Add USB and OTG related nodes and enable on various boards

Hans de Goede linux-arm-kernel linux-devicetree 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 20 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 20 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/20] ARM: dts: Add USB and OTG related nodes and enable on various boards

Hi,

Quoted 59 lines · Hans de Goede

Hi,

Quoted 15 lines · Hans de Goede

Hi,

Quoted 12 lines · Maxime Ripard

Hi Hans,

Quoted 8 lines · Hans de Goede

Hi Maxime,

Here is a patch-set with all the otg / sun8i-usb-host related dts patches I've accumulated.

These are intended for 4.3, and go hand in hand with the outstanding musb-sunxi / phy-sun4i-usb patches, which I expect to be merged as is for 4.3 .

Quoted 7 lines
Quoted 2 lines

I'm fine with these patches. Do you have a branch somewhere that I can pull (without the one that you wanted me to drop, obviously)?

I've just created a branch with just these patches directly on top of sunxi/for-next for you:

https://github.com/jwrdegoede/linux-sunxi/commits/otg-dts-for-maxime

Please ignore this for now. There have been some changes to the extcon framework, making it more integrated with devicetree, this means I need to add an extcon property to the musb nodes in devicetree:

Documentation/devicetree/bindings/usb/allwinner,sun4i-a10-musb.txt +2 -0
@@ -12,6 +12,7 @@ Required properties:
   - phys            : phy specifier for the otg phy
   - phy-names       : must be "usb"
   - dr_mode         : Dual-Role mode must be "host" or "otg"
+ - extcon          : extcon specifier for the otg phy
 
  Example:
 
@@ -23,5 +24,6 @@ Example:
                 interrupt-names = "mc";
                 phys = <&usbphy 0>;
                 phy-names = "usb";
+         extcon = <&usbphy 0>;
                 status = "disabled";
         };
arch/arm/boot/dts/sun7i-a20.dtsi +1 -0
@@ -773,6 +773,7 @@
                         interrupt-names = "mc";
                         phys = <&usbphy 0>;
                         phy-names = "usb";
+                 extcon = <&usbphy 0>;
                         allwinner,sram = <&otg_sram 1>;
                         status = "disabled";
                 };
Quoted 3 lines

I'll push a new version of the patches to otg-dts-for-maxime with the extcon property added for you and ping you when it is ready.

Done, https://github.com/jwrdegoede/linux-sunxi/commits/otg-dts-for-maxime
now contains the necessary changes and is ready for merging for 4.3.

Regards,

Hans