Skip to content

RFC USB: add generic onboard USB driver

Peter Chen linux-arm-kernel linux-devicetree 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5usb: hub: add device tree support for populating onboard usb devicedrivers/usb/core/hub.c+37 -00 replies
2/5doc: dt-binding: generic onboard USB deviceDocumentation/devicetree/bindings/usb/generic-onboard-device.txt+31 -02 replies
3/5usb: misc: generic_onboard_hub: add generic onboard USB device driverMAINTAINERS drivers/usb/misc/Kconfig drivers/usb/misc/Makefile +1 more+162 -00 replies
4/5usb: chipidea: host: let the hcd know's parent device nodedrivers/usb/chipidea/host.c+14 -40 replies
5/5ARM: dts: imx6qdl-udoo.dtsi: fix onboard USB HUB propertyarch/arm/boot/dts/imx6qdl-udoo.dtsi+14 -210 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC PATCH 0/5] USB: add generic onboard USB driver

Hi all,

This is later patch set for generic onboard HUB dirver [1], since I find it can apply for all generic onboard USB devices, so I changed a little for it, it should be work for the use case found at imx6qdl udoo board, but several people have comments for its design, I mark RFC for disucssion, and see how to implement it properly.

The purpose for this patch set is to let the USB handle platform parameters properly, since some usb devices need to pre-setup before it can be recognized by controller [2], some usb devices has more interfaces for others use, like i2c, gpios, etc.[3]

Thanks.

[1] http://www.spinics.net/lists/linux-usb/msg134082.html
[2] http://www.spinics.net/lists/linux-usb/msg131502.html
[3] http://marc.info/?l=linux-usb&m=142772952730243&w=2

Peter Chen (5):
usb: hub: add device tree support for populating onboard usb device
doc: dt-binding: generic onboard USB device
usb: misc: generic_onboard_hub: add generic onboard USB device driver
usb: chipidea: host: let the hcd know's parent device node
ARM: dts: imx6qdl-udoo.dtsi: fix onboard USB HUB property

 .../bindings/usb/generic-onboard-device.txt        |  31 +++++
 MAINTAINERS                                        |   7 +
 arch/arm/boot/dts/imx6qdl-udoo.dtsi                |  35 ++---
 drivers/usb/chipidea/host.c                        |  18 ++-
 drivers/usb/core/hub.c                             |  37 ++++++
 drivers/usb/misc/Kconfig                           |  10 ++
 drivers/usb/misc/Makefile                          |   1 +
 drivers/usb/misc/generic_onboard_device.c          | 144 +++++++++++++++++++++
 8 files changed, 258 insertions(+), 25 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/usb/generic-onboard-device.txt
 create mode 100644 drivers/usb/misc/generic_onboard_device.c
Signature · 1 line
1.9.1