blob: ad5654d5ed84fdf34a83e5547a5870ed8725daf0 [file] [log] [blame]
Andy Gross5d144e32014-04-24 11:31:21 -05001#
2# QCOM Soc drivers
3#
Channagoud Kadabi7e8d55a2016-08-23 14:04:44 -07004config QCOM_CPUSS_DUMP
5 bool "CPU Subsystem Dumping support"
6 help
7 Add support to dump various hardware entities such as the instruction
8 and data tlb's as well as the unified tlb, which are a part of the
9 cpu subsystem to an allocated buffer. This allows for analysis of the
10 the entities if corruption is suspected.
11 If unsure, say N
12
Kyle Yan36d78702016-08-23 16:07:11 -070013config QCOM_RUN_QUEUE_STATS
14 bool "Enable collection and exporting of QTI Run Queue stats to userspace"
15 help
16 This option enables the driver to periodically collecting the statistics
17 of kernel run queue information and calculate the load of the system.
18 This information is exported to usespace via sysfs entries and userspace
19 algorithms uses info and decide when to turn on/off the cpu cores.
20
Andy Gross5d144e32014-04-24 11:31:21 -050021config QCOM_GSBI
22 tristate "QCOM General Serial Bus Interface"
23 depends on ARCH_QCOM
Andy Grosse5fdad62015-02-09 16:01:06 -060024 select MFD_SYSCON
Andy Gross5d144e32014-04-24 11:31:21 -050025 help
26 Say y here to enable GSBI support. The GSBI provides control
27 functions for connecting the underlying serial UART, SPI, and I2C
28 devices to the output pins.
29
Channagoud Kadabi97335b22016-08-17 13:40:46 -070030config QCOM_LLCC
31 tristate "Qualcomm Technologies, Inc. LLCC driver"
32 depends on ARCH_QCOM
33 help
34 Qualcomm Technologies, Inc. platform specific LLCC driver for Last
35 Level Cache. This provides interfaces to client's that use the LLCC.
36 Say yes here to enable LLCC slice driver.
37
Lina Iyer7ce75bb2015-04-09 13:20:41 -060038config QCOM_PM
39 bool "Qualcomm Power Management"
40 depends on ARCH_QCOM && !ARM64
Arnd Bergmannd9d68882015-11-24 23:13:09 +010041 select ARM_CPU_SUSPEND
Lina Iyer23b38ce2015-07-10 14:18:00 -060042 select QCOM_SCM
Lina Iyer7ce75bb2015-04-09 13:20:41 -060043 help
44 QCOM Platform specific power driver to manage cores and L2 low power
45 modes. It interface with various system drivers to put the cores in
46 low power modes.
Bjorn Andersson4b638df42015-06-26 14:50:10 -070047
Stephen Boyd7d0c8be2015-08-28 11:23:33 -070048config QCOM_SMEM
49 tristate "Qualcomm Shared Memory Manager (SMEM)"
50 depends on ARCH_QCOM
Arnd Bergmann73ebb852015-10-13 17:05:39 +020051 depends on HWSPINLOCK
Stephen Boyd7d0c8be2015-08-28 11:23:33 -070052 help
53 Say y here to enable support for the Qualcomm Shared Memory Manager.
54 The driver provides an interface to items in a heap shared among all
55 processors in a Qualcomm platform.
56
Bjorn Anderssonf2ab3292015-07-27 20:20:30 -070057config QCOM_SMD
58 tristate "Qualcomm Shared Memory Driver (SMD)"
59 depends on QCOM_SMEM
60 help
61 Say y here to enable support for the Qualcomm Shared Memory Driver
62 providing communication channels to remote processors in Qualcomm
63 platforms.
64
Bjorn Andersson936f14c2015-07-27 20:20:32 -070065config QCOM_SMD_RPM
66 tristate "Qualcomm Resource Power Manager (RPM) over SMD"
67 depends on QCOM_SMD && OF
68 help
69 If you say yes to this option, support will be included for the
70 Resource Power Manager system found in the Qualcomm 8974 based
71 devices.
72
73 This is required to access many regulators, clocks and bus
74 frequencies controlled by the RPM on these devices.
75
76 Say M here if you want to include support for the Qualcomm RPM as a
77 module. This will build a module called "qcom-smd-rpm".
Bjorn Andersson9460ae22015-09-24 18:25:01 -070078
Channagoud Kadabieee0ffd2016-08-11 14:18:17 -070079config QCOM_SCM
80 bool "Secure Channel Manager (SCM) support"
81 default n
82
Bjorn Andersson9460ae22015-09-24 18:25:01 -070083config QCOM_SMEM_STATE
84 bool
Bjorn Anderssonc97c4092015-09-24 18:25:02 -070085
Bjorn Andersson50e99642015-09-24 18:25:03 -070086config QCOM_SMP2P
Arnd Bergmann10475d52015-11-20 11:32:21 +010087 tristate "Qualcomm Shared Memory Point to Point support"
Bjorn Andersson50e99642015-09-24 18:25:03 -070088 depends on QCOM_SMEM
89 select QCOM_SMEM_STATE
90 help
91 Say yes here to support the Qualcomm Shared Memory Point to Point
92 protocol.
93
Bjorn Anderssonc97c4092015-09-24 18:25:02 -070094config QCOM_SMSM
Arnd Bergmann10475d52015-11-20 11:32:21 +010095 tristate "Qualcomm Shared Memory State Machine"
Bjorn Anderssonc97c4092015-09-24 18:25:02 -070096 depends on QCOM_SMEM
97 select QCOM_SMEM_STATE
98 help
99 Say yes here to support the Qualcomm Shared Memory State Machine.
100 The state machine is represented by bits in shared memory.
Bjorn Anderssonea7a1f22015-09-21 10:52:55 -0700101
102config QCOM_WCNSS_CTRL
103 tristate "Qualcomm WCNSS control driver"
104 depends on QCOM_SMD
105 help
106 Client driver for the WCNSS_CTRL SMD channel, used to download nv
107 firmware to a newly booted WCNSS chip.
Kyle Yanbf6dedf2016-08-19 16:47:30 -0700108
Channagoud Kadabi0fb6cf62016-08-23 15:12:52 -0700109config MSM_BOOT_STATS
110 bool "Use MSM boot stats reporting"
111 help
112 Use this to report msm boot stats such as bootloader throughput,
113 display init, total boot time.
114 This figures are reported in mpm sleep clock cycles and have a
115 resolution of 31 bits as 1 bit is used as an overflow check.
116
Kyle Yana6029442016-08-19 17:07:58 -0700117config MSM_CORE_HANG_DETECT
118 tristate "MSM Core Hang Detection Support"
119 help
120 This enables the core hang detection module. It causes SoC
121 reset on core hang detection and collects the core context
122 for hang.
123
Kyle Yanbf6dedf2016-08-19 16:47:30 -0700124config MSM_GLADIATOR_HANG_DETECT
125 tristate "MSM Gladiator Hang Detection Support"
126 help
127 This enables the gladiator hang detection module.
128 If the configured threshold is reached, it causes SoC reset on
129 gladiator hang detection and collects the context for the
130 gladiator hang.
Kyle Yancc90ead2016-08-19 16:53:28 -0700131
132config MSM_GLADIATOR_ERP_V2
133 tristate "GLADIATOR coherency interconnect error reporting driver v2"
134 help
135 Support dumping debug information for the GLADIATOR
136 cache interconnect in the error interrupt handler.
137 Meant to be used for debug scenarios only.
138
139 If unsure, say N.
140
141config PANIC_ON_GLADIATOR_ERROR_V2
142 depends on MSM_GLADIATOR_ERP_V2
143 bool "Panic on GLADIATOR error report v2"
144 help
145 Panic upon detection of an Gladiator coherency interconnect error
146 in order to support dumping debug information.
147 Meant to be used for debug scenarios only.
148
149 If unsure, say N.
Satyajit Desai5255cea2016-08-04 16:02:50 -0700150
151config QCOM_WATCHDOG_V2
152 bool "Qualcomm Watchdog Support"
153 depends on ARCH_QCOM
154 help
155 This enables the watchdog module. It causes kernel panic if the
156 watchdog times out. It allows for detection of cpu hangs and
157 deadlocks. It does not run during the bootup process, so it will
158 not catch any early lockups.
Satyajit Desai11e470c2016-08-10 15:36:45 -0700159
160config QCOM_MEMORY_DUMP_V2
161 bool "QCOM Memory Dump V2 Support"
162 help
163 This enables memory dump feature. It allows various client
164 subsystems to register respective dump regions. At the time
165 of deadlocks or cpu hangs these dump regions are captured to
166 give a snapshot of the system at the time of the crash.