All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] Introduced new Cadence USBSS DRD Driver.
@ 2018-12-23 15:13 ` Pawel Laszczak
  0 siblings, 0 replies; 49+ messages in thread
From: Pawel Laszczak @ 2018-12-23 15:13 UTC (permalink / raw)
  To: devicetree
  Cc: gregkh, mark.rutland, linux-usb, hdegoede, heikki.krogerus,
	andy.shevchenko, robh+dt, rogerq, linux-kernel, adouglas,
	jbergsagel, nsekhar, nm, sureshp, peter.chen, pjez, kurahul,
	Pawel Laszczak

This patch set introduce new Cadence USBSS DRD driver
to linux kernel.

The Cadence USBSS DRD Driver s a highly
configurable IP Core which can be
instantiated as Dual-Role Device (DRD),
Peripheral Only and Host Only (XHCI)
configurations.

The current driver has been validated with
FPGA burned. We have support for PCIe
bus, which is used on FPGA prototyping.

The host site of USBSS controller is compliance
with XHCI specification, so it works with
standard XHCI linux driver.

Changes since v1:
 - Removed not implemented Susped/Resume functions.
 - Fixed some issues in debugging related functions.
 - Added trace_cdns3_request_handled marker.
 - Added support for Isochronouse transfer. 
 - Added some additional descriptions.
 - Fixed compilation error in cdns3_gadget_ep_disable.
 - Added detection of device controller version at runtime.
 - Upgraded dt-binding documentation.
 - Deleted ENOSYS from phy initialization section. It should be also removed
   from generic PHY driver.
 - added ep0_stage flag used during enumeration process.
 - Fixed issue with TEST MODE.
 - Added one common function for finish control transfer.
 - Separated some decoding function from dwc3 driver to common library file,
   and removed equivalents function from debug.h file as suggested  by Felipe.
 - replaced function name cdns3_gadget_unconfig with cdns3_hw_reset_eps_config.
 - Improved algorithm fixing hardware issue related to blocking endpoints.
   This issue is related to on-chip shared FIFO buffers for OUT packets. 
   Problem was reported by Peter Chan.
 - Changed organization of endpoint array in cdns3_device object.  
      - added ep0 to common eps array
      - removed cdns3_free_trb_pool and cdns3_ep_addr_to_bit_pos macros.
      - removed ep0_trb_dma, ep0_trb fields from cdns3_device.
 - Removed ep0_request and ep_nums fields from cdns3_device.
 - Other minor changes according with Felipe suggestion.

---

Pawel Laszczak (5):
  dt-bindings: add binding for USBSS-DRD controller.
  usb:common Separated decoding functions from dwc3 driver.
  usb:common Patch simplify usb_decode_set_clear_feature function.
  usb:common Simplify usb_decode_get_set_descriptor function.
  usb:cdns3 Add Cadence USB3 DRD Driver

 .../devicetree/bindings/usb/cdns3-usb.txt     |   30 +
 drivers/usb/Kconfig                           |    2 +
 drivers/usb/Makefile                          |    2 +
 drivers/usb/cdns3/Kconfig                     |   44 +
 drivers/usb/cdns3/Makefile                    |   16 +
 drivers/usb/cdns3/cdns3-pci-wrap.c            |  157 ++
 drivers/usb/cdns3/core.c                      |  406 ++++
 drivers/usb/cdns3/core.h                      |  116 +
 drivers/usb/cdns3/debug.h                     |  166 ++
 drivers/usb/cdns3/debugfs.c                   |  168 ++
 drivers/usb/cdns3/drd.c                       |  350 +++
 drivers/usb/cdns3/drd.h                       |  162 ++
 drivers/usb/cdns3/ep0.c                       |  896 +++++++
 drivers/usb/cdns3/gadget-export.h             |   28 +
 drivers/usb/cdns3/gadget.c                    | 2102 +++++++++++++++++
 drivers/usb/cdns3/gadget.h                    | 1206 ++++++++++
 drivers/usb/cdns3/host-export.h               |   28 +
 drivers/usb/cdns3/host.c                      |   72 +
 drivers/usb/cdns3/trace.c                     |   11 +
 drivers/usb/cdns3/trace.h                     |  389 +++
 drivers/usb/common/Makefile                   |    2 +-
 drivers/usb/common/debug.c                    |  265 +++
 drivers/usb/dwc3/debug.h                      |  243 --
 drivers/usb/dwc3/trace.h                      |    2 +-
 include/linux/usb/ch9.h                       |   19 +
 25 files changed, 6637 insertions(+), 245 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/usb/cdns3-usb.txt
 create mode 100644 drivers/usb/cdns3/Kconfig
 create mode 100644 drivers/usb/cdns3/Makefile
 create mode 100644 drivers/usb/cdns3/cdns3-pci-wrap.c
 create mode 100644 drivers/usb/cdns3/core.c
 create mode 100644 drivers/usb/cdns3/core.h
 create mode 100644 drivers/usb/cdns3/debug.h
 create mode 100644 drivers/usb/cdns3/debugfs.c
 create mode 100644 drivers/usb/cdns3/drd.c
 create mode 100644 drivers/usb/cdns3/drd.h
 create mode 100644 drivers/usb/cdns3/ep0.c
 create mode 100644 drivers/usb/cdns3/gadget-export.h
 create mode 100644 drivers/usb/cdns3/gadget.c
 create mode 100644 drivers/usb/cdns3/gadget.h
 create mode 100644 drivers/usb/cdns3/host-export.h
 create mode 100644 drivers/usb/cdns3/host.c
 create mode 100644 drivers/usb/cdns3/trace.c
 create mode 100644 drivers/usb/cdns3/trace.h
 create mode 100644 drivers/usb/common/debug.c

-- 
2.17.1


^ permalink raw reply	[flat|nested] 49+ messages in thread

end of thread, other threads:[~2019-01-10  7:19 UTC | newest]

Thread overview: 49+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-23 15:13 [PATCH v2 0/5] Introduced new Cadence USBSS DRD Driver Pawel Laszczak
2018-12-23 15:13 ` Pawel Laszczak
2018-12-23 15:13 ` [PATCH v2 1/5] dt-bindings: add binding for USBSS-DRD controller Pawel Laszczak
2018-12-23 15:13   ` [v2,1/5] " Pawel Laszczak
2018-12-23 15:13   ` [PATCH v2 1/5] " Pawel Laszczak
2018-12-23 15:13 ` [PATCH v2 2/5] usb:common Separated decoding functions from dwc3 driver Pawel Laszczak
2018-12-23 15:13   ` [v2,2/5] " Pawel Laszczak
2018-12-23 15:13   ` [PATCH v2 2/5] " Pawel Laszczak
2018-12-23 15:13 ` [PATCH v2 3/5] usb:common Patch simplify usb_decode_set_clear_feature function Pawel Laszczak
2018-12-23 15:13   ` [v2,3/5] " Pawel Laszczak
2018-12-23 15:13   ` [PATCH v2 3/5] " Pawel Laszczak
2018-12-23 15:13 ` [PATCH v2 4/5] usb:common Simplify usb_decode_get_set_descriptor function Pawel Laszczak
2018-12-23 15:13   ` [v2,4/5] " Pawel Laszczak
2018-12-23 15:13   ` [PATCH v2 4/5] " Pawel Laszczak
2018-12-23 15:13 ` [PATCH v2 5/5] usb:cdns3 Add Cadence USB3 DRD Driver Pawel Laszczak
2018-12-23 15:13   ` [v2,5/5] " Pawel Laszczak
2018-12-23 15:13   ` [PATCH v2 5/5] " Pawel Laszczak
2018-12-23 17:19   ` Randy Dunlap
2018-12-23 17:19     ` [v2,5/5] " Randy Dunlap
2018-12-23 19:20   ` [PATCH v2 5/5] " kbuild test robot
2018-12-23 19:20     ` [v2,5/5] " kbuild test robot
2018-12-23 19:20     ` [PATCH v2 5/5] " kbuild test robot
2018-12-31  9:42     ` Pawel Laszczak
2018-12-31  9:42       ` [v2,5/5] " Pawel Laszczak
2018-12-31  9:42       ` [PATCH v2 5/5] " Pawel Laszczak
2018-12-24  9:38   ` Peter Chen
2018-12-24  9:38     ` [v2,5/5] " Peter Chen
2018-12-25  9:38     ` [PATCH v2 5/5] " Peter Chen
2018-12-25  9:38       ` [v2,5/5] " Peter Chen
2018-12-27  9:36       ` [PATCH v2 5/5] " Pawel Laszczak
2018-12-27  9:36         ` [v2,5/5] " Pawel Laszczak
2018-12-28  1:31         ` [PATCH v2 5/5] " Peter Chen
2018-12-28  1:31           ` [v2,5/5] " Peter Chen
2018-12-31  5:32           ` [PATCH v2 5/5] " Pawel Laszczak
2018-12-31  5:32             ` [v2,5/5] " Pawel Laszczak
2018-12-27 13:11     ` [PATCH v2 5/5] " Pawel Laszczak
2018-12-27 13:11       ` [v2,5/5] " Pawel Laszczak
2018-12-29  7:41   ` [PATCH v2 5/5] " Chunfeng Yun
2018-12-29  7:41     ` [v2,5/5] " Chunfeng Yun
2018-12-29  7:41     ` [PATCH v2 5/5] " Chunfeng Yun
2018-12-31 12:31     ` Pawel Laszczak
2018-12-31 12:31       ` [v2,5/5] " Pawel Laszczak
2018-12-31 12:31       ` [PATCH v2 5/5] " Pawel Laszczak
2019-01-10  1:30   ` Peter Chen
2019-01-10  6:57     ` Greg Kroah-Hartman
2019-01-10  6:57       ` [v2,5/5] " Greg Kroah-Hartman
2019-01-10  7:18       ` [PATCH v2 5/5] " Pawel Laszczak
2019-01-10  7:18         ` [v2,5/5] " Pawel Laszczak
2019-01-02  6:44 ` [PATCH v2 0/5] Introduced new Cadence USBSS " Peter Chen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.