Stephen Boyd | 73bb7dc | 2015-10-08 10:59:32 -0700 | [diff] [blame] | 1 | config QCOM_GDSC |
| 2 | bool |
| 3 | select PM_GENERIC_DOMAINS if PM |
| 4 | |
Georgi Djakov | 00f64b5 | 2016-11-02 17:56:56 +0200 | [diff] [blame] | 5 | config QCOM_RPMCC |
| 6 | bool |
| 7 | |
Stephen Boyd | 085d7a4 | 2014-01-15 10:47:23 -0800 | [diff] [blame] | 8 | config COMMON_CLK_QCOM |
| 9 | tristate "Support for Qualcomm's clock controllers" |
| 10 | depends on OF |
Bartlomiej Zolnierkiewicz | 3937567 | 2015-04-07 14:12:04 +0200 | [diff] [blame] | 11 | depends on ARCH_QCOM || COMPILE_TEST |
Stephen Boyd | 085d7a4 | 2014-01-15 10:47:23 -0800 | [diff] [blame] | 12 | select REGMAP_MMIO |
Stephen Boyd | b36ba30 | 2014-01-15 10:47:27 -0800 | [diff] [blame] | 13 | select RESET_CONTROLLER |
Stephen Boyd | 2ec9413 | 2014-01-15 10:47:28 -0800 | [diff] [blame] | 14 | |
Georgi Djakov | 872f91b5 | 2016-11-02 17:56:57 +0200 | [diff] [blame] | 15 | config QCOM_CLK_RPM |
| 16 | tristate "RPM based Clock Controller" |
| 17 | depends on COMMON_CLK_QCOM && MFD_QCOM_RPM |
| 18 | select QCOM_RPMCC |
| 19 | help |
| 20 | The RPM (Resource Power Manager) is a dedicated hardware engine for |
| 21 | managing the shared SoC resources in order to keep the lowest power |
| 22 | profile. It communicates with other hardware subsystems via shared |
| 23 | memory and accepts clock requests, aggregates the requests and turns |
| 24 | the clocks on/off or scales them on demand. |
| 25 | Say Y if you want to support the clocks exposed by the RPM on |
| 26 | platforms such as apq8064, msm8660, msm8960 etc. |
| 27 | |
Georgi Djakov | 00f64b5 | 2016-11-02 17:56:56 +0200 | [diff] [blame] | 28 | config QCOM_CLK_SMD_RPM |
| 29 | tristate "RPM over SMD based Clock Controller" |
| 30 | depends on COMMON_CLK_QCOM && QCOM_SMD_RPM |
| 31 | select QCOM_RPMCC |
| 32 | help |
| 33 | The RPM (Resource Power Manager) is a dedicated hardware engine for |
| 34 | managing the shared SoC resources in order to keep the lowest power |
| 35 | profile. It communicates with other hardware subsystems via shared |
| 36 | memory and accepts clock requests, aggregates the requests and turns |
| 37 | the clocks on/off or scales them on demand. |
| 38 | Say Y if you want to support the clocks exposed by the RPM on |
| 39 | platforms such as apq8016, apq8084, msm8974 etc. |
| 40 | |
Georgi Djakov | 0282465 | 2014-06-03 17:24:09 +0300 | [diff] [blame] | 41 | config APQ_GCC_8084 |
| 42 | tristate "APQ8084 Global Clock Controller" |
Rajendra Nayak | 639af94 | 2015-08-06 16:07:49 +0530 | [diff] [blame] | 43 | select QCOM_GDSC |
Georgi Djakov | 0282465 | 2014-06-03 17:24:09 +0300 | [diff] [blame] | 44 | depends on COMMON_CLK_QCOM |
| 45 | help |
| 46 | Support for the global clock controller on apq8084 devices. |
| 47 | Say Y if you want to use peripheral devices such as UART, SPI, |
| 48 | i2c, USB, SD/eMMC, SATA, PCIe, etc. |
| 49 | |
Georgi Djakov | 2b46cd2 | 2014-06-12 19:41:42 +0300 | [diff] [blame] | 50 | config APQ_MMCC_8084 |
| 51 | tristate "APQ8084 Multimedia Clock Controller" |
| 52 | select APQ_GCC_8084 |
Stephane Viau | cb2eb7d | 2015-08-06 16:07:50 +0530 | [diff] [blame] | 53 | select QCOM_GDSC |
Georgi Djakov | 2b46cd2 | 2014-06-12 19:41:42 +0300 | [diff] [blame] | 54 | depends on COMMON_CLK_QCOM |
| 55 | help |
| 56 | Support for the multimedia clock controller on apq8084 devices. |
| 57 | Say Y if you want to support multimedia devices such as display, |
| 58 | graphics, video encode/decode, camera, etc. |
| 59 | |
Varadarajan Narayanan | 6971e86 | 2015-11-19 17:19:29 -0600 | [diff] [blame] | 60 | config IPQ_GCC_4019 |
| 61 | tristate "IPQ4019 Global Clock Controller" |
| 62 | depends on COMMON_CLK_QCOM |
| 63 | help |
| 64 | Support for the global clock controller on ipq4019 devices. |
| 65 | Say Y if you want to use peripheral devices such as UART, SPI, |
| 66 | i2c, USB, SD/eMMC, etc. |
| 67 | |
Kumar Gala | 24d8fba | 2014-06-17 14:46:51 -0500 | [diff] [blame] | 68 | config IPQ_GCC_806X |
| 69 | tristate "IPQ806x Global Clock Controller" |
| 70 | depends on COMMON_CLK_QCOM |
| 71 | help |
| 72 | Support for the global clock controller on ipq806x devices. |
| 73 | Say Y if you want to use peripheral devices such as UART, SPI, |
| 74 | i2c, USB, SD/eMMC, etc. |
| 75 | |
Rajendra Nayak | c99e515 | 2015-01-19 18:05:33 -0800 | [diff] [blame] | 76 | config IPQ_LCC_806X |
| 77 | tristate "IPQ806x LPASS Clock Controller" |
| 78 | select IPQ_GCC_806X |
| 79 | depends on COMMON_CLK_QCOM |
| 80 | help |
| 81 | Support for the LPASS clock controller on ipq806x devices. |
| 82 | Say Y if you want to use audio devices such as i2s, pcm, |
| 83 | S/PDIF, etc. |
| 84 | |
Stephen Boyd | 0eeff27 | 2014-01-15 10:47:32 -0800 | [diff] [blame] | 85 | config MSM_GCC_8660 |
| 86 | tristate "MSM8660 Global Clock Controller" |
| 87 | depends on COMMON_CLK_QCOM |
| 88 | help |
| 89 | Support for the global clock controller on msm8660 devices. |
| 90 | Say Y if you want to use peripheral devices such as UART, SPI, |
| 91 | i2c, USB, SD/eMMC, etc. |
| 92 | |
Georgi Djakov | 3966fab | 2015-03-18 16:08:22 +0200 | [diff] [blame] | 93 | config MSM_GCC_8916 |
| 94 | tristate "MSM8916 Global Clock Controller" |
Rajendra Nayak | 073ae2b | 2015-08-06 16:07:46 +0530 | [diff] [blame] | 95 | select QCOM_GDSC |
Georgi Djakov | 3966fab | 2015-03-18 16:08:22 +0200 | [diff] [blame] | 96 | depends on COMMON_CLK_QCOM |
| 97 | help |
| 98 | Support for the global clock controller on msm8916 devices. |
| 99 | Say Y if you want to use devices such as UART, SPI i2c, USB, |
| 100 | SD/eMMC, display, graphics, camera etc. |
| 101 | |
Stephen Boyd | 2ec9413 | 2014-01-15 10:47:28 -0800 | [diff] [blame] | 102 | config MSM_GCC_8960 |
Kumar Gala | 2d85a71 | 2014-04-04 11:31:29 -0500 | [diff] [blame] | 103 | tristate "APQ8064/MSM8960 Global Clock Controller" |
Stephen Boyd | 2ec9413 | 2014-01-15 10:47:28 -0800 | [diff] [blame] | 104 | depends on COMMON_CLK_QCOM |
| 105 | help |
Kumar Gala | 2d85a71 | 2014-04-04 11:31:29 -0500 | [diff] [blame] | 106 | Support for the global clock controller on apq8064/msm8960 devices. |
Stephen Boyd | 2ec9413 | 2014-01-15 10:47:28 -0800 | [diff] [blame] | 107 | Say Y if you want to use peripheral devices such as UART, SPI, |
| 108 | i2c, USB, SD/eMMC, SATA, PCIe, etc. |
Stephen Boyd | 6d00b56 | 2014-01-15 10:47:29 -0800 | [diff] [blame] | 109 | |
Stephen Boyd | b82875e | 2015-01-19 18:05:34 -0800 | [diff] [blame] | 110 | config MSM_LCC_8960 |
| 111 | tristate "APQ8064/MSM8960 LPASS Clock Controller" |
| 112 | select MSM_GCC_8960 |
| 113 | depends on COMMON_CLK_QCOM |
| 114 | help |
| 115 | Support for the LPASS clock controller on apq8064/msm8960 devices. |
| 116 | Say Y if you want to use audio devices such as i2s, pcm, |
| 117 | SLIMBus, etc. |
| 118 | |
Neil Armstrong | 7792a8d | 2016-08-11 14:48:04 +0200 | [diff] [blame] | 119 | config MDM_GCC_9615 |
| 120 | tristate "MDM9615 Global Clock Controller" |
| 121 | depends on COMMON_CLK_QCOM |
| 122 | help |
| 123 | Support for the global clock controller on mdm9615 devices. |
| 124 | Say Y if you want to use peripheral devices such as UART, SPI, |
| 125 | i2c, USB, SD/eMMC, etc. |
| 126 | |
| 127 | config MDM_LCC_9615 |
| 128 | tristate "MDM9615 LPASS Clock Controller" |
| 129 | select MDM_GCC_9615 |
| 130 | depends on COMMON_CLK_QCOM |
| 131 | help |
| 132 | Support for the LPASS clock controller on mdm9615 devices. |
| 133 | Say Y if you want to use audio devices such as i2s, pcm, |
| 134 | SLIMBus, etc. |
| 135 | |
Stephen Boyd | 6d00b56 | 2014-01-15 10:47:29 -0800 | [diff] [blame] | 136 | config MSM_MMCC_8960 |
| 137 | tristate "MSM8960 Multimedia Clock Controller" |
| 138 | select MSM_GCC_8960 |
| 139 | depends on COMMON_CLK_QCOM |
| 140 | help |
| 141 | Support for the multimedia clock controller on msm8960 devices. |
| 142 | Say Y if you want to support multimedia devices such as display, |
| 143 | graphics, video encode/decode, camera, etc. |
Stephen Boyd | d33faa9 | 2014-01-15 10:47:30 -0800 | [diff] [blame] | 144 | |
| 145 | config MSM_GCC_8974 |
| 146 | tristate "MSM8974 Global Clock Controller" |
Stephen Boyd | 340029e | 2015-08-06 16:07:47 +0530 | [diff] [blame] | 147 | select QCOM_GDSC |
Stephen Boyd | d33faa9 | 2014-01-15 10:47:30 -0800 | [diff] [blame] | 148 | depends on COMMON_CLK_QCOM |
| 149 | help |
| 150 | Support for the global clock controller on msm8974 devices. |
| 151 | Say Y if you want to use peripheral devices such as UART, SPI, |
| 152 | i2c, USB, SD/eMMC, SATA, PCIe, etc. |
Stephen Boyd | d8b2120 | 2014-01-15 10:47:31 -0800 | [diff] [blame] | 153 | |
| 154 | config MSM_MMCC_8974 |
| 155 | tristate "MSM8974 Multimedia Clock Controller" |
| 156 | select MSM_GCC_8974 |
Stephen Boyd | 8108b23 | 2015-08-06 16:07:48 +0530 | [diff] [blame] | 157 | select QCOM_GDSC |
Stephen Boyd | d8b2120 | 2014-01-15 10:47:31 -0800 | [diff] [blame] | 158 | depends on COMMON_CLK_QCOM |
| 159 | help |
| 160 | Support for the multimedia clock controller on msm8974 devices. |
| 161 | Say Y if you want to support multimedia devices such as display, |
| 162 | graphics, video encode/decode, camera, etc. |
Stephen Boyd | b1e010c | 2015-11-30 17:31:40 -0800 | [diff] [blame] | 163 | |
Bastian Köcher | aec89f7 | 2016-11-04 13:56:35 -0700 | [diff] [blame] | 164 | config MSM_GCC_8994 |
| 165 | tristate "MSM8994 Global Clock Controller" |
| 166 | depends on COMMON_CLK_QCOM |
| 167 | help |
| 168 | Support for the global clock controller on msm8994 devices. |
| 169 | Say Y if you want to use peripheral devices such as UART, SPI, |
| 170 | i2c, USB, UFS, SD/eMMC, PCIe, etc. |
| 171 | |
Stephen Boyd | b1e010c | 2015-11-30 17:31:40 -0800 | [diff] [blame] | 172 | config MSM_GCC_8996 |
| 173 | tristate "MSM8996 Global Clock Controller" |
Srinivas Kandagatla | 6d91f2c | 2016-08-25 12:28:07 +0100 | [diff] [blame] | 174 | select QCOM_GDSC |
Stephen Boyd | b1e010c | 2015-11-30 17:31:40 -0800 | [diff] [blame] | 175 | depends on COMMON_CLK_QCOM |
| 176 | help |
| 177 | Support for the global clock controller on msm8996 devices. |
| 178 | Say Y if you want to use peripheral devices such as UART, SPI, |
| 179 | i2c, USB, UFS, SD/eMMC, PCIe, etc. |
Stephen Boyd | c252659 | 2015-11-30 17:31:42 -0800 | [diff] [blame] | 180 | |
| 181 | config MSM_MMCC_8996 |
| 182 | tristate "MSM8996 Multimedia Clock Controller" |
| 183 | select MSM_GCC_8996 |
Srinivas Kandagatla | 6d91f2c | 2016-08-25 12:28:07 +0100 | [diff] [blame] | 184 | select QCOM_GDSC |
Stephen Boyd | c252659 | 2015-11-30 17:31:42 -0800 | [diff] [blame] | 185 | depends on COMMON_CLK_QCOM |
| 186 | help |
| 187 | Support for the multimedia clock controller on msm8996 devices. |
| 188 | Say Y if you want to support multimedia devices such as display, |
| 189 | graphics, video encode/decode, camera, etc. |