mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
staging: spmi: hisi-spmi-controller: add it to the building system
Now that the driver was ported to upstream, add it as a SPMI controller. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Link: https://lore.kernel.org/r/5315331cf048cc72844080e5e8668c0dbac48f1f.1597647359.git.mchehab+huawei@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4d914a8c48
commit
1747938a37
4 changed files with 16 additions and 0 deletions
|
@ -116,4 +116,6 @@ source "drivers/staging/qlge/Kconfig"
|
|||
|
||||
source "drivers/staging/wfx/Kconfig"
|
||||
|
||||
source "drivers/staging/hikey9xx/Kconfig"
|
||||
|
||||
endif # STAGING
|
||||
|
|
|
@ -48,3 +48,4 @@ obj-$(CONFIG_FIELDBUS_DEV) += fieldbus/
|
|||
obj-$(CONFIG_KPC2000) += kpc2000/
|
||||
obj-$(CONFIG_QLGE) += qlge/
|
||||
obj-$(CONFIG_WFX) += wfx/
|
||||
obj-y += hikey9xx/
|
||||
|
|
10
drivers/staging/hikey9xx/Kconfig
Normal file
10
drivers/staging/hikey9xx/Kconfig
Normal file
|
@ -0,0 +1,10 @@
|
|||
# SPDX-License-Identifier: GPL-2.0
|
||||
|
||||
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.
|
3
drivers/staging/hikey9xx/Makefile
Normal file
3
drivers/staging/hikey9xx/Makefile
Normal file
|
@ -0,0 +1,3 @@
|
|||
# SPDX-License-Identifier: GPL-2.0
|
||||
|
||||
obj-$(CONFIG_SPMI_HISI3670) += hisi-spmi-controller.o
|
Loading…
Reference in a new issue