summaryrefslogtreecommitdiff
path: root/drivers/mxc/pmic/Kconfig
blob: f3194343e5b3aac180c52c4643384ca769e9dd39 (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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#
# PMIC device driver configuration
#

menu "MXC PMIC support"

config MXC_SPI_PMIC_CORE
	tristate "PMIC Protocol support (SPI interface)"
	depends on ARCH_MXC && SPI_MXC
	default n
	---help---
	This is the PMIC core/protocol driver for the Freescale MXC application.
	SPI should be providing the interface between the PMIC and the MCU.
	You must select the SPI driver support to enable this option.

config MXC_I2C_MCU_PMIC_CORE
        tristate "MCU PMIC Protocol support (I2C interface)"
        depends on ARCH_MXC
        default n
        ---help---
        This is the PMIC core/protocol driver for the MX35 3DS MCU PMIC

config MXC_PMIC
	boolean
	default (MXC_SPI_PMIC_CORE || MXC_I2C_MCU_PMIC_CORE)

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

config MXC_PMIC_MC13783
	tristate "MC13783 Client Drivers"
	depends on MXC_SPI_PMIC_CORE
	default n
	---help---
	This is the MXC MC13783(PMIC) client drivers support. It include
	ADC, Audio, Battery, Connectivity, Light, Power and RTC.

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

config MXC_PMIC_SC55112
	tristate "SC55112 Client Drivers"
	depends on MXC_SPI_PMIC_CORE && ARCH_MXC91131
	default n
	---help---
	This is the MXC MC13783(PMIC) client drivers support. It include
	ADC, Audio, Battery, Connectivity, Light, Power and RTC.

config MXC_PMIC_FIXARB
        bool "Use Arbitration Bit Workaround"
        depends on MXC_PMIC_SC55112
        default n
        ---help---
            Enable this option to include the code that will automatically
            toggle the sc55112 arbitration bits to allow register write
            access to the secondary processor. Note that this also requires
            a hardware modification to the RF Deck that connects the Sphinx
            card (with the sc55112 PMIC) to the MXC91131 EVB.

config MXC_PMIC_MC9SDZ60
        tristate "MC9sDZ60 Client Drivers"
        depends on MXC_I2C_MCU_PMIC_CORE
        depends on !ARCH_MXC91131
        default n
        ---help---
        This is the MXC MC9sDZ60(MCU) PMIC client drivers support.

source "drivers/mxc/pmic/mc9sdz60/Kconfig"

endmenu