summaryrefslogtreecommitdiff
path: root/drivers/regulator/Kconfig
blob: 3b3e8f4d2f2dc63806d3e79ed82eb9380f8c00b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
menu "Voltage and Current regulators"

config REGULATOR_API
	bool

config REGULATOR
	tristate "Voltage and Current Regulator Support"
	depends on EXPERIMENTAL
	select REGULATOR_API
	default n
	help
	  Generic Voltage and Current Regulator support.

config REGULATOR_DEBUG
	bool "Regulator debug support"
	depends on REGULATOR
	help
	  Say yes here to enable debugging support.

config REGULATOR_MC13783
    tristate "MC13783 Regulator Support"
        depends on REGULATOR
        depends on MXC_PMIC_MC13783

config REGULATOR_WM8350
    tristate "WM8350 Regulator Support"
        depends on REGULATOR
        depends on !MXC_PMIC_MC13783

menu "WM8350 Config Mode"
depends on REGULATOR_WM8350

choice
	prompt "WM8350 Configuration Mode"
	default PMIC_WM8350_MODE_0

config PMIC_WM8350_MODE_0
	bool "Mode 0"

config PMIC_WM8350_MODE_1
	bool "Mode 1"

config PMIC_WM8350_MODE_2
	bool "Mode 2"

config PMIC_WM8350_MODE_3
	bool "Mode 3"

endchoice

endmenu

endmenu