[PATCH 0/7] usb: isp1760: extend support for isp1763

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

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

Rui Miguel Silva (7):
  usb: isp1760: move to regmap for register access
  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  |  59 ++
 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                   |   4 +-
 drivers/usb/isp1760/isp1760-core.c            | 248 ++++-
 drivers/usb/isp1760/isp1760-core.h            |  44 +-
 drivers/usb/isp1760/isp1760-hcd.c             | 898 ++++++++++++------
 drivers/usb/isp1760/isp1760-hcd.h             |  57 +-
 drivers/usb/isp1760/isp1760-if.c              |  41 +-
 drivers/usb/isp1760/isp1760-regs.h            | 698 ++++++++++----
 drivers/usb/isp1760/isp1760-udc.c             | 240 +++--
 drivers/usb/isp1760/isp1760-udc.h             |  12 +-
 include/linux/usb/isp1760.h                   |  19 -
 17 files changed, 1672 insertions(+), 660 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/usb/nxp,isp1760.yaml
 delete mode 100644 include/linux/usb/isp1760.h

-- 
2.31.1




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux