Skip to content

usb: chipidea: fix error handling and add dr_role property

Marc Kleine-Budde linux-arm-kernel linux-devicetree 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 0 repliesNew
  2. v10 of 3 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- rebase to Richard's Tree
https://github.com/riczhao/kernel-imx/commits/topics/usb-driver
- remove redundant wording from devicetree binding documentation
- move dtsi changes into seperate patch
- also change imx23.dtsi
- tested on compile time non OF tree platforms (amd64) of.h provides proper stubs.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4usb: chipidea: pci: make platformdata staticdrivers/usb/chipidea/ci13xxx_pci.c+3 -34 replies
2/4usb: chipidea: udc: fix error path in udc_start()drivers/usb/chipidea/udc.c+1 -10 replies
3/4usb: chipidea: ci13xxx-imx: add "dr_mode" property to device tree bindingsDocumentation/devicetree/bindings/usb/ci13xxx-imx.txt drivers/usb/chipidea/ci13xxx_imx.c drivers/usb/chipidea/core.c +1 more+50 -62 replies
3/4usb: chipidea: ci13xxx-imx: add "dr_mode" property to device tree bindings+0 -09 replies
3/4usb: chipidea: ci13xxx-imx: add "dr_mode" property to device tree bindings+0 -01 reply
4/4ARM: dts: imx23,28: limit usb to host rolearch/arm/boot/dts/imx23.dtsi arch/arm/boot/dts/imx28.dtsi+3 -00 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/4] usb: chipidea: fix error handling and add dr_role property

while hacking on the chipidea driver, I fixed the error path in the udc part of the chipidea driver. Further I added the possibility to limit the driver to host or device only mode. It's possible via platformdata and device tree. For dt I selected the dr_role property which is already used for other dual role usb drivers.

Changes since v1:
- rebase to Richard's Tree
https://github.com/riczhao/kernel-imx/commits/topics/usb-driver
- remove redundant wording from devicetree binding documentation
- move dtsi changes into seperate patch
- also change imx23.dtsi
- tested on compile time non OF tree platforms (amd64) of.h provides proper stubs.

regards, Marc