mbox series

[v1,0/2] Add USB HOST OHCI driver for Sunplus SP7021 SoC

Message ID 1647235924-15572-1-git-send-email-vincent.sunplus@gmail.com (mailing list archive)
Headers show
Series Add USB HOST OHCI driver for Sunplus SP7021 SoC | expand

Message

Vincent Shih March 14, 2022, 5:32 a.m. UTC
This is a patch series for USB HOST OHCI driver for Sunplus SP7021 SoC.

Sunplus SP7021 is an ARM Cortex A7 (4 cores) based SoC. It integrates
many peripherals (ex: UART, I2C, SPI, SDIO, eMMC, USB, SD Card and
etc.) into a single chip. It is designed for industrial control.

Refer to:
https://sunplus-tibbo.atlassian.net/wiki/spaces/doc/overview
https://tibbo.com/store/plus1.html

Vincent Shih (2):
  usb: host: ohci-sunplus: Add driver for USB HOST OHCI in Sunplus
    SP7021 SoC
  dt-bindings: usb: Add bindings doc for Sunplus USB HOST OHCI driver

 .../bindings/usb/sunplus,sp7021-usb-ohci.yaml      |  69 +++++++
 MAINTAINERS                                        |   7 +
 drivers/usb/host/Kconfig                           |  10 +
 drivers/usb/host/Makefile                          |   1 +
 drivers/usb/host/ohci-sunplus.c                    | 202 +++++++++++++++++++++
 5 files changed, 289 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/usb/sunplus,sp7021-usb-ohci.yaml
 create mode 100644 drivers/usb/host/ohci-sunplus.c

Comments

Rob Herring (Arm) March 23, 2022, 6:07 p.m. UTC | #1
On Mon, Mar 14, 2022 at 01:32:02PM +0800, Vincent Shih wrote:
> This is a patch series for USB HOST OHCI driver for Sunplus SP7021 SoC.
> 
> Sunplus SP7021 is an ARM Cortex A7 (4 cores) based SoC. It integrates
> many peripherals (ex: UART, I2C, SPI, SDIO, eMMC, USB, SD Card and
> etc.) into a single chip. It is designed for industrial control.

Looks to me like the generic-ohci binding and driver should work for 
this?

Rob
Vincent Shih March 24, 2022, 10:48 a.m. UTC | #2
Rob Herring <robh@kernel.org> 於 2022年3月24日 週四 上午2:07寫道:
>
> On Mon, Mar 14, 2022 at 01:32:02PM +0800, Vincent Shih wrote:
> > This is a patch series for USB HOST OHCI driver for Sunplus SP7021 SoC.
> >
> > Sunplus SP7021 is an ARM Cortex A7 (4 cores) based SoC. It integrates
> > many peripherals (ex: UART, I2C, SPI, SDIO, eMMC, USB, SD Card and
> > etc.) into a single chip. It is designed for industrial control.
>
> Looks to me like the generic-ohci binding and driver should work for
> this?
>
The generic-ohci binding and driver did work for Sunplus SP7021.
And do I need to submit the patch for the ohci driver and binding doc
for Sunplus
SP7021 SoC ?

> Rob
Rob Herring (Arm) March 24, 2022, 1:18 p.m. UTC | #3
On Thu, Mar 24, 2022 at 06:48:41PM +0800, 施錕鴻 wrote:
> Rob Herring <robh@kernel.org> 於 2022年3月24日 週四 上午2:07寫道:
> >
> > On Mon, Mar 14, 2022 at 01:32:02PM +0800, Vincent Shih wrote:
> > > This is a patch series for USB HOST OHCI driver for Sunplus SP7021 SoC.
> > >
> > > Sunplus SP7021 is an ARM Cortex A7 (4 cores) based SoC. It integrates
> > > many peripherals (ex: UART, I2C, SPI, SDIO, eMMC, USB, SD Card and
> > > etc.) into a single chip. It is designed for industrial control.
> >
> > Looks to me like the generic-ohci binding and driver should work for
> > this?
> >
> The generic-ohci binding and driver did work for Sunplus SP7021.
> And do I need to submit the patch for the ohci driver and binding doc
> for Sunplus
> SP7021 SoC ?

Just need to add the compatible string to the generic-ohci binding. For 
the driver, I don't know, did you have to change anything?

Rob