[PATCH v14 0/9] Move Hisilicon 6421v600 SPMI and USB drivers out of staging

Mauro Carvalho Chehab
2021-07-17T09:58:57Z

Hi Greg,

This series contain the final bits needed for the USB3 bus to work without
staging drivers on Hikey 970. It is based on next-20210714, as it depends
on a patch on this branch:

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next

v14:
- use platform_get_irq() instead of of_get_gpio().
v13:
- Addressed an issue pointed by Rob Herring at the DT file (patch 6).
v12:
- Added Mark Brown's ack to patch 5;
- Addressed a couple issues at the DT binding, as pointed by Rob Herring
(patch 1).

Mauro Carvalho Chehab (9):
staging: hi6421-spmi-pmic: rename spmi_device struct
staging: hi6421-spmi-pmic: rename GPIO IRQ OF node
staging: hi6421-spmi-pmic: add a missing dot at copyright
staging: hikey9xx: split hi6421v600 irq into a separate driver
staging: hi6421-spmi-pmic: cleanup drvdata
staging: hisilicon,hi6421-spmi-pmic.yaml: fix patternProperties
mfd: hi6421-spmi-pmic: move driver from staging
dts: hisilicon: add support for the PMIC found on Hikey 970
dts: hisilicon: add support for USB3 on Hikey 970

.../mfd}/hisilicon,hi6421-spmi-pmic.yaml | 16 +-
MAINTAINERS | 7 +
.../boot/dts/hisilicon/hi3670-hikey970.dts | 129 ++++++--
arch/arm64/boot/dts/hisilicon/hi3670.dtsi | 56 ++++
.../boot/dts/hisilicon/hikey970-pmic.dtsi | 88 +++++
drivers/mfd/Kconfig | 16 +
drivers/mfd/Makefile | 1 +
drivers/mfd/hi6421-spmi-pmic.c | 66 ++++
drivers/misc/Kconfig | 10 +
drivers/misc/Makefile | 1 +
drivers/misc/hi6421v600-irq.c | 306 +++++++++++++++++
drivers/regulator/hi6421v600-regulator.c | 10 +-
drivers/staging/Kconfig | 2 -
drivers/staging/Makefile | 1 -
drivers/staging/hikey9xx/Kconfig | 19 --
drivers/staging/hikey9xx/Makefile | 3 -
drivers/staging/hikey9xx/TODO | 5 -
drivers/staging/hikey9xx/hi6421-spmi-pmic.c | 311 ------------------
include/linux/mfd/hi6421-spmi-pmic.h | 30 --
19 files changed, 675 insertions(+), 402 deletions(-)
rename {drivers/staging/hikey9xx => Documentation/devicetree/bindings/mfd}/hisilicon,hi6421-spmi-pmic.yaml (92%)
create mode 100644 arch/arm64/boot/dts/hisilicon/hikey970-pmic.dtsi
create mode 100644 drivers/mfd/hi6421-spmi-pmic.c
create mode 100644 drivers/misc/hi6421v600-irq.c
delete mode 100644 drivers/staging/hikey9xx/Kconfig
delete mode 100644 drivers/staging/hikey9xx/Makefile
delete mode 100644 drivers/staging/hikey9xx/TODO
delete mode 100644 drivers/staging/hikey9xx/hi6421-spmi-pmic.c
delete mode 100644 include/linux/mfd/hi6421-spmi-pmic.h

--
2.31.1