mbox series

[v2,00/11] Add USB support for Hikey 970

Message ID cover.1599493845.git.mchehab+huawei@kernel.org (mailing list archive)
Headers show
Series Add USB support for Hikey 970 | expand

Message

Mauro Carvalho Chehab Sept. 7, 2020, 3:59 p.m. UTC
Add the PHY layer for Hikey 970 and a misc driver that it is
required for the USB hub to work. The same USB hub is needed
by Hikey 960. 

That's the second version, addressing the points raised by
Mark on the RFC version and adding an extra patch in order for
it to use the dwc3-of-simple driver. Such binding is required,
as using dwc3 directly causes an Serror on ARM.

-

PS.: I'll be sending the dts bindings later on. We need first to
add a small quirk to dwc3:

    https://patchwork.kernel.org/patch/10909965/

I'll be sending a newer version of this specific patch probably
tomorrow.

Mauro Carvalho Chehab (8):
  phy: hisilicon: phy-hi3670-usb3: use a consistent namespace
  phy: hisilicon: phy-hi3670-usb3: fix coding style
  phy: hisilicon: phy-hi3670-usb3: change some DT properties
  dt-bindings: phy: convert phy-kirin970-usb3.txt to yaml
  MAINTAINERS: add myself as maintainer for Kirin 970 USB PHY
  misc: hisi_hikey_usb: add support for Hikey 970
  dwc3-of-simple: add support for Hikey 970
  dts: hisilicon: add support for USB3 on Hikey 970

Yu Chen (3):
  phy: hisilicon: add USB physical layer for Kirin 3670
  phy: hisilicon: phy-hi3670-usb3: fix some issues at the init code
  misc: hisi_hikey_usb: Driver to support onboard USB gpio hub on
    Hikey960

 .../bindings/phy/hisilicon,hi3670-usb3.yaml   |  72 ++
 MAINTAINERS                                   |  16 +-
 .../boot/dts/hisilicon/hi3670-hikey970.dts    | 102 +++
 arch/arm64/boot/dts/hisilicon/hi3670.dtsi     |  58 ++
 drivers/misc/Kconfig                          |   9 +
 drivers/misc/Makefile                         |   1 +
 drivers/misc/hisi_hikey_usb.c                 | 274 +++++++
 drivers/phy/hisilicon/Kconfig                 |  10 +
 drivers/phy/hisilicon/Makefile                |   1 +
 drivers/phy/hisilicon/phy-hi3670-usb3.c       | 671 ++++++++++++++++++
 drivers/usb/dwc3/dwc3-of-simple.c             |   4 +-
 11 files changed, 1216 insertions(+), 2 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/phy/hisilicon,hi3670-usb3.yaml
 create mode 100644 drivers/misc/hisi_hikey_usb.c
 create mode 100644 drivers/phy/hisilicon/phy-hi3670-usb3.c