1# SPDX-License-Identifier: GPL-2.0-only 2config KRAIT_CLOCKS 3 bool 4 select KRAIT_L2_ACCESSORS 5 6config QCOM_GDSC 7 bool 8 select PM_GENERIC_DOMAINS if PM 9 10menuconfig COMMON_CLK_QCOM 11 tristate "Support for Qualcomm's clock controllers" 12 depends on OF 13 depends on ARCH_QCOM || COMPILE_TEST 14 select RATIONAL 15 select REGMAP_MMIO 16 select RESET_CONTROLLER 17 select INTERCONNECT 18 select INTERCONNECT_CLK 19 20if COMMON_CLK_QCOM 21 22config CLK_X1E80100_CAMCC 23 tristate "X1E80100 Camera Clock Controller" 24 depends on ARM64 || COMPILE_TEST 25 select CLK_X1E80100_GCC 26 help 27 Support for the camera clock controller on X1E80100 devices. 28 Say Y if you want to support camera devices and camera functionality. 29 30config CLK_X1E80100_DISPCC 31 tristate "X1E80100 Display Clock Controller" 32 depends on ARM64 || COMPILE_TEST 33 select CLK_X1E80100_GCC 34 help 35 Support for the two display clock controllers on Qualcomm 36 Technologies, Inc. X1E80100 devices. 37 Say Y if you want to support display devices and functionality such as 38 splash screen. 39 40config CLK_X1E80100_GCC 41 tristate "X1E80100 Global Clock Controller" 42 depends on ARM64 || COMPILE_TEST 43 select QCOM_GDSC 44 help 45 Support for the global clock controller on Qualcomm Technologies, Inc 46 X1E80100 devices. 47 Say Y if you want to use peripheral devices such as UART, SPI, I2C, 48 USB, UFS, SD/eMMC, PCIe, etc. 49 50config CLK_X1E80100_GPUCC 51 tristate "X1E80100 Graphics Clock Controller" 52 depends on ARM64 || COMPILE_TEST 53 select CLK_X1E80100_GCC 54 help 55 Support for the graphics clock controller on X1E80100 devices. 56 Say Y if you want to support graphics controller devices and 57 functionality such as 3D graphics. 58 59config CLK_X1E80100_TCSRCC 60 tristate "X1E80100 TCSR Clock Controller" 61 depends on ARM64 || COMPILE_TEST 62 select QCOM_GDSC 63 help 64 Support for the TCSR clock controller on X1E80100 devices. 65 Say Y if you want to use peripheral devices such as SD/UFS. 66 67config CLK_QCM2290_GPUCC 68 tristate "QCM2290 Graphics Clock Controller" 69 depends on ARM64 || COMPILE_TEST 70 select QCM_GCC_2290 71 help 72 Support for the graphics clock controller on QCM2290 devices. 73 Say Y if you want to support graphics controller devices and 74 functionality such as 3D graphics. 75 76config QCOM_A53PLL 77 tristate "MSM8916 A53 PLL" 78 help 79 Support for the A53 PLL on MSM8916 devices. It provides 80 the CPU with frequencies above 1GHz. 81 Say Y if you want to support higher CPU frequencies on MSM8916 82 devices. 83 84config QCOM_A7PLL 85 tristate "A7 PLL driver for SDX55 and SDX65" 86 help 87 Support for the A7 PLL on SDX55 and SDX65 devices. It provides the CPU with 88 frequencies above 1GHz. 89 Say Y if you want to support higher CPU frequencies on SDX55 and SDX65 90 devices. 91 92config QCOM_CLK_APCS_MSM8916 93 tristate "MSM8916 APCS Clock Controller" 94 depends on QCOM_APCS_IPC || COMPILE_TEST 95 help 96 Support for the APCS Clock Controller on msm8916 devices. The 97 APCS is managing the mux and divider which feeds the CPUs. 98 Say Y if you want to support CPU frequency scaling on devices 99 such as msm8916. 100 101config QCOM_CLK_APCC_MSM8996 102 tristate "MSM8996 CPU Clock Controller" 103 select QCOM_KRYO_L2_ACCESSORS 104 select INTERCONNECT_CLK if INTERCONNECT 105 depends on ARM64 106 help 107 Support for the CPU clock controller on msm8996 devices. 108 Say Y if you want to support CPU clock scaling using CPUfreq 109 drivers for dynamic power management. 110 111config QCOM_CLK_APCS_SDX55 112 tristate "SDX55 and SDX65 APCS Clock Controller" 113 depends on QCOM_APCS_IPC || COMPILE_TEST 114 depends on ARM || COMPILE_TEST 115 help 116 Support for the APCS Clock Controller on SDX55, SDX65 platforms. The 117 APCS is managing the mux and divider which feeds the CPUs. 118 Say Y if you want to support CPU frequency scaling on devices 119 such as SDX55, SDX65. 120 121config QCOM_CLK_RPM 122 tristate "RPM based Clock Controller" 123 depends on MFD_QCOM_RPM 124 help 125 The RPM (Resource Power Manager) is a dedicated hardware engine for 126 managing the shared SoC resources in order to keep the lowest power 127 profile. It communicates with other hardware subsystems via shared 128 memory and accepts clock requests, aggregates the requests and turns 129 the clocks on/off or scales them on demand. 130 Say Y if you want to support the clocks exposed by the RPM on 131 platforms such as apq8064, msm8660, msm8960 etc. 132 133config QCOM_CLK_SMD_RPM 134 tristate "RPM over SMD based Clock Controller" 135 depends on QCOM_SMD_RPM 136 help 137 The RPM (Resource Power Manager) is a dedicated hardware engine for 138 managing the shared SoC resources in order to keep the lowest power 139 profile. It communicates with other hardware subsystems via shared 140 memory and accepts clock requests, aggregates the requests and turns 141 the clocks on/off or scales them on demand. 142 Say Y if you want to support the clocks exposed by the RPM on 143 platforms such as apq8016, apq8084, msm8974 etc. 144 145config QCOM_CLK_RPMH 146 tristate "RPMh Clock Driver" 147 depends on QCOM_RPMH 148 help 149 RPMh manages shared resources on some Qualcomm Technologies, Inc. 150 SoCs. It accepts requests from other hardware subsystems via RSC. 151 Say Y if you want to support the clocks exposed by RPMh on 152 platforms such as SDM845. 153 154config APQ_GCC_8084 155 tristate "APQ8084 Global Clock Controller" 156 depends on ARM || COMPILE_TEST 157 select QCOM_GDSC 158 help 159 Support for the global clock controller on apq8084 devices. 160 Say Y if you want to use peripheral devices such as UART, SPI, 161 i2c, USB, SD/eMMC, SATA, PCIe, etc. 162 163config APQ_MMCC_8084 164 tristate "APQ8084 Multimedia Clock Controller" 165 depends on ARM || COMPILE_TEST 166 select APQ_GCC_8084 167 select QCOM_GDSC 168 help 169 Support for the multimedia clock controller on apq8084 devices. 170 Say Y if you want to support multimedia devices such as display, 171 graphics, video encode/decode, camera, etc. 172 173config IPQ_APSS_PLL 174 tristate "IPQ APSS PLL" 175 help 176 Support for APSS PLL on ipq devices. The APSS PLL is the main 177 clock that feeds the CPUs on ipq based devices. 178 Say Y if you want to support CPU frequency scaling on ipq based 179 devices. 180 181config IPQ_APSS_6018 182 tristate "IPQ APSS Clock Controller" 183 select IPQ_APSS_PLL 184 depends on QCOM_APCS_IPC || COMPILE_TEST 185 depends on QCOM_SMEM 186 help 187 Support for APSS clock controller on IPQ platforms. The 188 APSS clock controller manages the Mux and enable block that feeds the 189 CPUs. 190 Say Y if you want to support CPU frequency scaling on 191 ipq based devices. 192 193config IPQ_GCC_4019 194 tristate "IPQ4019 Global Clock Controller" 195 help 196 Support for the global clock controller on ipq4019 devices. 197 Say Y if you want to use peripheral devices such as UART, SPI, 198 i2c, USB, SD/eMMC, etc. 199 200config IPQ_GCC_5018 201 tristate "IPQ5018 Global Clock Controller" 202 depends on ARM64 || COMPILE_TEST 203 help 204 Support for global clock controller on ipq5018 devices. 205 Say Y if you want to use peripheral devices such as UART, SPI, 206 i2c, USB, SD/eMMC, etc. 207 208config IPQ_GCC_5332 209 tristate "IPQ5332 Global Clock Controller" 210 depends on ARM64 || COMPILE_TEST 211 help 212 Support for the global clock controller on ipq5332 devices. 213 Say Y if you want to use peripheral devices such as UART, SPI, 214 i2c, USB, SD/eMMC, etc. 215 216config IPQ_GCC_6018 217 tristate "IPQ6018 Global Clock Controller" 218 help 219 Support for global clock controller on ipq6018 devices. 220 Say Y if you want to use peripheral devices such as UART, SPI, 221 i2c, USB, SD/eMMC, etc. Select this for the root clock 222 of ipq6018. 223 224config IPQ_GCC_806X 225 tristate "IPQ806x Global Clock Controller" 226 depends on ARM || COMPILE_TEST 227 help 228 Support for the global clock controller on ipq806x devices. 229 Say Y if you want to use peripheral devices such as UART, SPI, 230 i2c, USB, SD/eMMC, etc. 231 232config IPQ_LCC_806X 233 tristate "IPQ806x LPASS Clock Controller" 234 depends on ARM || COMPILE_TEST 235 select IPQ_GCC_806X 236 help 237 Support for the LPASS clock controller on ipq806x devices. 238 Say Y if you want to use audio devices such as i2s, pcm, 239 S/PDIF, etc. 240 241config IPQ_GCC_8074 242 tristate "IPQ8074 Global Clock Controller" 243 select QCOM_GDSC 244 help 245 Support for global clock controller on ipq8074 devices. 246 Say Y if you want to use peripheral devices such as UART, SPI, 247 i2c, USB, SD/eMMC, etc. Select this for the root clock 248 of ipq8074. 249 250config IPQ_GCC_9574 251 tristate "IPQ9574 Global Clock Controller" 252 help 253 Support for global clock controller on ipq9574 devices. 254 Say Y if you want to use peripheral devices such as UART, SPI, 255 i2c, USB, SD/eMMC, etc. Select this for the root clock 256 of ipq9574. 257 258config IPQ_NSSCC_QCA8K 259 tristate "QCA8K(QCA8386 or QCA8084) NSS Clock Controller" 260 depends on MDIO_BUS 261 help 262 Support for NSS(Network SubSystem) clock controller on 263 qca8386/qca8084 chip. 264 Say Y or M if you want to use network features of switch or 265 PHY device. Select this for the root clock of qca8k. 266 267config MSM_GCC_8660 268 tristate "MSM8660 Global Clock Controller" 269 depends on ARM || COMPILE_TEST 270 help 271 Support for the global clock controller on msm8660 devices. 272 Say Y if you want to use peripheral devices such as UART, SPI, 273 i2c, USB, SD/eMMC, etc. 274 275config MSM_GCC_8909 276 tristate "MSM8909 Global Clock Controller" 277 depends on ARM || COMPILE_TEST 278 select QCOM_GDSC 279 help 280 Support for the global clock controller on msm8909 devices. 281 Say Y if you want to use devices such as UART, SPI, I2C, USB, 282 SD/eMMC, display, graphics, camera etc. 283 284config MSM_GCC_8916 285 tristate "MSM8916 Global Clock Controller" 286 select QCOM_GDSC 287 help 288 Support for the global clock controller on msm8916 devices. 289 Say Y if you want to use devices such as UART, SPI i2c, USB, 290 SD/eMMC, display, graphics, camera etc. 291 292config MSM_GCC_8917 293 tristate "MSM8917/QM215 Global Clock Controller" 294 depends on ARM64 || COMPILE_TEST 295 select QCOM_GDSC 296 help 297 Support for the global clock controller on msm8917 and qm215 298 devices. 299 Say Y if you want to use devices such as UART, SPI i2c, USB, 300 SD/eMMC, display, graphics, camera etc. 301 302config MSM_GCC_8939 303 tristate "MSM8939 Global Clock Controller" 304 select QCOM_GDSC 305 help 306 Support for the global clock controller on msm8939 devices. 307 Say Y if you want to use devices such as UART, SPI i2c, USB, 308 SD/eMMC, display, graphics, camera etc. 309 310config MSM_GCC_8960 311 tristate "APQ8064/MSM8960 Global Clock Controller" 312 depends on ARM || COMPILE_TEST 313 help 314 Support for the global clock controller on apq8064/msm8960 devices. 315 Say Y if you want to use peripheral devices such as UART, SPI, 316 i2c, USB, SD/eMMC, SATA, PCIe, etc. 317 318config MSM_LCC_8960 319 tristate "APQ8064/MSM8960/MDM9650 LPASS Clock Controller" 320 depends on ARM || COMPILE_TEST 321 help 322 Support for the LPASS clock controller on apq8064/msm8960/mdm9650 323 devices. 324 Say Y if you want to use audio devices such as i2s, pcm, 325 SLIMBus, etc. 326 327config MDM_GCC_9607 328 tristate "MDM9607 Global Clock Controller" 329 depends on ARM || COMPILE_TEST 330 help 331 Support for the global clock controller on mdm9607 devices. 332 Say Y if you want to use peripheral devices such as UART, SPI, 333 I2C, USB, SD/eMMC, etc. 334 335config MDM_GCC_9615 336 tristate "MDM9615 Global Clock Controller" 337 depends on ARM || COMPILE_TEST 338 help 339 Support for the global clock controller on mdm9615 devices. 340 Say Y if you want to use peripheral devices such as UART, SPI, 341 i2c, USB, SD/eMMC, etc. 342 343config MSM_MMCC_8960 344 tristate "MSM8960 Multimedia Clock Controller" 345 depends on ARM || COMPILE_TEST 346 select MSM_GCC_8960 347 help 348 Support for the multimedia clock controller on msm8960 devices. 349 Say Y if you want to support multimedia devices such as display, 350 graphics, video encode/decode, camera, etc. 351 352config MSM_GCC_8953 353 tristate "MSM8953 Global Clock Controller" 354 select QCOM_GDSC 355 help 356 Support for the global clock controller on msm8953 devices. 357 Say Y if you want to use devices such as UART, SPI i2c, USB, 358 SD/eMMC, display, graphics, camera etc. 359 360config MSM_GCC_8974 361 tristate "MSM8974 Global Clock Controller" 362 depends on ARM || COMPILE_TEST 363 select QCOM_GDSC 364 help 365 Support for the global clock controller on msm8974 devices. 366 Say Y if you want to use peripheral devices such as UART, SPI, 367 i2c, USB, SD/eMMC, SATA, PCIe, etc. 368 369config MSM_MMCC_8974 370 tristate "MSM8974 Multimedia Clock Controller" 371 depends on ARM || COMPILE_TEST 372 select MSM_GCC_8974 373 select QCOM_GDSC 374 help 375 Support for the multimedia clock controller on msm8974 devices. 376 Say Y if you want to support multimedia devices such as display, 377 graphics, video encode/decode, camera, etc. 378 379config MSM_GCC_8976 380 tristate "MSM8956/76 Global Clock Controller" 381 select QCOM_GDSC 382 help 383 Support for the global clock controller on msm8956/76 devices. 384 Say Y if you want to use peripheral devices such as UART, SPI, 385 i2c, USB, SD/eMMC, SATA, PCIe, etc. 386 387config MSM_MMCC_8994 388 tristate "MSM8994 Multimedia Clock Controller" 389 select MSM_GCC_8994 390 select QCOM_GDSC 391 help 392 Support for the multimedia clock controller on msm8994 devices. 393 Say Y if you want to support multimedia devices such as display, 394 graphics, video encode/decode, camera, etc. 395 396config MSM_GCC_8994 397 tristate "MSM8994 Global Clock Controller" 398 help 399 Support for the global clock controller on msm8994 devices. 400 Say Y if you want to use peripheral devices such as UART, SPI, 401 i2c, USB, UFS, SD/eMMC, PCIe, etc. 402 403config MSM_GCC_8996 404 tristate "MSM8996 Global Clock Controller" 405 select QCOM_GDSC 406 help 407 Support for the global clock controller on msm8996 devices. 408 Say Y if you want to use peripheral devices such as UART, SPI, 409 i2c, USB, UFS, SD/eMMC, PCIe, etc. 410 411config MSM_MMCC_8996 412 tristate "MSM8996 Multimedia Clock Controller" 413 select MSM_GCC_8996 414 select QCOM_GDSC 415 help 416 Support for the multimedia clock controller on msm8996 devices. 417 Say Y if you want to support multimedia devices such as display, 418 graphics, video encode/decode, camera, etc. 419 420config MSM_GCC_8998 421 tristate "MSM8998 Global Clock Controller" 422 select QCOM_GDSC 423 help 424 Support for the global clock controller on msm8998 devices. 425 Say Y if you want to use peripheral devices such as UART, SPI, 426 i2c, USB, UFS, SD/eMMC, PCIe, etc. 427 428config MSM_GPUCC_8998 429 tristate "MSM8998 Graphics Clock Controller" 430 select MSM_GCC_8998 431 select QCOM_GDSC 432 help 433 Support for the graphics clock controller on MSM8998 devices. 434 Say Y if you want to support graphics controller devices and 435 functionality such as 3D graphics. 436 437config MSM_MMCC_8998 438 tristate "MSM8998 Multimedia Clock Controller" 439 select MSM_GCC_8998 440 select QCOM_GDSC 441 help 442 Support for the multimedia clock controller on msm8998 devices. 443 Say Y if you want to support multimedia devices such as display, 444 graphics, video encode/decode, camera, etc. 445 446config QCM_GCC_2290 447 tristate "QCM2290 Global Clock Controller" 448 select QCOM_GDSC 449 help 450 Support for the global clock controller on QCM2290 devices. 451 Say Y if you want to use multimedia devices or peripheral 452 devices such as UART, SPI, I2C, USB, SD/eMMC etc. 453 454config QCM_DISPCC_2290 455 tristate "QCM2290 Display Clock Controller" 456 select QCM_GCC_2290 457 help 458 Support for the display clock controller on Qualcomm Technologies, Inc 459 QCM2290 devices. 460 Say Y if you want to support display devices and functionality such as 461 splash screen. 462 463config QCS_GCC_404 464 tristate "QCS404 Global Clock Controller" 465 help 466 Support for the global clock controller on QCS404 devices. 467 Say Y if you want to use multimedia devices or peripheral 468 devices such as UART, SPI, I2C, USB, SD/eMMC, PCIe etc. 469 470config SC_CAMCC_7180 471 tristate "SC7180 Camera Clock Controller" 472 depends on ARM64 || COMPILE_TEST 473 select SC_GCC_7180 474 help 475 Support for the camera clock controller on Qualcomm Technologies, Inc 476 SC7180 devices. 477 Say Y if you want to support camera devices and functionality such as 478 capturing pictures. 479 480config SC_CAMCC_7280 481 tristate "SC7280 Camera Clock Controller" 482 depends on ARM64 || COMPILE_TEST 483 select SC_GCC_7280 484 help 485 Support for the camera clock controller on Qualcomm Technologies, Inc 486 SC7280 devices. 487 Say Y if you want to support camera devices and functionality such as 488 capturing pictures. 489 490config SC_CAMCC_8280XP 491 tristate "SC8280XP Camera Clock Controller" 492 depends on ARM64 || COMPILE_TEST 493 select SC_GCC_8280XP 494 help 495 Support for the camera clock controller on Qualcomm Technologies, Inc 496 SC8280XP devices. 497 Say Y if you want to support camera devices and functionality such as 498 capturing pictures. 499 500config SC_DISPCC_7180 501 tristate "SC7180 Display Clock Controller" 502 depends on ARM64 || COMPILE_TEST 503 select SC_GCC_7180 504 help 505 Support for the display clock controller on Qualcomm Technologies, Inc 506 SC7180 devices. 507 Say Y if you want to support display devices and functionality such as 508 splash screen. 509 510config SC_DISPCC_7280 511 tristate "SC7280 Display Clock Controller" 512 depends on ARM64 || COMPILE_TEST 513 select SC_GCC_7280 514 help 515 Support for the display clock controller on Qualcomm Technologies, Inc. 516 SC7280 devices. 517 Say Y if you want to support display devices and functionality such as 518 splash screen. 519 520config SC_DISPCC_8280XP 521 tristate "SC8280XP Display Clock Controller" 522 depends on ARM64 || COMPILE_TEST 523 select SC_GCC_8280XP 524 help 525 Support for the two display clock controllers on Qualcomm 526 Technologies, Inc. SC8280XP devices. 527 Say Y if you want to support display devices and functionality such as 528 splash screen. 529 530config SA_GCC_8775P 531 tristate "SA8775 Global Clock Controller" 532 select QCOM_GDSC 533 depends on COMMON_CLK_QCOM 534 help 535 Support for the global clock controller on SA8775 devices. 536 Say Y if you want to use peripheral devices such as UART, SPI, 537 I2C, USB, UFS, SDCC, etc. 538 539config SA_GPUCC_8775P 540 tristate "SA8775P Graphics clock controller" 541 select QCOM_GDSC 542 select SA_GCC_8775P 543 help 544 Support for the graphics clock controller on SA8775P devices. 545 Say Y if you want to support graphics controller devices and 546 functionality such as 3D graphics. 547 548config SC_GCC_7180 549 tristate "SC7180 Global Clock Controller" 550 select QCOM_GDSC 551 depends on COMMON_CLK_QCOM 552 depends on ARM64 || COMPILE_TEST 553 help 554 Support for the global clock controller on SC7180 devices. 555 Say Y if you want to use peripheral devices such as UART, SPI, 556 I2C, USB, UFS, SDCC, etc. 557 558config SC_GCC_7280 559 tristate "SC7280 Global Clock Controller" 560 select QCOM_GDSC 561 depends on COMMON_CLK_QCOM 562 depends on ARM64 || COMPILE_TEST 563 help 564 Support for the global clock controller on SC7280 devices. 565 Say Y if you want to use peripheral devices such as UART, SPI, 566 I2C, USB, UFS, SDCC, PCIe etc. 567 568config SC_GCC_8180X 569 tristate "SC8180X Global Clock Controller" 570 select QCOM_GDSC 571 depends on COMMON_CLK_QCOM 572 depends on ARM64 || COMPILE_TEST 573 help 574 Support for the global clock controller on SC8180X devices. 575 Say Y if you want to use peripheral devices such as UART, SPI, 576 I2C, USB, UFS, SDCC, etc. 577 578config SC_GCC_8280XP 579 tristate "SC8280XP Global Clock Controller" 580 select QCOM_GDSC 581 depends on COMMON_CLK_QCOM 582 depends on ARM64 || COMPILE_TEST 583 help 584 Support for the global clock controller on SC8280XP devices. 585 Say Y if you want to use peripheral devices such as UART, SPI, 586 I2C, USB, UFS, SDCC, etc. 587 588config SC_GPUCC_7180 589 tristate "SC7180 Graphics Clock Controller" 590 depends on ARM64 || COMPILE_TEST 591 select SC_GCC_7180 592 help 593 Support for the graphics clock controller on SC7180 devices. 594 Say Y if you want to support graphics controller devices and 595 functionality such as 3D graphics. 596 597config SC_GPUCC_7280 598 tristate "SC7280 Graphics Clock Controller" 599 depends on ARM64 || COMPILE_TEST 600 select SC_GCC_7280 601 help 602 Support for the graphics clock controller on SC7280 devices. 603 Say Y if you want to support graphics controller devices and 604 functionality such as 3D graphics. 605 606config SC_GPUCC_8280XP 607 tristate "SC8280XP Graphics Clock Controller" 608 depends on ARM64 || COMPILE_TEST 609 select SC_GCC_8280XP 610 help 611 Support for the graphics clock controller on SC8280XP devices. 612 Say Y if you want to support graphics controller devices and 613 functionality such as 3D graphics. 614 615config SC_LPASSCC_7280 616 tristate "SC7280 Low Power Audio Subsystem (LPASS) Clock Controller" 617 depends on ARM64 || COMPILE_TEST 618 select SC_GCC_7280 619 help 620 Support for the LPASS clock controller on SC7280 devices. 621 Say Y if you want to use the LPASS branch clocks of the LPASS clock 622 controller to reset the LPASS subsystem. 623 624config SC_LPASSCC_8280XP 625 tristate "SC8280 Low Power Audio Subsystem (LPASS) Clock Controller" 626 depends on ARM64 || COMPILE_TEST 627 select SC_GCC_8280XP 628 help 629 Support for the LPASS clock controller on SC8280XP devices. 630 Say Y if you want to use the LPASS branch clocks of the LPASS clock 631 controller to reset the LPASS subsystem. 632 633config SC_LPASS_CORECC_7180 634 tristate "SC7180 LPASS Core Clock Controller" 635 depends on ARM64 || COMPILE_TEST 636 select SC_GCC_7180 637 help 638 Support for the LPASS(Low Power Audio Subsystem) core clock controller 639 on SC7180 devices. 640 Say Y if you want to use LPASS clocks and power domains of the LPASS 641 core clock controller. 642 643config SC_LPASS_CORECC_7280 644 tristate "SC7280 LPASS Core & Audio Clock Controller" 645 depends on ARM64 || COMPILE_TEST 646 select SC_GCC_7280 647 select QCOM_GDSC 648 help 649 Support for the LPASS(Low Power Audio Subsystem) core and audio clock 650 controller on SC7280 devices. 651 Say Y if you want to use LPASS clocks and power domains of the LPASS 652 core clock controller. 653 654config SC_VIDEOCC_7180 655 tristate "SC7180 Video Clock Controller" 656 depends on ARM64 || COMPILE_TEST 657 select SC_GCC_7180 658 help 659 Support for the video clock controller on SC7180 devices. 660 Say Y if you want to support video devices and functionality such as 661 video encode and decode. 662 663config SC_VIDEOCC_7280 664 tristate "SC7280 Video Clock Controller" 665 depends on ARM64 || COMPILE_TEST 666 select SC_GCC_7280 667 help 668 Support for the video clock controller on SC7280 devices. 669 Say Y if you want to support video devices and functionality such as 670 video encode and decode. 671 672config SDM_CAMCC_845 673 tristate "SDM845 Camera Clock Controller" 674 depends on ARM64 || COMPILE_TEST 675 select SDM_GCC_845 676 help 677 Support for the camera clock controller on SDM845 devices. 678 Say Y if you want to support camera devices and camera functionality. 679 680config SDM_GCC_660 681 tristate "SDM660 Global Clock Controller" 682 depends on ARM64 || COMPILE_TEST 683 select QCOM_GDSC 684 help 685 Support for the global clock controller on SDM660 devices. 686 Say Y if you want to use peripheral devices such as UART, SPI, 687 i2C, USB, UFS, SDDC, PCIe, etc. 688 689config SDM_MMCC_660 690 tristate "SDM660 Multimedia Clock Controller" 691 depends on ARM64 || COMPILE_TEST 692 select SDM_GCC_660 693 select QCOM_GDSC 694 help 695 Support for the multimedia clock controller on SDM660 devices. 696 Say Y if you want to support multimedia devices such as display, 697 graphics, video encode/decode, camera, etc. 698 699config SDM_GPUCC_660 700 tristate "SDM660 Graphics Clock Controller" 701 depends on ARM64 || COMPILE_TEST 702 select SDM_GCC_660 703 select QCOM_GDSC 704 help 705 Support for the graphics clock controller on SDM630/636/660 devices. 706 Say Y if you want to support graphics controller devices and 707 functionality such as 3D graphics 708 709config QCS_TURING_404 710 tristate "QCS404 Turing Clock Controller" 711 help 712 Support for the Turing Clock Controller on QCS404, provides clocks 713 and resets for the Turing subsystem. 714 715config QCS_Q6SSTOP_404 716 tristate "QCS404 Q6SSTOP Clock Controller" 717 select QCS_GCC_404 718 help 719 Support for the Q6SSTOP clock controller on QCS404 devices. 720 Say Y if you want to use the Q6SSTOP branch clocks of the WCSS clock 721 controller to reset the Q6SSTOP subsystem. 722 723config QDU_GCC_1000 724 tristate "QDU1000/QRU1000 Global Clock Controller" 725 select QCOM_GDSC 726 help 727 Support for the global clock controller on QDU1000 and 728 QRU1000 devices. Say Y if you want to use peripheral 729 devices such as UART, SPI, I2C, USB, SD, PCIe, etc. 730 731config QDU_ECPRICC_1000 732 tristate "QDU1000/QRU1000 ECPRI Clock Controller" 733 depends on ARM64 || COMPILE_TEST 734 select QDU_GCC_1000 735 help 736 Support for the ECPRI clock controller on QDU1000 and 737 QRU1000 devices. Say Y if you want to support the ECPRI 738 clock controller functionality such as Ethernet. 739 740config SDM_GCC_845 741 tristate "SDM845/SDM670 Global Clock Controller" 742 depends on ARM64 || COMPILE_TEST 743 select QCOM_GDSC 744 help 745 Support for the global clock controller on SDM845 and SDM670 devices. 746 Say Y if you want to use peripheral devices such as UART, SPI, 747 i2C, USB, UFS, SDDC, PCIe, etc. 748 749config SDM_GPUCC_845 750 tristate "SDM845 Graphics Clock Controller" 751 depends on ARM64 || COMPILE_TEST 752 select SDM_GCC_845 753 help 754 Support for the graphics clock controller on SDM845 devices. 755 Say Y if you want to support graphics controller devices and 756 functionality such as 3D graphics. 757 758config SDM_VIDEOCC_845 759 tristate "SDM845 Video Clock Controller" 760 depends on ARM64 || COMPILE_TEST 761 select SDM_GCC_845 762 select QCOM_GDSC 763 help 764 Support for the video clock controller on SDM845 devices. 765 Say Y if you want to support video devices and functionality such as 766 video encode and decode. 767 768config SDM_DISPCC_845 769 tristate "SDM845 Display Clock Controller" 770 depends on ARM64 || COMPILE_TEST 771 select SDM_GCC_845 772 help 773 Support for the display clock controller on Qualcomm Technologies, Inc 774 SDM845 devices. 775 Say Y if you want to support display devices and functionality such as 776 splash screen. 777 778config SDM_LPASSCC_845 779 tristate "SDM845 Low Power Audio Subsystem (LPAAS) Clock Controller" 780 depends on ARM64 || COMPILE_TEST 781 select SDM_GCC_845 782 help 783 Support for the LPASS clock controller on SDM845 devices. 784 Say Y if you want to use the LPASS branch clocks of the LPASS clock 785 controller to reset the LPASS subsystem. 786 787config SDX_GCC_55 788 tristate "SDX55 Global Clock Controller" 789 depends on ARM || COMPILE_TEST 790 select QCOM_GDSC 791 help 792 Support for the global clock controller on SDX55 devices. 793 Say Y if you want to use peripheral devices such as UART, 794 SPI, I2C, USB, SD/UFS, PCIe etc. 795 796config SDX_GCC_65 797 tristate "SDX65 Global Clock Controller" 798 depends on ARM || COMPILE_TEST 799 select QCOM_GDSC 800 help 801 Support for the global clock controller on SDX65 devices. 802 Say Y if you want to use peripheral devices such as UART, 803 SPI, I2C, USB, SD/UFS, PCIe etc. 804 805config SDX_GCC_75 806 tristate "SDX75 Global Clock Controller" 807 select QCOM_GDSC 808 help 809 Support for the global clock controller on SDX75 devices. 810 Say Y if you want to use peripheral devices such as UART, 811 SPI, I2C, USB, SD/eMMC, PCIe etc. 812 813config SM_CAMCC_6350 814 tristate "SM6350 Camera Clock Controller" 815 depends on ARM64 || COMPILE_TEST 816 select SM_GCC_6350 817 help 818 Support for the camera clock controller on SM6350 devices. 819 Say Y if you want to support camera devices and camera functionality. 820 821config SM_CAMCC_7150 822 tristate "SM7150 Camera Clock Controller" 823 depends on ARM64 || COMPILE_TEST 824 select SM_GCC_7150 825 help 826 Support for the camera clock controller on SM7150 devices. 827 Say Y if you want to support camera devices and camera functionality. 828 829config SM_CAMCC_8250 830 tristate "SM8250 Camera Clock Controller" 831 depends on ARM64 || COMPILE_TEST 832 select SM_GCC_8250 833 help 834 Support for the camera clock controller on SM8250 devices. 835 Say Y if you want to support camera devices and camera functionality. 836 837config SM_CAMCC_8450 838 tristate "SM8450 Camera Clock Controller" 839 depends on ARM64 || COMPILE_TEST 840 select SM_GCC_8450 841 help 842 Support for the camera clock controller on SM8450 devices. 843 Say Y if you want to support camera devices and camera functionality. 844 845config SM_CAMCC_8550 846 tristate "SM8550 Camera Clock Controller" 847 depends on ARM64 || COMPILE_TEST 848 select SM_GCC_8550 849 help 850 Support for the camera clock controller on SM8550 devices. 851 Say Y if you want to support camera devices and camera functionality. 852 853config SM_CAMCC_8650 854 tristate "SM8650 Camera Clock Controller" 855 depends on ARM64 || COMPILE_TEST 856 select SM_GCC_8650 857 help 858 Support for the camera clock controller on SM8650 devices. 859 Say Y if you want to support camera devices and camera functionality. 860 861config SM_DISPCC_6115 862 tristate "SM6115 Display Clock Controller" 863 depends on ARM64 || COMPILE_TEST 864 depends on SM_GCC_6115 865 help 866 Support for the display clock controller on Qualcomm Technologies, Inc 867 SM6115/SM4250 devices. 868 Say Y if you want to support display devices and functionality such as 869 splash screen 870 871config SM_DISPCC_6125 872 tristate "SM6125 Display Clock Controller" 873 depends on ARM64 || COMPILE_TEST 874 depends on SM_GCC_6125 875 help 876 Support for the display clock controller on Qualcomm Technologies, Inc 877 SM6125 devices. 878 Say Y if you want to support display devices and functionality such as 879 splash screen 880 881config SM_DISPCC_7150 882 tristate "SM7150 Display Clock Controller" 883 depends on ARM64 || COMPILE_TEST 884 depends on SM_GCC_7150 885 help 886 Support for the display clock controller on Qualcomm Technologies, Inc 887 SM7150 devices. 888 Say Y if you want to support display devices and functionality such as 889 splash screen. 890 891config SM_DISPCC_8250 892 tristate "SM8150/SM8250/SM8350 Display Clock Controller" 893 depends on ARM64 || COMPILE_TEST 894 depends on SM_GCC_8150 || SM_GCC_8250 || SM_GCC_8350 895 help 896 Support for the display clock controller on Qualcomm Technologies, Inc 897 SM8150/SM8250/SM8350 devices. 898 Say Y if you want to support display devices and functionality such as 899 splash screen. 900 901config SM_DISPCC_6350 902 tristate "SM6350 Display Clock Controller" 903 depends on ARM64 || COMPILE_TEST 904 depends on SM_GCC_6350 905 help 906 Support for the display clock controller on Qualcomm Technologies, Inc 907 SM6350 devices. 908 Say Y if you want to support display devices and functionality such as 909 splash screen. 910 911config SM_DISPCC_6375 912 tristate "SM6375 Display Clock Controller" 913 depends on ARM64 || COMPILE_TEST 914 depends on SM_GCC_6375 915 help 916 Support for the display clock controller on Qualcomm Technologies, Inc 917 SM6375 devices. 918 Say Y if you want to support display devices and functionality such as 919 splash screen. 920 921config SM_DISPCC_8450 922 tristate "SM8450 Display Clock Controller" 923 depends on ARM64 || COMPILE_TEST 924 depends on SM_GCC_8450 925 help 926 Support for the display clock controller on Qualcomm Technologies, Inc 927 SM8450 devices. 928 Say Y if you want to support display devices and functionality such as 929 splash screen. 930 931config SM_DISPCC_8550 932 tristate "SM8550 Display Clock Controller" 933 depends on ARM64 || COMPILE_TEST 934 depends on SM_GCC_8550 935 help 936 Support for the display clock controller on Qualcomm Technologies, Inc 937 SM8550 devices. 938 Say Y if you want to support display devices and functionality such as 939 splash screen. 940 941config SM_DISPCC_8650 942 tristate "SM8650 Display Clock Controller" 943 depends on ARM64 || COMPILE_TEST 944 select SM_GCC_8650 945 help 946 Support for the display clock controller on Qualcomm Technologies, Inc 947 SM8650 devices. 948 Say Y if you want to support display devices and functionality such as 949 splash screen. 950 951config SM_GCC_4450 952 tristate "SM4450 Global Clock Controller" 953 depends on ARM64 || COMPILE_TEST 954 select QCOM_GDSC 955 help 956 Support for the global clock controller on SM4450 devices. 957 Say Y if you want to use peripheral devices such as UART, SPI, 958 I2C, USB, SD/UFS, PCIe, etc. 959 960config SM_GCC_6115 961 tristate "SM6115 and SM4250 Global Clock Controller" 962 depends on ARM64 || COMPILE_TEST 963 select QCOM_GDSC 964 help 965 Support for the global clock controller on SM6115 and SM4250 devices. 966 Say Y if you want to use peripheral devices such as UART, SPI, 967 i2C, USB, UFS, SDDC, PCIe, etc. 968 969config SM_GCC_6125 970 tristate "SM6125 Global Clock Controller" 971 depends on ARM64 || COMPILE_TEST 972 help 973 Support for the global clock controller on SM6125 devices. 974 Say Y if you want to use peripheral devices such as UART, 975 SPI, I2C, USB, SD/UFS, PCIe etc. 976 977config SM_GCC_6350 978 tristate "SM6350 Global Clock Controller" 979 depends on ARM64 || COMPILE_TEST 980 select QCOM_GDSC 981 help 982 Support for the global clock controller on SM6350 devices. 983 Say Y if you want to use peripheral devices such as UART, 984 SPI, I2C, USB, SD/UFS, PCIe etc. 985 986config SM_GCC_6375 987 tristate "SM6375 Global Clock Controller" 988 depends on ARM64 || COMPILE_TEST 989 select QCOM_GDSC 990 help 991 Support for the global clock controller on SM6375 devices. 992 Say Y if you want to use peripheral devices such as UART, 993 SPI, I2C, USB, SD/UFS etc. 994 995config SM_GCC_7150 996 tristate "SM7150 Global Clock Controller" 997 depends on ARM64 || COMPILE_TEST 998 select QCOM_GDSC 999 help 1000 Support for the global clock controller on SM7150 devices. 1001 Say Y if you want to use peripheral devices such as UART, 1002 SPI, I2C, USB, SD/UFS, PCIe etc. 1003 1004config SM_GCC_8150 1005 tristate "SM8150 Global Clock Controller" 1006 depends on ARM64 || COMPILE_TEST 1007 help 1008 Support for the global clock controller on SM8150 devices. 1009 Say Y if you want to use peripheral devices such as UART, 1010 SPI, I2C, USB, SD/UFS, PCIe etc. 1011 1012config SM_GCC_8250 1013 tristate "SM8250 Global Clock Controller" 1014 depends on ARM64 || COMPILE_TEST 1015 select QCOM_GDSC 1016 help 1017 Support for the global clock controller on SM8250 devices. 1018 Say Y if you want to use peripheral devices such as UART, 1019 SPI, I2C, USB, SD/UFS, PCIe etc. 1020 1021config SM_GCC_8350 1022 tristate "SM8350 Global Clock Controller" 1023 depends on ARM64 || COMPILE_TEST 1024 select QCOM_GDSC 1025 help 1026 Support for the global clock controller on SM8350 devices. 1027 Say Y if you want to use peripheral devices such as UART, 1028 SPI, I2C, USB, SD/UFS, PCIe etc. 1029 1030config SM_GCC_8450 1031 tristate "SM8450 Global Clock Controller" 1032 depends on ARM64 || COMPILE_TEST 1033 select QCOM_GDSC 1034 help 1035 Support for the global clock controller on SM8450 devices. 1036 Say Y if you want to use peripheral devices such as UART, 1037 SPI, I2C, USB, SD/UFS, PCIe etc. 1038 1039config SM_GCC_8550 1040 tristate "SM8550 Global Clock Controller" 1041 depends on ARM64 || COMPILE_TEST 1042 select QCOM_GDSC 1043 help 1044 Support for the global clock controller on SM8550 devices. 1045 Say Y if you want to use peripheral devices such as UART, 1046 SPI, I2C, USB, SD/UFS, PCIe etc. 1047 1048config SM_GCC_8650 1049 tristate "SM8650 Global Clock Controller" 1050 depends on ARM64 || COMPILE_TEST 1051 select QCOM_GDSC 1052 help 1053 Support for the global clock controller on SM8650 devices. 1054 Say Y if you want to use peripheral devices such as UART, 1055 SPI, I2C, USB, SD/UFS, PCIe etc. 1056 1057config SM_GPUCC_6115 1058 tristate "SM6115 Graphics Clock Controller" 1059 select SM_GCC_6115 1060 depends on ARM64 || COMPILE_TEST 1061 help 1062 Support for the graphics clock controller on SM6115 devices. 1063 Say Y if you want to support graphics controller devices and 1064 functionality such as 3D graphics. 1065 1066config SM_GPUCC_6125 1067 tristate "SM6125 Graphics Clock Controller" 1068 select SM_GCC_6125 1069 depends on ARM64 || COMPILE_TEST 1070 help 1071 Support for the graphics clock controller on SM6125 devices. 1072 Say Y if you want to support graphics controller devices and 1073 functionality such as 3D graphics. 1074 1075config SM_GPUCC_6375 1076 tristate "SM6375 Graphics Clock Controller" 1077 select SM_GCC_6375 1078 depends on ARM64 || COMPILE_TEST 1079 help 1080 Support for the graphics clock controller on SM6375 devices. 1081 Say Y if you want to support graphics controller devices and 1082 functionality such as 3D graphics. 1083 1084config SM_GPUCC_6350 1085 tristate "SM6350 Graphics Clock Controller" 1086 depends on ARM64 || COMPILE_TEST 1087 select SM_GCC_6350 1088 help 1089 Support for the graphics clock controller on SM6350 devices. 1090 Say Y if you want to support graphics controller devices and 1091 functionality such as 3D graphics. 1092 1093config SM_GPUCC_8150 1094 tristate "SM8150 Graphics Clock Controller" 1095 depends on ARM64 || COMPILE_TEST 1096 select SM_GCC_8150 1097 help 1098 Support for the graphics clock controller on SM8150 devices. 1099 Say Y if you want to support graphics controller devices and 1100 functionality such as 3D graphics. 1101 1102config SM_GPUCC_8250 1103 tristate "SM8250 Graphics Clock Controller" 1104 depends on ARM64 || COMPILE_TEST 1105 select SM_GCC_8250 1106 help 1107 Support for the graphics clock controller on SM8250 devices. 1108 Say Y if you want to support graphics controller devices and 1109 functionality such as 3D graphics. 1110 1111config SM_GPUCC_8350 1112 tristate "SM8350 Graphics Clock Controller" 1113 depends on ARM64 || COMPILE_TEST 1114 select SM_GCC_8350 1115 help 1116 Support for the graphics clock controller on SM8350 devices. 1117 Say Y if you want to support graphics controller devices and 1118 functionality such as 3D graphics. 1119 1120config SM_GPUCC_8450 1121 tristate "SM8450 Graphics Clock Controller" 1122 depends on ARM64 || COMPILE_TEST 1123 select SM_GCC_8450 1124 help 1125 Support for the graphics clock controller on SM8450 devices. 1126 Say Y if you want to support graphics controller devices and 1127 functionality such as 3D graphics. 1128 1129config SM_GPUCC_8550 1130 tristate "SM8550 Graphics Clock Controller" 1131 depends on ARM64 || COMPILE_TEST 1132 select SM_GCC_8550 1133 help 1134 Support for the graphics clock controller on SM8550 devices. 1135 Say Y if you want to support graphics controller devices and 1136 functionality such as 3D graphics. 1137 1138config SM_GPUCC_8650 1139 tristate "SM8650 Graphics Clock Controller" 1140 depends on ARM64 || COMPILE_TEST 1141 select SM_GCC_8650 1142 help 1143 Support for the graphics clock controller on SM8650 devices. 1144 Say Y if you want to support graphics controller devices and 1145 functionality such as 3D graphics. 1146 1147config SM_TCSRCC_8550 1148 tristate "SM8550 TCSR Clock Controller" 1149 depends on ARM64 || COMPILE_TEST 1150 select QCOM_GDSC 1151 help 1152 Support for the TCSR clock controller on SM8550 devices. 1153 Say Y if you want to use peripheral devices such as SD/UFS. 1154 1155config SM_TCSRCC_8650 1156 tristate "SM8650 TCSR Clock Controller" 1157 depends on ARM64 || COMPILE_TEST 1158 select QCOM_GDSC 1159 help 1160 Support for the TCSR clock controller on SM8650 devices. 1161 Say Y if you want to use peripheral devices such as SD/UFS. 1162 1163config SM_VIDEOCC_7150 1164 tristate "SM7150 Video Clock Controller" 1165 depends on ARM64 || COMPILE_TEST 1166 select SM_GCC_7150 1167 select QCOM_GDSC 1168 help 1169 Support for the video clock controller on SM7150 devices. 1170 Say Y if you want to support video devices and functionality such as 1171 video encode and decode. 1172 1173config SM_VIDEOCC_8150 1174 tristate "SM8150 Video Clock Controller" 1175 depends on ARM64 || COMPILE_TEST 1176 select SM_GCC_8150 1177 select QCOM_GDSC 1178 help 1179 Support for the video clock controller on SM8150 devices. 1180 Say Y if you want to support video devices and functionality such as 1181 video encode and decode. 1182 1183config SM_VIDEOCC_8250 1184 tristate "SM8250 Video Clock Controller" 1185 depends on ARM64 || COMPILE_TEST 1186 select SM_GCC_8250 1187 select QCOM_GDSC 1188 help 1189 Support for the video clock controller on SM8250 devices. 1190 Say Y if you want to support video devices and functionality such as 1191 video encode and decode. 1192 1193config SM_VIDEOCC_8350 1194 tristate "SM8350 Video Clock Controller" 1195 depends on ARM64 || COMPILE_TEST 1196 select SM_GCC_8350 1197 select QCOM_GDSC 1198 help 1199 Support for the video clock controller on SM8350 devices. 1200 Say Y if you want to support video devices and functionality such as 1201 video encode and decode. 1202 1203config SM_VIDEOCC_8550 1204 tristate "SM8550 Video Clock Controller" 1205 depends on ARM64 || COMPILE_TEST 1206 select SM_GCC_8550 1207 select QCOM_GDSC 1208 help 1209 Support for the video clock controller on Qualcomm Technologies, Inc. 1210 SM8550 devices. 1211 Say Y if you want to support video devices and functionality such as 1212 video encode/decode. 1213 1214config SPMI_PMIC_CLKDIV 1215 tristate "SPMI PMIC clkdiv Support" 1216 depends on SPMI || COMPILE_TEST 1217 help 1218 This driver supports the clkdiv functionality on the Qualcomm 1219 Technologies, Inc. SPMI PMIC. It configures the frequency of 1220 clkdiv outputs of the PMIC. These clocks are typically wired 1221 through alternate functions on GPIO pins. 1222 1223config QCOM_HFPLL 1224 tristate "High-Frequency PLL (HFPLL) Clock Controller" 1225 help 1226 Support for the high-frequency PLLs present on Qualcomm devices. 1227 Say Y if you want to support CPU frequency scaling on devices 1228 such as MSM8974, APQ8084, etc. 1229 1230config KPSS_XCC 1231 tristate "KPSS Clock Controller" 1232 help 1233 Support for the Krait ACC and GCC clock controllers. Say Y 1234 if you want to support CPU frequency scaling on devices such 1235 as MSM8960, APQ8064, etc. 1236 1237config KRAITCC 1238 tristate "Krait Clock Controller" 1239 depends on ARM 1240 select KRAIT_CLOCKS 1241 help 1242 Support for the Krait CPU clocks on Qualcomm devices. 1243 Say Y if you want to support CPU frequency scaling. 1244 1245config CLK_GFM_LPASS_SM8250 1246 tristate "SM8250 GFM LPASS Clocks" 1247 depends on ARM64 || COMPILE_TEST 1248 help 1249 Support for the Glitch Free Mux (GFM) Low power audio 1250 subsystem (LPASS) clocks found on SM8250 SoCs. 1251 1252config SM_VIDEOCC_8450 1253 tristate "SM8450 Video Clock Controller" 1254 depends on ARM64 || COMPILE_TEST 1255 select SM_GCC_8450 1256 select QCOM_GDSC 1257 help 1258 Support for the video clock controller on Qualcomm Technologies, Inc. 1259 SM8450 devices. 1260 Say Y if you want to support video devices and functionality such as 1261 video encode/decode. 1262endif 1263