2022-03-17 03:36:17

by Vincent Shih

[permalink] [raw]
Subject: [PATCH v1 0/2] Add USB HOST OHCI driver for Sunplus SP7021 SoC

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

--
2.7.4


2022-03-23 23:43:17

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH v1 0/2] Add USB HOST OHCI driver for Sunplus SP7021 SoC

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

2022-03-24 23:54:10

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH v1 0/2] Add USB HOST OHCI driver for Sunplus SP7021 SoC

On Thu, Mar 24, 2022 at 06:48:41PM +0800, 施錕鴻 wrote:
> Rob Herring <[email protected]> 於 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

2022-03-25 18:46:39

by Vincent Shih

[permalink] [raw]
Subject: Re: [PATCH v1 0/2] Add USB HOST OHCI driver for Sunplus SP7021 SoC

Rob Herring <[email protected]> 於 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