Skip to content

Add USB support for Hikey 970

Mauro Carvalho Chehab linux-arm-kernel linux-devicetree lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 0 repliesNew

v3 from the cover letter

- fixes a problem on the past series, where some changes went to the wrong patch;
- adds DTS and dt-bindinds required for Hikey 970 USB to work.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10phy: 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/10phy: hisilicon: phy-hi3670-usb3: fix some issues at the init codedrivers/phy/hisilicon/phy-hi3670-usb3.c+32 -380 replies
3/10phy: 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/10phy: hisilicon: phy-hi3670-usb3: fix coding styledrivers/phy/hisilicon/phy-hi3670-usb3.c+76 -810 replies
5/10phy: hisilicon: phy-hi3670-usb3: change some DT propertiesdrivers/phy/hisilicon/phy-hi3670-usb3.c+5 -50 replies
6/10dt-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/10MAINTAINERS: add myself as maintainer for Kirin 970 USB PHYMAINTAINERS+8 -10 replies
8/10misc: hisi_hikey_usb: Driver to support onboard USB gpio hub on Hikey960MAINTAINERS drivers/misc/Kconfig drivers/misc/Makefile +1 more+222 -00 replies
9/10misc: hisi_hikey_usb: add support for Hikey 970drivers/misc/Kconfig drivers/misc/hisi_hikey_usb.c+88 -190 replies
10/10dts: hisilicon: add support for USB3 on Hikey 970arch/arm64/boot/dts/hisilicon/hi3670-hikey970.dts arch/arm64/boot/dts/hisilicon/hi3670.dtsi+160 -00 replies

Reviews trailers per patch

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

Read the v1 thread

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

This series adds the phy layer needed by Kirin 970 SoC.

It also adds a GPIO USB3 HUB driver, that is meant to support the HUB which comes inside with HiKey 960 and 970 designs.

The hub used on Hikey 970 is this one:

	Bus 002 Device 002: ID 0451:8140 Texas Instruments, Inc. TUSB8041 4-Port Hub

While it supports I2C, the driver for it just enables it, depending on the OTG mode.

v3:
- fixes a problem on the past series, where some changes went to the wrong patch;
- adds DTS and dt-bindinds required for Hikey 970 USB to work.

For the dt-bindings to work properly, two patches already sent are required:
- a patch adding Hikey 970 to dwg3-of-simple driver;
- a quirks patch for dwc3, which is required for usbhid to work. funny enough, such patch is not required by USB sticks. I suspect that it affects only INT URB packets, but didn't made any tests.

Mauro Carvalho Chehab (7):
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
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 ++++++++++++++++++
 10 files changed, 1213 insertions(+), 1 deletion(-)
 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 · 8 lines
2.26.2



_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel