All of lore.kernel.org
 help / color / mirror / Atom feed
From: Igor Opaniuk <igor.opaniuk@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 0/3] USB: Add cadence USB3 gadget driver and host driver
Date: Thu, 1 Aug 2019 15:09:29 +0300	[thread overview]
Message-ID: <CAByghJaCssMd7fKXsP3Ba7GGBJneddwGucTKcpJE5RqxB=LZ9A@mail.gmail.com> (raw)
In-Reply-To: <1563278895-10635-1-git-send-email-sherry.sun@nxp.com>

Hi Sherry,

On Tue, Jul 16, 2019 at 4:15 PM sherry sun <sherry.sun@nxp.com> wrote:
>
> From: Sherry Sun <sherry.sun@nxp.com>
>
> These patches introduce new Cadence USBSS driver to U-Boot.
>
> The first patch is to add the Cadence USB3 IP(CDNS3) driver for the usb
> gadget, but the host mode is not supported now. The second patch
> introduce the xhci-imx8 usb host driver separately. The cdns3 usb
> gadget driver and xhci-imx8 host driver both use DM mode.
>
> The current driver has been validated on i.MX8 platform.
>
> Sherry Sun (3):
>   USB: gadget: Add the cadence USB3 gadget driver
>   USB: host: Add the USB3 host driver
>   USB: gadget: core: introduce ->udc_set_speed() method
>
>  Makefile                              |    1 +
>  drivers/usb/Kconfig                   |    2 +
>  drivers/usb/cdns3/Kconfig             |   20 +
>  drivers/usb/cdns3/Makefile            |    5 +
>  drivers/usb/cdns3/cdns3-generic.c     |  176 ++
>  drivers/usb/cdns3/cdns3-nxp-reg-def.h |  158 ++
>  drivers/usb/cdns3/core.c              |  408 +++++
>  drivers/usb/cdns3/core.h              |  129 ++
>  drivers/usb/cdns3/dev-regs-macro.h    |  116 ++
>  drivers/usb/cdns3/dev-regs-map.h      |  117 ++
>  drivers/usb/cdns3/gadget-export.h     |   26 +
>  drivers/usb/cdns3/gadget.c            | 2278 +++++++++++++++++++++++++
>  drivers/usb/cdns3/gadget.h            |  238 +++
>  drivers/usb/cdns3/io.h                |   30 +
>  drivers/usb/cdns3/linux-compat.h      |   16 +
>  drivers/usb/gadget/epautoconf.c       |    4 +
>  drivers/usb/gadget/gadget_chips.h     |    7 +
>  drivers/usb/gadget/udc/Makefile       |    1 +
>  drivers/usb/gadget/udc/udc-core.c     |   23 +
>  drivers/usb/host/Kconfig              |    9 +
>  drivers/usb/host/Makefile             |    1 +
>  drivers/usb/host/xhci-imx8.c          |  311 ++++
>  include/cdns3-uboot.h                 |   26 +
>  include/linux/usb/gadget.h            |    5 +
>  include/usb/imx8_usb3_reg_def.h       |  455 +++++
>  scripts/Makefile.spl                  |    1 +
>  26 files changed, 4563 insertions(+)
>  create mode 100644 drivers/usb/cdns3/Kconfig
>  create mode 100644 drivers/usb/cdns3/Makefile
>  create mode 100644 drivers/usb/cdns3/cdns3-generic.c
>  create mode 100644 drivers/usb/cdns3/cdns3-nxp-reg-def.h
>  create mode 100644 drivers/usb/cdns3/core.c
>  create mode 100644 drivers/usb/cdns3/core.h
>  create mode 100644 drivers/usb/cdns3/dev-regs-macro.h
>  create mode 100644 drivers/usb/cdns3/dev-regs-map.h
>  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/io.h
>  create mode 100644 drivers/usb/cdns3/linux-compat.h
>  create mode 100644 drivers/usb/host/xhci-imx8.c
>  create mode 100644 include/cdns3-uboot.h
>  create mode 100644 include/usb/imx8_usb3_reg_def.h
>
> --
> 2.17.1
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot

Thanks for your patches!
Taking into account that this series introduces a brand new driver,
it would be really nice to also have proper device tree bindings
in doc/device-tree-bindings (so I can at least quickly enable it for my
board, test it and leave my T-b tags).

Thanks

-- 
Best regards - Freundliche Grüsse - Meilleures salutations

Igor Opaniuk

mailto: igor.opaniuk at gmail.com
skype: igor.opanyuk
+380 (93) 836 40 67
http://ua.linkedin.com/in/iopaniuk

  parent reply	other threads:[~2019-08-01 12:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-16 12:08 [U-Boot] [PATCH 0/3] USB: Add cadence USB3 gadget driver and host driver sherry sun
2019-07-16 12:08 ` [U-Boot] [PATCH 1/3] USB: gadget: Add the cadence USB3 gadget driver sherry sun
2019-07-16 12:08 ` [U-Boot] [PATCH 2/3] USB: host: Add the USB3 host driver sherry sun
2019-07-21 10:44   ` Marek Vasut
2019-08-01  7:07     ` [U-Boot] 答复: " Sherry Sun
2019-07-16 12:08 ` [U-Boot] [PATCH 3/3] USB: gadget: core: introduce ->udc_set_speed() method sherry sun
2019-08-01 12:09 ` Igor Opaniuk [this message]
2019-08-02  1:04   ` [U-Boot] [PATCH 0/3] USB: Add cadence USB3 gadget driver and host driver Peng Fan
2019-08-08  9:03     ` [U-Boot] 答复: " Sherry Sun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAByghJaCssMd7fKXsP3Ba7GGBJneddwGucTKcpJE5RqxB=LZ9A@mail.gmail.com' \
    --to=igor.opaniuk@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.