Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

pmdomain: qcom: Move Kconfig options to the pmdomain subsystem

The Kconfig options belongs closer to the corresponding implementations,
hence let's move them from the soc subsystem to the pmdomain subsystem.

Cc: Bjorn Andersson <andersson@kernel.org>
Cc: Konrad Dybcio <konrad.dybcio@linaro.org>
Cc: Andy Gross <agross@kernel.org>
Cc: <linux-arm-msm@vger.kernel.org>
Acked-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>

+42 -37
+1
drivers/pmdomain/Kconfig
··· 7 7 source "drivers/pmdomain/bcm/Kconfig" 8 8 source "drivers/pmdomain/imx/Kconfig" 9 9 source "drivers/pmdomain/mediatek/Kconfig" 10 + source "drivers/pmdomain/qcom/Kconfig" 10 11 11 12 endmenu
+41
drivers/pmdomain/qcom/Kconfig
··· 1 + # SPDX-License-Identifier: GPL-2.0-only 2 + menu "Qualcomm PM Domains" 3 + 4 + config QCOM_CPR 5 + tristate "QCOM Core Power Reduction (CPR) support" 6 + depends on ARCH_QCOM && HAS_IOMEM 7 + select PM_OPP 8 + select REGMAP 9 + help 10 + Say Y here to enable support for the CPR hardware found on Qualcomm 11 + SoCs like QCS404. 12 + 13 + This driver populates CPU OPPs tables and makes adjustments to the 14 + tables based on feedback from the CPR hardware. If you want to do 15 + CPUfrequency scaling say Y here. 16 + 17 + To compile this driver as a module, choose M here: the module will 18 + be called qcom-cpr 19 + 20 + config QCOM_RPMHPD 21 + tristate "Qualcomm RPMh Power domain driver" 22 + depends on QCOM_RPMH && QCOM_COMMAND_DB 23 + help 24 + QCOM RPMh Power domain driver to support power-domains with 25 + performance states. The driver communicates a performance state 26 + value to RPMh which then translates it into corresponding voltage 27 + for the voltage rail. 28 + 29 + config QCOM_RPMPD 30 + tristate "Qualcomm RPM Power domain driver" 31 + depends on PM && OF 32 + depends on QCOM_SMD_RPM 33 + select PM_GENERIC_DOMAINS 34 + select PM_GENERIC_DOMAINS_OF 35 + help 36 + QCOM RPM Power domain driver to support power-domains with 37 + performance states. The driver communicates a performance state 38 + value to RPM which then translates it into corresponding voltage 39 + for the voltage rail. 40 + 41 + endmenu
-37
drivers/soc/qcom/Kconfig
··· 26 26 resource on a RPM-hardened platform must use this database to get 27 27 SoC specific identifier and information for the shared resources. 28 28 29 - config QCOM_CPR 30 - tristate "QCOM Core Power Reduction (CPR) support" 31 - depends on ARCH_QCOM && HAS_IOMEM 32 - select PM_OPP 33 - select REGMAP 34 - help 35 - Say Y here to enable support for the CPR hardware found on Qualcomm 36 - SoCs like QCS404. 37 - 38 - This driver populates CPU OPPs tables and makes adjustments to the 39 - tables based on feedback from the CPR hardware. If you want to do 40 - CPUfrequency scaling say Y here. 41 - 42 - To compile this driver as a module, choose M here: the module will 43 - be called qcom-cpr 44 - 45 29 config QCOM_GENI_SE 46 30 tristate "QCOM GENI Serial Engine Driver" 47 31 depends on ARCH_QCOM || COMPILE_TEST ··· 140 156 internal bus to transmit state requests for shared resources. A set 141 157 of hardware components aggregate requests for these resources and 142 158 help apply the aggregated state on the resource. 143 - 144 - config QCOM_RPMHPD 145 - tristate "Qualcomm RPMh Power domain driver" 146 - depends on QCOM_RPMH && QCOM_COMMAND_DB 147 - help 148 - QCOM RPMh Power domain driver to support power-domains with 149 - performance states. The driver communicates a performance state 150 - value to RPMh which then translates it into corresponding voltage 151 - for the voltage rail. 152 - 153 - config QCOM_RPMPD 154 - tristate "Qualcomm RPM Power domain driver" 155 - depends on PM && OF 156 - depends on QCOM_SMD_RPM 157 - select PM_GENERIC_DOMAINS 158 - select PM_GENERIC_DOMAINS_OF 159 - help 160 - QCOM RPM Power domain driver to support power-domains with 161 - performance states. The driver communicates a performance state 162 - value to RPM which then translates it into corresponding voltage 163 - for the voltage rail. 164 159 165 160 config QCOM_SMEM 166 161 tristate "Qualcomm Shared Memory Manager (SMEM)"