[PATCH v3 0/4] Make USB ports to work on HiKey960/970

From: Mauro Carvalho Chehab
Date: Thu Sep 02 2021 - 07:28:57 EST


Hi Rob,

It follows the patchset adding a DT schema needed to power on and to
use the integrated USB HUB found on HiKey 960 and Hikey 970 boards.

The entire series which contains the remaining patches to support
PCI and USB on HiKey970, and USB on HiKey960 was updated at:

https://github.com/mchehab/linux/commits/linux-next

Those patches are based on linux-next tree (next-20210831), as they
depend on some patches that will likely be merged up to v5.15-rc1.

Tested on HiKey 960:

$ lsusb
Bus 002 Device 002: ID 0424:5734 Standard Microsystems Corp.
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0424:2740 Standard Microsystems Corp.
Bus 001 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 002: ID 0424:2734 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Tested on HiKey 970:

$ lsusb
Bus 002 Device 002: ID 0451:8140 Texas Instruments, Inc. TUSB8041 4-Port Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 001 Device 002: ID 0451:8142 Texas Instruments, Inc. TUSB8041 4-Port Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

v3:
- The examples at the dt-bindings were updated to reflect
the actual DTS content and won't produce any warnings;
- Added John Stultz SoB to Hikey960 DTS patch;
- Added a patch for the mux hub driver for it to work with
the newer schema;

John Stultz (1):
arm64: dts: hisilicon: Add usb mux hub for hikey960

Mauro Carvalho Chehab (2):
misc: hisi_hikey_usb: change the DT schema
arm64: dts: hisilicon: Add usb mux hub for hikey970

Yu Chen (1):
dt-bindings: misc: add schema for USB hub on Kirin devices

.../bindings/misc/hisilicon,hikey-usb.yaml | 108 ++++++++++++++++++
.../boot/dts/hisilicon/hi3660-hikey960.dts | 35 +++++-
.../boot/dts/hisilicon/hi3670-hikey970.dts | 23 ++++
drivers/misc/hisi_hikey_usb.c | 81 ++++++-------
4 files changed, 199 insertions(+), 48 deletions(-)
create mode 100644 Documentation/devicetree/bindings/misc/hisilicon,hikey-usb.yaml

--
2.31.1