summaryrefslogtreecommitdiffstats
path: root/drivers/staging/hikey9xx
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-08-18 16:58:53 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-08-18 17:05:14 +0200
commit78dd4243574ffc05c266e5cab7c0d3ebafea51dd (patch)
treec334235291471012d055c103dc57709e6f8a5ce0 /drivers/staging/hikey9xx
parent561e174eb3a153d4e4a3c8da10cabe96c686108b (diff)
downloadlinux-78dd4243574ffc05c266e5cab7c0d3ebafea51dd.tar.bz2
staging: hikey9xx: fix Kconfig dependency chain
Both the SPMI controller and the SPMI PMIC driver depends on the SPMI bus support. The dependency for the regulator is also wrong: it should depends on the SPMI version of the HiSilicon 6421, and not on the normal one. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Link: https://lore.kernel.org/r/1b7e23500e7449593393115cc0954af441b0c730.1597762400.git.mchehab+huawei@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/hikey9xx')
-rw-r--r--drivers/staging/hikey9xx/Kconfig4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/staging/hikey9xx/Kconfig b/drivers/staging/hikey9xx/Kconfig
index 76267b9be562..a004839e8fa9 100644
--- a/drivers/staging/hikey9xx/Kconfig
+++ b/drivers/staging/hikey9xx/Kconfig
@@ -5,6 +5,7 @@ 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
@@ -14,6 +15,7 @@ config SPMI_HISI3670
config MFD_HI6421_SPMI
tristate "HiSilicon Hi6421v600 SPMI PMU/Codec IC"
depends on OF
+ depends on SPMI
select MFD_CORE
help
Add support for HiSilicon Hi6421v600 SPMI PMIC. Hi6421 includes
@@ -28,7 +30,7 @@ config MFD_HI6421_SPMI
# to be placed at drivers/regulator
config REGULATOR_HI6421V600
tristate "HiSilicon Hi6421v600 PMIC voltage regulator support"
- depends on MFD_HI6421_PMIC && OF
+ depends on MFD_HI6421_SPMI && OF
help
This driver provides support for the voltage regulators on
HiSilicon Hi6421v600 PMU / Codec IC.