Merge tag 'printk-for-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/printk...
[linux-2.6-microblaze.git] / drivers / staging / hikey9xx / Kconfig
1 # SPDX-License-Identifier: GPL-2.0
2
3 # to be placed at drivers/phy
4 config PHY_HI3670_USB
5         tristate "hi3670 USB PHY support"
6         depends on (ARCH_HISI && ARM64) || COMPILE_TEST
7         select GENERIC_PHY
8         select MFD_SYSCON
9         help
10           Enable this to support the HISILICON HI3670 USB PHY.
11
12           To compile this driver as a module, choose M here.
13
14 # to be placed at drivers/spmi
15 config SPMI_HISI3670
16         tristate "Hisilicon 3670 SPMI Controller"
17         select IRQ_DOMAIN_HIERARCHY
18         depends on HAS_IOMEM
19         depends on SPMI
20         help
21           If you say yes to this option, support will be included for the
22           built-in SPMI PMIC Arbiter interface on Hisilicon 3670
23           processors.
24
25 # to be placed at drivers/mfd
26 config MFD_HI6421_SPMI
27         tristate "HiSilicon Hi6421v600 SPMI PMU/Codec IC"
28         depends on HAS_IOMEM
29         depends on OF
30         depends on SPMI
31         select MFD_CORE
32         select REGMAP_SPMI
33         help
34           Add support for HiSilicon Hi6421v600 SPMI PMIC. Hi6421 includes
35           multi-functions, such as regulators, RTC, codec, Coulomb counter,
36           etc.
37
38           This driver includes core APIs _only_. You have to select
39           individual components like voltage regulators under corresponding
40           menus in order to enable them.
41           We communicate with the Hi6421v600 via a SPMI bus.
42
43 # to be placed at drivers/regulator
44 config REGULATOR_HI6421V600
45         tristate "HiSilicon Hi6421v600 PMIC voltage regulator support"
46         depends on MFD_HI6421_SPMI && OF
47         depends on REGULATOR
48         select REGMAP
49         help
50           This driver provides support for the voltage regulators on
51           HiSilicon Hi6421v600 PMU / Codec IC.
52           This is used on Kirin 3670 boards, like HiKey 970.