GNU Linux-libre 6.8.9-gnu
[releases.git] / 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