Skip to content

Add USB support for Hikey 970

Mauro Carvalho Chehab linux-arm-kernel linux-devicetree linux-usb lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest11 patches 7 repliesIn review
  2. v1 RFC10 patches 11 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11phy: hisilicon: add USB physical layer for Kirin 3670Documentation/devicetree/bindings/phy/phy-hi3670-usb3.txt drivers/phy/hisilicon/Kconfig drivers/phy/hisilicon/Makefile +1 more+718 -00 replies
2/11phy: hisilicon: phy-hi3670-usb3: fix some issues at the init codedrivers/phy/hisilicon/phy-hi3670-usb3.c+32 -380 replies
3/11phy: hisilicon: phy-hi3670-usb3: use a consistent namespaceDocumentation/devicetree/bindings/phy/phy-hi3670-usb3.txt drivers/phy/hisilicon/phy-hi3670-usb3.c+51 -510 replies
4/11phy: hisilicon: phy-hi3670-usb3: fix coding styledrivers/phy/hisilicon/phy-hi3670-usb3.c+76 -810 replies
5/11phy: hisilicon: phy-hi3670-usb3: change some DT propertiesdrivers/phy/hisilicon/phy-hi3670-usb3.c+5 -50 replies
6/11dt-bindings: phy: convert phy-kirin970-usb3.txt to yamlDocumentation/devicetree/bindings/phy/hisilicon,hi3670-usb3.yaml Documentation/devicetree/bindings/phy/phy-hi3670-usb3.txt+72 -250 replies
7/11MAINTAINERS: add myself as maintainer for Kirin 970 USB PHYMAINTAINERS+8 -10 replies
8/11misc: hisi_hikey_usb: Driver to support onboard USB gpio hub on Hikey960MAINTAINERS drivers/misc/Kconfig drivers/misc/Makefile +1 more+222 -04 replies
9/11misc: hisi_hikey_usb: add support for Hikey 970drivers/misc/Kconfig drivers/misc/hisi_hikey_usb.c+102 -180 replies
10/11dwc3-of-simple: add support for Hikey 970drivers/usb/dwc3/dwc3-of-simple.c+3 -13 replies
11/11dts: hisilicon: add support for USB3 on Hikey 970arch/arm64/boot/dts/hisilicon/hi3670-hikey970.dts arch/arm64/boot/dts/hisilicon/hi3670.dtsi drivers/misc/hisi_hikey_usb.c+167 -220 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 00/11] Add USB support for Hikey 970

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
Signature · 1 line
2.26.2