[PATCH V3 RFT 3/5] ARM64: dts: bcm283x: Use dtsi for USB host mode

Gerd Hoffmann kraxel at redhat.com
Wed Sep 7 07:17:17 PDT 2016


  Hi,

> ARM: dts: Remove use of skeleton.dtsi from bcm283x.dtsi
> ARM64: dts: bcm: Use a symlink to R-Pi dtsi files from arch=arm

Picked them up.

> In case of a multiplatform config with following settings the driver
> isn't able to "detect" the role:
> 
> CONFIG_USB=y
> CONFIG_USB_OTG=y
> CONFIG_USB_DWC2=y
> CONFIG_USB_DWC2_DUAL_ROLE=y
> CONFIG_USB_PHY=y
> CONFIG_NOP_USB_XCEIV=y
> CONFIG_USB_GADGET=y
> CONFIG_USB_ZERO=y

Configured my kernel that way so the test actually tests something ;)

And ... everything looks fine.  usb ethernet works, and so does the usb
keyboard.  /proc/device-tree/soc/usb at 7e980000/dr_mode exists and
contains "host".

Tested-by: Gerd Hoffmann <kraxel at redhat.com>

cheers,
  Gerd




More information about the linux-arm-kernel mailing list