Skip to content

usb: isp1760: extend support for isp1763

Rui Miguel Silva linux-devicetree linux-usb 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest9 patches 5 repliesIn review
  2. v39 patches 0 repliesSuperseded
  3. v29 patches 2 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v17 patches15 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9usb: isp1760: fix strict typecheckingdrivers/usb/isp1760/isp1760-hcd.c+47 -450 replies
2/9usb: isp1760: move to regmap for register accessdrivers/usb/isp1760/Kconfig drivers/usb/isp1760/isp1760-core.c drivers/usb/isp1760/isp1760-core.h +6 more+789 -5312 replies
3/9usb: isp1760: use relaxed primitivesdrivers/usb/isp1760/isp1760-hcd.c+4 -40 replies
4/9usb: isp1760: remove platform data struct and codedrivers/usb/isp1760/isp1760-if.c include/linux/usb/isp1760.h+3 -360 replies
5/9usb: isp1760: hcd: refactor mempool config and setupdrivers/usb/isp1760/isp1760-core.c drivers/usb/isp1760/isp1760-hcd.c drivers/usb/isp1760/isp1760-hcd.h+92 -490 replies
6/9usb: isp1760: use dr_mode bindingarch/arm/boot/dts/arm-realview-eb.dtsi arch/arm/boot/dts/arm-realview-pb1176.dts arch/arm/boot/dts/arm-realview-pb11mp.dts +6 more+11 -110 replies
7/9usb: isp1760: add support for isp1763drivers/usb/isp1760/Kconfig drivers/usb/isp1760/isp1760-core.c drivers/usb/isp1760/isp1760-core.h +6 more+849 -2040 replies
8/9dt-bindings: usb: nxp,isp1760: add bindingsDocumentation/devicetree/bindings/usb/nxp,isp1760.yaml+69 -01 reply
9/9usb: isp1763: add peripheral modedrivers/usb/isp1760/isp1760-core.c drivers/usb/isp1760/isp1760-regs.h drivers/usb/isp1760/isp1760-udc.c +1 more+94 -190 replies

Reviews trailers per patch

1 of 9 patches has a Reviewed-by or Acked-by.

PatchRob Herring
1/9
2/9
3/9
4/9
5/9
6/9
7/9
8/9R-b
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/9] usb: isp1760: extend support for isp1763

The Arm MPS3 FPGA prototyping board [0] have an isp1763 [1] as USB controller. There is already support for the isp1760 and isp1761 in tree, this series extend the support also for the isp1763.

Move register access using regmap, remove some platform data and code, refactor the mempool, use dr_mode to align to existing bindings, then add the support for isp1763 host mode, add bindings files that did not existed and at the end add also support for peripheral mode for isp1763.

@Laurent and @Sebastian, I add both of you in the bindings files as maintainers (it is a mandatory field)since you were the ones which contributed with the initial code and peripheral code, let me know if you are ok with it. If yes I may send a follow up to add also entries in MAINTAINERS file that it is also missing.

v3 [4] -> v4:
Rob Herring (bindings):
- add device controller interrupt
- correct additionalProperties field

v2 [3] -> v3:
kernel test bot:
- add select REGMAP_MMIO

v1 [2] -> v2:

kernel test robot:
- add two patches (1/9 and 3/9) to fix dozens of pre-existing sparse warnings so that this series does not introduce new ones. No sparse warning left.
- fix duplication of regmap fields

Laurent:
- move initializers from .h to .c
- change interrupt registers setup from field to one shot register setting (did not change hcd hw mode init because I think it did not make the difference and even avoid artifact around setting twice the register)

Rob test bot:
- fix suffix at compatible string to clean up warning in bindings

Cheers,
Rui

[0]: https://developer.arm.com/tools-and-software/development-boards/fpga-prototyping-boards/mps3
[1]: https://media.digikey.com/pdf/Data%20Sheets/ST%20Ericsson%20PDFs/ISP1763A.pdf
[2]: https://lore.kernel.org/linux-devicetree/[email protected]/
[3]: https://lore.kernel.org/linux-usb/[email protected]/
[4]: https://lore.kernel.org/linux-usb/[email protected]/

Rui Miguel Silva (9):
usb: isp1760: fix strict typechecking
usb: isp1760: move to regmap for register access
usb: isp1760: use relaxed primitives
usb: isp1760: remove platform data struct and code
usb: isp1760: hcd: refactor mempool config and setup
usb: isp1760: use dr_mode binding
usb: isp1760: add support for isp1763
dt-bindings: usb: nxp,isp1760: add bindings
usb: isp1763: add peripheral mode

 .../devicetree/bindings/usb/nxp,isp1760.yaml  |   69 ++
 arch/arm/boot/dts/arm-realview-eb.dtsi        |    2 +-
 arch/arm/boot/dts/arm-realview-pb1176.dts     |    2 +-
 arch/arm/boot/dts/arm-realview-pb11mp.dts     |    2 +-
 arch/arm/boot/dts/arm-realview-pbx.dtsi       |    2 +-
 arch/arm/boot/dts/vexpress-v2m-rs1.dtsi       |    2 +-
 arch/arm/boot/dts/vexpress-v2m.dtsi           |    2 +-
 drivers/usb/isp1760/Kconfig                   |    5 +-
 drivers/usb/isp1760/isp1760-core.c            |  513 ++++++++-
 drivers/usb/isp1760/isp1760-core.h            |   44 +-
 drivers/usb/isp1760/isp1760-hcd.c             | 1021 ++++++++++++-----
 drivers/usb/isp1760/isp1760-hcd.h             |   57 +-
 drivers/usb/isp1760/isp1760-if.c              |   41 +-
 drivers/usb/isp1760/isp1760-regs.h            |  435 ++++---
 drivers/usb/isp1760/isp1760-udc.c             |  250 ++--
 drivers/usb/isp1760/isp1760-udc.h             |   13 +-
 include/linux/usb/isp1760.h                   |   19 -
 17 files changed, 1769 insertions(+), 710 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/usb/nxp,isp1760.yaml
 delete mode 100644 include/linux/usb/isp1760.h
Signature · 1 line
2.31.1