]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/clk/qcom/Kconfig
clk: qcom: Add support for RPM Clocks
[karo-tx-linux.git] / drivers / clk / qcom / Kconfig
index ee4c83aab4f40daabe8fbe84c028fdeef8bf73ec..12fea623c189da6b8c9881c2c889bf39439960e1 100644 (file)
@@ -2,6 +2,9 @@ config QCOM_GDSC
        bool
        select PM_GENERIC_DOMAINS if PM
 
+config QCOM_RPMCC
+       bool
+
 config COMMON_CLK_QCOM
        tristate "Support for Qualcomm's clock controllers"
        depends on OF
@@ -9,6 +12,32 @@ config COMMON_CLK_QCOM
        select REGMAP_MMIO
        select RESET_CONTROLLER
 
+config QCOM_CLK_RPM
+       tristate "RPM based Clock Controller"
+       depends on COMMON_CLK_QCOM && MFD_QCOM_RPM
+       select QCOM_RPMCC
+       help
+         The RPM (Resource Power Manager) is a dedicated hardware engine for
+         managing the shared SoC resources in order to keep the lowest power
+         profile. It communicates with other hardware subsystems via shared
+         memory and accepts clock requests, aggregates the requests and turns
+         the clocks on/off or scales them on demand.
+         Say Y if you want to support the clocks exposed by the RPM on
+         platforms such as apq8064, msm8660, msm8960 etc.
+
+config QCOM_CLK_SMD_RPM
+       tristate "RPM over SMD based Clock Controller"
+       depends on COMMON_CLK_QCOM && QCOM_SMD_RPM
+       select QCOM_RPMCC
+       help
+         The RPM (Resource Power Manager) is a dedicated hardware engine for
+         managing the shared SoC resources in order to keep the lowest power
+         profile. It communicates with other hardware subsystems via shared
+         memory and accepts clock requests, aggregates the requests and turns
+         the clocks on/off or scales them on demand.
+         Say Y if you want to support the clocks exposed by the RPM on
+         platforms such as apq8016, apq8084, msm8974 etc.
+
 config APQ_GCC_8084
        tristate "APQ8084 Global Clock Controller"
        select QCOM_GDSC
@@ -106,3 +135,39 @@ config MSM_MMCC_8974
          Support for the multimedia clock controller on msm8974 devices.
          Say Y if you want to support multimedia devices such as display,
          graphics, video encode/decode, camera, etc.
+
+config QCOM_HFPLL
+       tristate "High-Frequency PLL (HFPLL) Clock Controller"
+       depends on COMMON_CLK_QCOM
+       help
+         Support for the high-frequency PLLs present on Qualcomm devices.
+         Say Y if you want to support CPU frequency scaling on devices
+         such as MSM8974, APQ8084, etc.
+
+config KPSS_XCC
+       tristate "KPSS Clock Controller"
+       depends on COMMON_CLK_QCOM
+       help
+         Support for the Krait ACC and GCC clock controllers. Say Y
+         if you want to support CPU frequency scaling on devices such
+         as MSM8960, APQ8064, etc.
+
+config KRAITCC
+       tristate "Krait Clock Controller"
+       depends on COMMON_CLK_QCOM && ARM
+       select KRAIT_CLOCKS
+       help
+         Support for the Krait CPU clocks on Qualcomm devices.
+         Say Y if you want to support CPU frequency scaling.
+
+config KRAIT_CLOCKS
+       bool
+       select KRAIT_L2_ACCESSORS
+
+config QCOM_A53
+       tristate "A53 Clock Controller"
+       depends on COMMON_CLK_QCOM
+       help
+         Support for the A53 clock controller on Qualcomm devices.
+         Say Y if you want to support CPU frequency scaling on devices
+         such as MSM8916.