[PATCH v4 0/5] Promote Hikey 970 USB phy out of staging

From: Mauro Carvalho Chehab
Date: Tue Jan 19 2021 - 05:58:02 EST


Hi Vinod/Rob,

This series moves the Hikey 970 USB PHY driver out of staging.

Patches 1 to 4 contain the fixes from staging. Patch 5 moves the
driver from staging:

$ git show 82ce73ac9a38 --summary
...
rename drivers/staging/hikey9xx/phy-hi3670-usb3.yaml => Documentation/devicetree/bindings/phy/hisilicon,hi3670-usb3.yaml (100%)
rename drivers/{staging/hikey9xx => phy/hisilicon}/phy-hi3670-usb3.c (100%)

I opted to use --no-renames on this series in order to make easier to
review via e-mail, as the entire driver and DT bindings will be seen
at the last patch on this series.


v4:
- do additional changes at the hi3670_is_abbclk_seleted() function,
fixing the typo on its name and reversing the bool return code;
- the yaml fix is now on a separate patch.

v3:
- no changes on patches 1-2 nor at phy-hi3670-usb3.c;
- yaml renamed to: hisilicon,hi3670-usb3.yaml
- Added a blank line after maintainers at hisilicon,hi3670-usb3.yaml



Mauro Carvalho Chehab (5):
staging: hikey9xx: phy-hi3670-usb3: use bitfield macros
staging: hikey9xx: phy-hi3670-usb3: adjust retry logic
staging: hikey9xx: phy-hi3670-usb3: hi3670_is_abbclk_seleted() returns
bool
staging: hikey9xx: phy-hi3670-usb3.yaml: add a blank line
phy: phy-hi3670-usb3: move driver from staging into phy

.../bindings/phy/hisilicon,hi3670-usb3.yaml | 73 ++
MAINTAINERS | 9 +-
drivers/phy/hisilicon/Kconfig | 10 +
drivers/phy/hisilicon/Makefile | 1 +
drivers/phy/hisilicon/phy-hi3670-usb3.c | 668 +++++++++++++++++
drivers/staging/hikey9xx/Kconfig | 11 -
drivers/staging/hikey9xx/Makefile | 2 -
drivers/staging/hikey9xx/phy-hi3670-usb3.c | 671 ------------------
drivers/staging/hikey9xx/phy-hi3670-usb3.yaml | 72 --
9 files changed, 760 insertions(+), 757 deletions(-)
create mode 100644 Documentation/devicetree/bindings/phy/hisilicon,hi3670-usb3.yaml
create mode 100644 drivers/phy/hisilicon/phy-hi3670-usb3.c
delete mode 100644 drivers/staging/hikey9xx/phy-hi3670-usb3.c
delete mode 100644 drivers/staging/hikey9xx/phy-hi3670-usb3.yaml

--
2.29.2