blob: eefab37c18258716fed29cd7256269c3487a6ba0 [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
Andy Gross5d144e32014-04-24 11:31:21 -050013config QCOM_GSBI
14 tristate "QCOM General Serial Bus Interface"
15 depends on ARCH_QCOM
Andy Grosse5fdad62015-02-09 16:01:06 -060016 select MFD_SYSCON
Andy Gross5d144e32014-04-24 11:31:21 -050017 help
18 Say y here to enable GSBI support. The GSBI provides control
19 functions for connecting the underlying serial UART, SPI, and I2C
20 devices to the output pins.
21
Lina Iyer7ce75bb2015-04-09 13:20:41 -060022config QCOM_PM
23 bool "Qualcomm Power Management"
24 depends on ARCH_QCOM && !ARM64
Arnd Bergmannd9d68882015-11-24 23:13:09 +010025 select ARM_CPU_SUSPEND
Lina Iyer23b38ce2015-07-10 14:18:00 -060026 select QCOM_SCM
Lina Iyer7ce75bb2015-04-09 13:20:41 -060027 help
28 QCOM Platform specific power driver to manage cores and L2 low power
29 modes. It interface with various system drivers to put the cores in
30 low power modes.
Bjorn Andersson4b638df42015-06-26 14:50:10 -070031
Stephen Boyd7d0c8be2015-08-28 11:23:33 -070032config QCOM_SMEM
33 tristate "Qualcomm Shared Memory Manager (SMEM)"
34 depends on ARCH_QCOM
Arnd Bergmann73ebb852015-10-13 17:05:39 +020035 depends on HWSPINLOCK
Stephen Boyd7d0c8be2015-08-28 11:23:33 -070036 help
37 Say y here to enable support for the Qualcomm Shared Memory Manager.
38 The driver provides an interface to items in a heap shared among all
39 processors in a Qualcomm platform.
40
Bjorn Anderssonf2ab3292015-07-27 20:20:30 -070041config QCOM_SMD
42 tristate "Qualcomm Shared Memory Driver (SMD)"
43 depends on QCOM_SMEM
44 help
45 Say y here to enable support for the Qualcomm Shared Memory Driver
46 providing communication channels to remote processors in Qualcomm
47 platforms.
48
Bjorn Andersson936f14c2015-07-27 20:20:32 -070049config QCOM_SMD_RPM
50 tristate "Qualcomm Resource Power Manager (RPM) over SMD"
51 depends on QCOM_SMD && OF
52 help
53 If you say yes to this option, support will be included for the
54 Resource Power Manager system found in the Qualcomm 8974 based
55 devices.
56
57 This is required to access many regulators, clocks and bus
58 frequencies controlled by the RPM on these devices.
59
60 Say M here if you want to include support for the Qualcomm RPM as a
61 module. This will build a module called "qcom-smd-rpm".
Bjorn Andersson9460ae22015-09-24 18:25:01 -070062
Channagoud Kadabieee0ffd2016-08-11 14:18:17 -070063config QCOM_SCM
64 bool "Secure Channel Manager (SCM) support"
65 default n
66
Bjorn Andersson9460ae22015-09-24 18:25:01 -070067config QCOM_SMEM_STATE
68 bool
Bjorn Anderssonc97c4092015-09-24 18:25:02 -070069
Bjorn Andersson50e99642015-09-24 18:25:03 -070070config QCOM_SMP2P
Arnd Bergmann10475d52015-11-20 11:32:21 +010071 tristate "Qualcomm Shared Memory Point to Point support"
Bjorn Andersson50e99642015-09-24 18:25:03 -070072 depends on QCOM_SMEM
73 select QCOM_SMEM_STATE
74 help
75 Say yes here to support the Qualcomm Shared Memory Point to Point
76 protocol.
77
Bjorn Anderssonc97c4092015-09-24 18:25:02 -070078config QCOM_SMSM
Arnd Bergmann10475d52015-11-20 11:32:21 +010079 tristate "Qualcomm Shared Memory State Machine"
Bjorn Anderssonc97c4092015-09-24 18:25:02 -070080 depends on QCOM_SMEM
81 select QCOM_SMEM_STATE
82 help
83 Say yes here to support the Qualcomm Shared Memory State Machine.
84 The state machine is represented by bits in shared memory.
Bjorn Anderssonea7a1f22015-09-21 10:52:55 -070085
86config QCOM_WCNSS_CTRL
87 tristate "Qualcomm WCNSS control driver"
88 depends on QCOM_SMD
89 help
90 Client driver for the WCNSS_CTRL SMD channel, used to download nv
91 firmware to a newly booted WCNSS chip.
Kyle Yanbf6dedf2016-08-19 16:47:30 -070092
Channagoud Kadabi0fb6cf62016-08-23 15:12:52 -070093config MSM_BOOT_STATS
94 bool "Use MSM boot stats reporting"
95 help
96 Use this to report msm boot stats such as bootloader throughput,
97 display init, total boot time.
98 This figures are reported in mpm sleep clock cycles and have a
99 resolution of 31 bits as 1 bit is used as an overflow check.
100
Kyle Yanbf6dedf2016-08-19 16:47:30 -0700101config MSM_GLADIATOR_HANG_DETECT
102 tristate "MSM Gladiator Hang Detection Support"
103 help
104 This enables the gladiator hang detection module.
105 If the configured threshold is reached, it causes SoC reset on
106 gladiator hang detection and collects the context for the
107 gladiator hang.
Kyle Yancc90ead2016-08-19 16:53:28 -0700108
109config MSM_GLADIATOR_ERP_V2
110 tristate "GLADIATOR coherency interconnect error reporting driver v2"
111 help
112 Support dumping debug information for the GLADIATOR
113 cache interconnect in the error interrupt handler.
114 Meant to be used for debug scenarios only.
115
116 If unsure, say N.
117
118config PANIC_ON_GLADIATOR_ERROR_V2
119 depends on MSM_GLADIATOR_ERP_V2
120 bool "Panic on GLADIATOR error report v2"
121 help
122 Panic upon detection of an Gladiator coherency interconnect error
123 in order to support dumping debug information.
124 Meant to be used for debug scenarios only.
125
126 If unsure, say N.
Satyajit Desai5255cea2016-08-04 16:02:50 -0700127
128config QCOM_WATCHDOG_V2
129 bool "Qualcomm Watchdog Support"
130 depends on ARCH_QCOM
131 help
132 This enables the watchdog module. It causes kernel panic if the
133 watchdog times out. It allows for detection of cpu hangs and
134 deadlocks. It does not run during the bootup process, so it will
135 not catch any early lockups.
Satyajit Desai11e470c2016-08-10 15:36:45 -0700136
137config QCOM_MEMORY_DUMP_V2
138 bool "QCOM Memory Dump V2 Support"
139 help
140 This enables memory dump feature. It allows various client
141 subsystems to register respective dump regions. At the time
142 of deadlocks or cpu hangs these dump regions are captured to
143 give a snapshot of the system at the time of the crash.