summaryrefslogtreecommitdiff
path: root/drivers/mxc/pmic/Kconfig
blob: 4ee91110fc033cf0f1d6ffba06957522a23c4a0d (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
54
55
56
57
58
59
60
61
62
63
64
#
# PMIC device driver configuration
#

menu "MXC PMIC support"

config MXC_PMIC
	boolean

config MXC_PMIC_MC13783
	tristate "MC13783 PMIC"
	depends on ARCH_MXC && SPI
	select MXC_PMIC
	---help---
	  This is the MXC MC13783(PMIC) support. It include
	  ADC, Audio, Battery, Connectivity, Light, Power and RTC.

config MXC_PMIC_MC13892
	tristate "MC13892 PMIC"
	depends on ARCH_MXC && (I2C || SPI)
	select MXC_PMIC
	---help---
	  This is the MXC MC13892(PMIC) support. It include
	  ADC, Battery, Connectivity, Light, Power and RTC.

config MXC_PMIC_I2C
	bool "Support PMIC I2C Interface"
	depends on MXC_PMIC_MC13892 && I2C

config MXC_PMIC_SPI
	bool "Support PMIC SPI Interface"
	depends on (MXC_PMIC_MC13892 || MXC_PMIC_MC13783) && SPI

config MXC_PMIC_MC34704
	tristate "MC34704 PMIC"
	depends on ARCH_MXC && I2C
	select MXC_PMIC
	  ---help---
	  This is the MXC MC34704 PMIC support.

config MXC_PMIC_MC9SDZ60
	tristate "MC9sDZ60 PMIC"
	depends on ARCH_MXC && I2C
	select MXC_PMIC
	  ---help---
	  This is the MXC MC9sDZ60(MCU) PMIC support.

config MXC_PMIC_CHARDEV
	tristate "MXC PMIC device interface"
	depends on MXC_PMIC
	help
	  Say Y here to use "pmic" device files, found in the /dev directory
	  on the system.  They make it possible to have user-space programs
	  use or controll PMIC. Mainly its useful for notifying PMIC events
	  to user-space programs.

comment "MXC PMIC Client Drivers"
	depends on MXC_PMIC

source "drivers/mxc/pmic/mc13783/Kconfig"

source "drivers/mxc/pmic/mc13892/Kconfig"

endmenu