spmi: hisi-spmi-controller: move driver from staging
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 25 Jun 2021 07:45:54 +0000 (09:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Jun 2021 08:02:05 +0000 (10:02 +0200)
The Hisilicon 6421v600 SPMI driver is ready for mainstream.

So, move it from staging.

Acked-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/35b9f9169889c1f4d51eff8bf2035450c9e02576.1624606660.git.mchehab+huawei@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/spmi/hisilicon,hisi-spmi-controller.yaml [moved from drivers/staging/hikey9xx/hisilicon,hisi-spmi-controller.yaml with 100% similarity]
MAINTAINERS
drivers/spmi/Kconfig
drivers/spmi/Makefile
drivers/spmi/hisi-spmi-controller.c [moved from drivers/staging/hikey9xx/hisi-spmi-controller.c with 100% similarity]
drivers/staging/hikey9xx/Kconfig
drivers/staging/hikey9xx/Makefile
drivers/staging/hikey9xx/hisilicon,hi6421-spmi-pmic.yaml

index c573048..1333922 100644 (file)
@@ -8282,6 +8282,13 @@ S:       Maintained
 W:     http://www.hisilicon.com
 F:     drivers/spi/spi-hisi-kunpeng.c
 
+HISILICON SPMI CONTROLLER DRIVER FOR HIKEY 970
+M:     Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
+L:     linux-kernel@vger.kernel.org
+S:     Maintained
+F:     Documentation/devicetree/bindings/spmi/hisilicon,hisi-spmi-controller.yaml
+F:     drivers/spmi/hisi-spmi-controller.c
+
 HISILICON STAGING DRIVERS FOR HIKEY 960/970
 M:     Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
 S:     Maintained
index a53bad5..2874b6c 100644 (file)
@@ -11,6 +11,15 @@ menuconfig SPMI
 
 if SPMI
 
+config SPMI_HISI3670
+       tristate "Hisilicon 3670 SPMI Controller"
+       select IRQ_DOMAIN_HIERARCHY
+       depends on HAS_IOMEM
+       help
+         If you say yes to this option, support will be included for the
+         built-in SPMI PMIC Arbiter interface on Hisilicon 3670
+         processors.
+
 config SPMI_MSM_PMIC_ARB
        tristate "Qualcomm MSM SPMI Controller (PMIC Arbiter)"
        select IRQ_DOMAIN_HIERARCHY
index 55a94ca..6e092e6 100644 (file)
@@ -4,4 +4,5 @@
 #
 obj-$(CONFIG_SPMI)     += spmi.o
 
+obj-$(CONFIG_SPMI_HISI3670)    += hisi-spmi-controller.o
 obj-$(CONFIG_SPMI_MSM_PMIC_ARB)        += spmi-pmic-arb.o
index 3ceda03..9f53df9 100644 (file)
@@ -1,16 +1,5 @@
 # SPDX-License-Identifier: GPL-2.0
 
-# to be placed at drivers/spmi
-config SPMI_HISI3670
-       tristate "Hisilicon 3670 SPMI Controller"
-       select IRQ_DOMAIN_HIERARCHY
-       depends on HAS_IOMEM
-       depends on SPMI
-       help
-         If you say yes to this option, support will be included for the
-         built-in SPMI PMIC Arbiter interface on Hisilicon 3670
-         processors.
-
 # to be placed at drivers/mfd
 config MFD_HI6421_SPMI
        tristate "HiSilicon Hi6421v600 SPMI PMU/Codec IC"
index 42d4861..e3108d7 100644 (file)
@@ -1,4 +1,3 @@
 # SPDX-License-Identifier: GPL-2.0
 
-obj-$(CONFIG_SPMI_HISI3670)            += hisi-spmi-controller.o
 obj-$(CONFIG_MFD_HI6421_SPMI)          += hi6421-spmi-pmic.o
index 3b23ad5..d57316c 100644 (file)
@@ -17,7 +17,7 @@ description: |
   node.
 
   The SPMI controller part is provided by
-  drivers/staging/hikey9xx/hisilicon,hisi-spmi-controller.yaml.
+  Documentation/devicetree/bindings/mfd/hisilicon,hi6421-spmi-pmic.yaml
 
 properties:
   $nodename: