blob: b4014e619f9ece7fa20ecf70ec3ceb2e051d9f1f [file] [log] [blame]
Andy Gross5d144e32014-04-24 11:31:21 -05001#
2# QCOM Soc drivers
3#
4config QCOM_GSBI
5 tristate "QCOM General Serial Bus Interface"
6 depends on ARCH_QCOM
Andy Grosse5fdad62015-02-09 16:01:06 -06007 select MFD_SYSCON
Andy Gross5d144e32014-04-24 11:31:21 -05008 help
9 Say y here to enable GSBI support. The GSBI provides control
10 functions for connecting the underlying serial UART, SPI, and I2C
11 devices to the output pins.
12
Lina Iyer7ce75bb2015-04-09 13:20:41 -060013config QCOM_PM
14 bool "Qualcomm Power Management"
15 depends on ARCH_QCOM && !ARM64
Arnd Bergmannd9d68882015-11-24 23:13:09 +010016 select ARM_CPU_SUSPEND
Lina Iyer23b38ce2015-07-10 14:18:00 -060017 select QCOM_SCM
Lina Iyer7ce75bb2015-04-09 13:20:41 -060018 help
19 QCOM Platform specific power driver to manage cores and L2 low power
20 modes. It interface with various system drivers to put the cores in
21 low power modes.
Bjorn Andersson4b638df42015-06-26 14:50:10 -070022
Stephen Boyd7d0c8be2015-08-28 11:23:33 -070023config QCOM_SMEM
24 tristate "Qualcomm Shared Memory Manager (SMEM)"
25 depends on ARCH_QCOM
Arnd Bergmann73ebb852015-10-13 17:05:39 +020026 depends on HWSPINLOCK
Stephen Boyd7d0c8be2015-08-28 11:23:33 -070027 help
28 Say y here to enable support for the Qualcomm Shared Memory Manager.
29 The driver provides an interface to items in a heap shared among all
30 processors in a Qualcomm platform.
31
Bjorn Anderssonf2ab3292015-07-27 20:20:30 -070032config QCOM_SMD
33 tristate "Qualcomm Shared Memory Driver (SMD)"
34 depends on QCOM_SMEM
35 help
36 Say y here to enable support for the Qualcomm Shared Memory Driver
37 providing communication channels to remote processors in Qualcomm
38 platforms.
39
Bjorn Andersson936f14c2015-07-27 20:20:32 -070040config QCOM_SMD_RPM
41 tristate "Qualcomm Resource Power Manager (RPM) over SMD"
42 depends on QCOM_SMD && OF
43 help
44 If you say yes to this option, support will be included for the
45 Resource Power Manager system found in the Qualcomm 8974 based
46 devices.
47
48 This is required to access many regulators, clocks and bus
49 frequencies controlled by the RPM on these devices.
50
51 Say M here if you want to include support for the Qualcomm RPM as a
52 module. This will build a module called "qcom-smd-rpm".
Bjorn Andersson9460ae22015-09-24 18:25:01 -070053
Channagoud Kadabieee0ffd2016-08-11 14:18:17 -070054config QCOM_SCM
55 bool "Secure Channel Manager (SCM) support"
56 default n
57
Bjorn Andersson9460ae22015-09-24 18:25:01 -070058config QCOM_SMEM_STATE
59 bool
Bjorn Anderssonc97c4092015-09-24 18:25:02 -070060
Bjorn Andersson50e99642015-09-24 18:25:03 -070061config QCOM_SMP2P
Arnd Bergmann10475d52015-11-20 11:32:21 +010062 tristate "Qualcomm Shared Memory Point to Point support"
Bjorn Andersson50e99642015-09-24 18:25:03 -070063 depends on QCOM_SMEM
64 select QCOM_SMEM_STATE
65 help
66 Say yes here to support the Qualcomm Shared Memory Point to Point
67 protocol.
68
Bjorn Anderssonc97c4092015-09-24 18:25:02 -070069config QCOM_SMSM
Arnd Bergmann10475d52015-11-20 11:32:21 +010070 tristate "Qualcomm Shared Memory State Machine"
Bjorn Anderssonc97c4092015-09-24 18:25:02 -070071 depends on QCOM_SMEM
72 select QCOM_SMEM_STATE
73 help
74 Say yes here to support the Qualcomm Shared Memory State Machine.
75 The state machine is represented by bits in shared memory.
Bjorn Anderssonea7a1f22015-09-21 10:52:55 -070076
77config QCOM_WCNSS_CTRL
78 tristate "Qualcomm WCNSS control driver"
79 depends on QCOM_SMD
80 help
81 Client driver for the WCNSS_CTRL SMD channel, used to download nv
82 firmware to a newly booted WCNSS chip.
Kyle Yanbf6dedf2016-08-19 16:47:30 -070083
84config MSM_GLADIATOR_HANG_DETECT
85 tristate "MSM Gladiator Hang Detection Support"
86 help
87 This enables the gladiator hang detection module.
88 If the configured threshold is reached, it causes SoC reset on
89 gladiator hang detection and collects the context for the
90 gladiator hang.
Kyle Yancc90ead2016-08-19 16:53:28 -070091
92config MSM_GLADIATOR_ERP_V2
93 tristate "GLADIATOR coherency interconnect error reporting driver v2"
94 help
95 Support dumping debug information for the GLADIATOR
96 cache interconnect in the error interrupt handler.
97 Meant to be used for debug scenarios only.
98
99 If unsure, say N.
100
101config PANIC_ON_GLADIATOR_ERROR_V2
102 depends on MSM_GLADIATOR_ERP_V2
103 bool "Panic on GLADIATOR error report v2"
104 help
105 Panic upon detection of an Gladiator coherency interconnect error
106 in order to support dumping debug information.
107 Meant to be used for debug scenarios only.
108
109 If unsure, say N.