Andy Gross | 5d144e3 | 2014-04-24 11:31:21 -0500 | [diff] [blame] | 1 | # |
| 2 | # QCOM Soc drivers |
| 3 | # |
Srinivas Kandagatla | 2a46481 | 2017-07-26 17:27:16 +0200 | [diff] [blame] | 4 | menu "Qualcomm SoC drivers" |
| 5 | |
Mahesh Sivasubramanian | 312416d | 2018-04-10 11:57:23 -0600 | [diff] [blame] | 6 | config QCOM_COMMAND_DB |
| 7 | bool "Qualcomm Command DB" |
Arnd Bergmann | 0ea3fa1 | 2018-05-25 18:08:24 +0200 | [diff] [blame^] | 8 | depends on ARCH_QCOM || COMPILE_TEST |
| 9 | depends on OF_RESERVED_MEM |
Mahesh Sivasubramanian | 312416d | 2018-04-10 11:57:23 -0600 | [diff] [blame] | 10 | help |
| 11 | Command DB queries shared memory by key string for shared system |
| 12 | resources. Platform drivers that require to set state of a shared |
| 13 | resource on a RPM-hardened platform must use this database to get |
| 14 | SoC specific identifier and information for the shared resources. |
| 15 | |
Karthikeyan Ramasubramanian | eddac5a | 2018-03-30 11:08:17 -0600 | [diff] [blame] | 16 | config QCOM_GENI_SE |
| 17 | tristate "QCOM GENI Serial Engine Driver" |
| 18 | depends on ARCH_QCOM || COMPILE_TEST |
| 19 | help |
| 20 | This driver is used to manage Generic Interface (GENI) firmware based |
| 21 | Qualcomm Technologies, Inc. Universal Peripheral (QUP) Wrapper. This |
| 22 | driver is also used to manage the common aspects of multiple Serial |
| 23 | Engines present in the QUP. |
| 24 | |
Bjorn Andersson | c4d77d5 | 2017-07-24 22:56:44 -0700 | [diff] [blame] | 25 | config QCOM_GLINK_SSR |
| 26 | tristate "Qualcomm Glink SSR driver" |
| 27 | depends on RPMSG |
| 28 | depends on QCOM_RPROC_COMMON |
| 29 | help |
| 30 | Say y here to enable GLINK SSR support. The GLINK SSR driver |
| 31 | implements the SSR protocol for notifying the remote processor about |
| 32 | neighboring subsystems going up or down. |
| 33 | |
Andy Gross | 5d144e3 | 2014-04-24 11:31:21 -0500 | [diff] [blame] | 34 | config QCOM_GSBI |
| 35 | tristate "QCOM General Serial Bus Interface" |
| 36 | depends on ARCH_QCOM |
Andy Gross | e5fdad6 | 2015-02-09 16:01:06 -0600 | [diff] [blame] | 37 | select MFD_SYSCON |
Andy Gross | 5d144e3 | 2014-04-24 11:31:21 -0500 | [diff] [blame] | 38 | help |
| 39 | Say y here to enable GSBI support. The GSBI provides control |
| 40 | functions for connecting the underlying serial UART, SPI, and I2C |
| 41 | devices to the output pins. |
| 42 | |
Bjorn Andersson | 2aad40d | 2017-01-27 03:12:57 -0800 | [diff] [blame] | 43 | config QCOM_MDT_LOADER |
| 44 | tristate |
| 45 | select QCOM_SCM |
| 46 | |
Lina Iyer | 7ce75bb | 2015-04-09 13:20:41 -0600 | [diff] [blame] | 47 | config QCOM_PM |
| 48 | bool "Qualcomm Power Management" |
| 49 | depends on ARCH_QCOM && !ARM64 |
Arnd Bergmann | d9d6888 | 2015-11-24 23:13:09 +0100 | [diff] [blame] | 50 | select ARM_CPU_SUSPEND |
Lina Iyer | 23b38ce | 2015-07-10 14:18:00 -0600 | [diff] [blame] | 51 | select QCOM_SCM |
Lina Iyer | 7ce75bb | 2015-04-09 13:20:41 -0600 | [diff] [blame] | 52 | help |
| 53 | QCOM Platform specific power driver to manage cores and L2 low power |
| 54 | modes. It interface with various system drivers to put the cores in |
| 55 | low power modes. |
Bjorn Andersson | 4b638df4 | 2015-06-26 14:50:10 -0700 | [diff] [blame] | 56 | |
Bjorn Andersson | 9b8a11e | 2017-12-05 09:43:06 -0800 | [diff] [blame] | 57 | config QCOM_QMI_HELPERS |
| 58 | tristate |
Arnd Bergmann | dea4bd1 | 2018-02-22 16:57:38 +0100 | [diff] [blame] | 59 | depends on ARCH_QCOM && NET |
Bjorn Andersson | 9b8a11e | 2017-12-05 09:43:06 -0800 | [diff] [blame] | 60 | help |
| 61 | Helper library for handling QMI encoded messages. QMI encoded |
| 62 | messages are used in communication between the majority of QRTR |
| 63 | clients and this helpers provide the common functionality needed for |
| 64 | doing this from a kernel driver. |
| 65 | |
Bjorn Andersson | d1de6d6 | 2017-10-16 13:17:08 -0500 | [diff] [blame] | 66 | config QCOM_RMTFS_MEM |
| 67 | tristate "Qualcomm Remote Filesystem memory driver" |
| 68 | depends on ARCH_QCOM |
Bjorn Andersson | fa65f80 | 2018-02-12 17:37:23 -0800 | [diff] [blame] | 69 | select QCOM_SCM |
Bjorn Andersson | d1de6d6 | 2017-10-16 13:17:08 -0500 | [diff] [blame] | 70 | help |
| 71 | The Qualcomm remote filesystem memory driver is used for allocating |
| 72 | and exposing regions of shared memory with remote processors for the |
| 73 | purpose of exchanging sector-data between the remote filesystem |
| 74 | service and its clients. |
| 75 | |
| 76 | Say y here if you intend to boot the modem remoteproc. |
| 77 | |
Stephen Boyd | 7d0c8be | 2015-08-28 11:23:33 -0700 | [diff] [blame] | 78 | config QCOM_SMEM |
| 79 | tristate "Qualcomm Shared Memory Manager (SMEM)" |
| 80 | depends on ARCH_QCOM |
Arnd Bergmann | 73ebb85 | 2015-10-13 17:05:39 +0200 | [diff] [blame] | 81 | depends on HWSPINLOCK |
Stephen Boyd | 7d0c8be | 2015-08-28 11:23:33 -0700 | [diff] [blame] | 82 | help |
| 83 | Say y here to enable support for the Qualcomm Shared Memory Manager. |
| 84 | The driver provides an interface to items in a heap shared among all |
| 85 | processors in a Qualcomm platform. |
| 86 | |
Bjorn Andersson | 936f14c | 2015-07-27 20:20:32 -0700 | [diff] [blame] | 87 | config QCOM_SMD_RPM |
| 88 | tristate "Qualcomm Resource Power Manager (RPM) over SMD" |
Bjorn Andersson | 5052de8 | 2017-03-27 22:26:33 -0700 | [diff] [blame] | 89 | depends on ARCH_QCOM |
| 90 | depends on RPMSG && OF |
Bjorn Andersson | 936f14c | 2015-07-27 20:20:32 -0700 | [diff] [blame] | 91 | help |
| 92 | If you say yes to this option, support will be included for the |
| 93 | Resource Power Manager system found in the Qualcomm 8974 based |
| 94 | devices. |
| 95 | |
| 96 | This is required to access many regulators, clocks and bus |
| 97 | frequencies controlled by the RPM on these devices. |
| 98 | |
| 99 | Say M here if you want to include support for the Qualcomm RPM as a |
| 100 | module. This will build a module called "qcom-smd-rpm". |
Bjorn Andersson | 9460ae2 | 2015-09-24 18:25:01 -0700 | [diff] [blame] | 101 | |
| 102 | config QCOM_SMEM_STATE |
| 103 | bool |
Bjorn Andersson | c97c409 | 2015-09-24 18:25:02 -0700 | [diff] [blame] | 104 | |
Bjorn Andersson | 50e9964 | 2015-09-24 18:25:03 -0700 | [diff] [blame] | 105 | config QCOM_SMP2P |
Arnd Bergmann | 10475d5 | 2015-11-20 11:32:21 +0100 | [diff] [blame] | 106 | tristate "Qualcomm Shared Memory Point to Point support" |
Bjorn Andersson | e718026 | 2017-11-29 16:00:40 -0800 | [diff] [blame] | 107 | depends on MAILBOX |
Bjorn Andersson | 50e9964 | 2015-09-24 18:25:03 -0700 | [diff] [blame] | 108 | depends on QCOM_SMEM |
| 109 | select QCOM_SMEM_STATE |
| 110 | help |
| 111 | Say yes here to support the Qualcomm Shared Memory Point to Point |
| 112 | protocol. |
| 113 | |
Bjorn Andersson | c97c409 | 2015-09-24 18:25:02 -0700 | [diff] [blame] | 114 | config QCOM_SMSM |
Arnd Bergmann | 10475d5 | 2015-11-20 11:32:21 +0100 | [diff] [blame] | 115 | tristate "Qualcomm Shared Memory State Machine" |
Bjorn Andersson | c97c409 | 2015-09-24 18:25:02 -0700 | [diff] [blame] | 116 | depends on QCOM_SMEM |
| 117 | select QCOM_SMEM_STATE |
| 118 | help |
| 119 | Say yes here to support the Qualcomm Shared Memory State Machine. |
| 120 | The state machine is represented by bits in shared memory. |
Bjorn Andersson | ea7a1f2 | 2015-09-21 10:52:55 -0700 | [diff] [blame] | 121 | |
| 122 | config QCOM_WCNSS_CTRL |
| 123 | tristate "Qualcomm WCNSS control driver" |
Bjorn Andersson | 5052de8 | 2017-03-27 22:26:33 -0700 | [diff] [blame] | 124 | depends on ARCH_QCOM |
| 125 | depends on RPMSG |
Bjorn Andersson | ea7a1f2 | 2015-09-21 10:52:55 -0700 | [diff] [blame] | 126 | help |
| 127 | Client driver for the WCNSS_CTRL SMD channel, used to download nv |
| 128 | firmware to a newly booted WCNSS chip. |
Srinivas Kandagatla | 2a46481 | 2017-07-26 17:27:16 +0200 | [diff] [blame] | 129 | |
Srinivas Kandagatla | 6adba21 | 2018-05-09 13:56:13 +0100 | [diff] [blame] | 130 | config QCOM_APR |
| 131 | tristate "Qualcomm APR Bus (Asynchronous Packet Router)" |
| 132 | depends on ARCH_QCOM |
| 133 | depends on RPMSG |
| 134 | help |
| 135 | Enable APR IPC protocol support between |
| 136 | application processor and QDSP6. APR is |
| 137 | used by audio driver to configure QDSP6 |
| 138 | ASM, ADM and AFE modules. |
Srinivas Kandagatla | 2a46481 | 2017-07-26 17:27:16 +0200 | [diff] [blame] | 139 | endmenu |