Home
last modified time | relevance | path

Searched full:rpmh (Results 1 – 25 of 59) sorted by relevance

123

/Linux-v5.10/Documentation/devicetree/bindings/regulator/
Dqcom,rpmh-regulator.txt1 Qualcomm Technologies, Inc. RPMh Regulators
3 rpmh-regulator devices support PMIC regulator management via the Voltage
4 Regulator Manager (VRM) and Oscillator Buffer (XOB) RPMh accelerators. The APPS
17 RPMh regulators must be described in two levels of device nodes. The first
19 RPMh device node. The second level describes each regulator within the PMIC
21 RPMh resource.
42 "qcom,pm8005-rpmh-regulators"
43 "qcom,pm8009-rpmh-regulators"
44 "qcom,pm8150-rpmh-regulators"
45 "qcom,pm8150l-rpmh-regulators"
[all …]
/Linux-v5.10/drivers/clk/qcom/
Dclk-rpmh.c14 #include <soc/qcom/rpmh.h>
17 #include <dt-bindings/clock/qcom,rpmh.h>
24 * @unit: divisor used to convert Hz value to an RPMh msg
25 * @width: multiplier used to convert Hz value to an RPMh msg
37 * struct clk_rpmh - individual rpmh clock data structure
39 * @res_name: resource name for the rpmh clock
41 * @res_addr: base address of the rpmh resource within the RPMh
42 * @res_on_val: rpmh clock enable value
43 * @state: rpmh clock requested state
44 * @aggr_state: rpmh clock aggregated state
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/clock/
Dqcom,rpmhcc.yaml7 title: Qualcomm Technologies, Inc. RPMh Clocks Bindings
13 Resource Power Manager Hardened (RPMh) manages shared resources on
20 - qcom,sc7180-rpmh-clk
21 - qcom,sdm845-rpmh-clk
22 - qcom,sm8150-rpmh-clk
23 - qcom,sm8250-rpmh-clk
45 #include <dt-bindings/clock/qcom,rpmh.h>
47 compatible = "qcom,sdm845-rpmh-clk";
Dqcom,sc7180-lpasscorecc.yaml82 #include <dt-bindings/clock/qcom,rpmh.h>
95 #include <dt-bindings/clock/qcom,rpmh.h>
/Linux-v5.10/drivers/regulator/
Dqcom-rpmh-regulator.c19 #include <soc/qcom/rpmh.h>
21 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
24 * enum rpmh_regulator_type - supported RPMh accelerator types
25 * @VRM: RPMh VRM accelerator which supports voting on enable, voltage,
27 * @XOB: RPMh XOB accelerator which supports voting on the enable state
68 * struct rpmh_vreg_hw_data - RPMh regulator hardware configurations
69 * @regulator_type: RPMh accelerator type used to manage this
97 * struct rpmh_vreg - individual RPMh regulator data structure encapsulating a
99 * @dev: Device pointer for the top-level PMIC RPMh
101 * handle in RPMh write requests.
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/interconnect/
Dqcom,rpmh.yaml4 $id: http://devicetree.org/schemas/interconnect/qcom,rpmh.yaml#
7 title: Qualcomm RPMh Network-On-Chip Interconnect
14 RPMh interconnect providers support system bandwidth requirements through
15 RPMh hardware accelerators known as Bus Clock Manager (BCM). The provider is
18 least one RPMh device child node pertaining to their RSC and each provider
19 can map to multiple RPMh resources.
78 this interconnect to send RPMh commands.
Dqcom,bcm-voter.yaml48 # as defined in Documentation/devicetree/bindings/soc/qcom/rpmh-rsc.txt
56 # as defined in Documentation/devicetree/bindings/soc/qcom/rpmh-rsc.txt
/Linux-v5.10/drivers/soc/qcom/
Drpmhpd.c16 #include <soc/qcom/rpmh.h>
24 * struct rpmhpd - top level RPMh power domain resource data structure
25 * @dev: rpmh power domain controller device
61 /* SDM845 RPMH powerdomains */
135 /* SM8150 RPMH powerdomains */
188 /* SC7180 RPMH powerdomains */
245 * resources and its peers. The aggregated votes are sent to RPMh as
247 * (applied by RPMh on system wakeup) and as SLEEP votes (applied by RPMh
434 dev_err(dev, "Could not find RPMh address for resource %s\n", in rpmhpd_probe()
441 dev_err(dev, "RPMh slave ID mismatch\n"); in rpmhpd_probe()
[all …]
Drpmh.c21 #include <soc/qcom/rpmh.h>
23 #include "rpmh-internal.h"
89 dev_err(rpm_msg->dev, "RPMH TX fail in msg addr=%#x, err=%d\n", in rpmh_tx_done()
166 * __rpmh_write: Cache and send the RPMH request
172 * Cache the RPMH request and send if the state is ACTIVE_ONLY.
223 * rpmh_write_async: Write a set of RPMH commands
230 * Write a set of RPMH commands, the order of commands is maintained
255 * rpmh_write: Write a set of RPMH commands and block until response
257 * @rc: The RPMH handle got from rpmh_get_client
319 * rpmh_write_batch: Write multiple sets of RPMH commands and wait for the
[all …]
DKconfig111 bool "Qualcomm RPM-Hardened (RPMH) Communication"
115 Qualcomm Technologies Inc (QTI) SoCs. RPMH communication uses an
121 tristate "Qualcomm RPMh Power domain driver"
124 QCOM RPMh Power domain driver to support power-domains with
126 value to RPMh which then translates it into corresponding voltage
Dtrace-rpmh.h10 #define TRACE_SYSTEM rpmh
13 #include "rpmh-internal.h"
80 #define TRACE_INCLUDE_FILE trace-rpmh
DMakefile15 qcom_rpmh-y += rpmh-rsc.o
16 qcom_rpmh-y += rpmh.o
Drpmh-rsc.c26 #include <dt-bindings/soc/qcom,rpmh-rsc.h>
28 #include "rpmh-internal.h"
31 #include "trace-rpmh.h"
88 * Here's a high level overview of how all the registers in RPMH work
91 * - The main rpmh-rsc address is the base of a register space that can
93 * (DRV_PRNT_CHLD_CONFIG). Also found within the rpmh-rsc register
220 * The caller must ensure that no other RPMH actions are happening when this
244 * The caller must ensure that no other RPMH actions are happening when this
618 * data to be programmed into the RPMh. See rpmh_tx_done() which will
720 * The caller must ensure that no other RPMH actions are happening and the
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/soc/qcom/
Drpmh-rsc.txt1 RPMH RSC:
4 Resource Power Manager Hardened (RPMH) is the mechanism for communicating with
38 Definition: Should be "qcom,rpmh-rsc".
86 Drivers that want to use the RSC to communicate with RPMH must specify their
101 compatible = "qcom,rpmh-rsc";
127 compatible = "qcom,rpmh-rsc";
/Linux-v5.10/drivers/interconnect/qcom/
DMakefile8 icc-rpmh-obj := icc-rpmh.o
20 obj-$(CONFIG_INTERCONNECT_QCOM_RPMH) += icc-rpmh.o
Dicc-rpmh.h32 * @unit: divisor used to convert bytes/sec bw value to an RPMh msg
33 * @width: multiplier used to convert bytes/sec bw value to an RPMh msg
80 * @addr: address offsets used when voting to RPMH
87 * communicating with RPMh
Dbcm-voter.h10 #include <soc/qcom/rpmh.h>
13 #include "icc-rpmh.h"
Dbcm-voter.c13 #include <soc/qcom/rpmh.h>
17 #include "icc-rpmh.h"
290 pr_err("Error sending AMC RPMH requests (%d)\n", ret); in qcom_icc_bcm_voter_commit()
321 pr_err("Error sending WAKE RPMH requests (%d)\n", ret); in qcom_icc_bcm_voter_commit()
329 pr_err("Error sending SLEEP RPMH requests (%d)\n", ret); in qcom_icc_bcm_voter_commit()
/Linux-v5.10/arch/arm64/boot/dts/qcom/
Dsm8150-mtp.dts9 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
36 * Apparently RPMh does not provide support for PM8150 S4 because it
54 pm8150-rpmh-regulators {
55 compatible = "qcom,pm8150-rpmh-regulators";
209 pm8150l-rpmh-regulators {
210 compatible = "qcom,pm8150l-rpmh-regulators";
322 pm8009-rpmh-regulators {
323 compatible = "qcom,pm8009-rpmh-regulators";
Dsm8250-mtp.dts8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
64 pm8150-rpmh-regulators {
65 compatible = "qcom,pm8150-rpmh-regulators";
191 pm8150l-rpmh-regulators {
192 compatible = "qcom,pm8150l-rpmh-regulators";
302 pm8009-rpmh-regulators {
303 compatible = "qcom,pm8009-rpmh-regulators";
Dsdm845-mtp.dts11 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
34 * Apparently RPMh does not provide support for PM8998 S4 because it
57 pm8998-rpmh-regulators {
58 compatible = "qcom,pm8998-rpmh-regulators";
322 pmi8998-rpmh-regulators {
323 compatible = "qcom,pmi8998-rpmh-regulators";
336 pm8005-rpmh-regulators {
337 compatible = "qcom,pm8005-rpmh-regulators";
Dqrb5165-rb5.dts9 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
116 pm8009-rpmh-regulators {
117 compatible = "qcom,pm8009-rpmh-regulators";
155 pm8150-rpmh-regulators {
156 compatible = "qcom,pm8150-rpmh-regulators";
288 pm8150l-rpmh-regulators {
289 compatible = "qcom,pm8150l-rpmh-regulators";
Dsc7180-idp.dts11 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
86 pm6150-rpmh-regulators {
87 compatible = "qcom,pm6150-rpmh-regulators";
208 pm6150l-rpmh-regulators {
209 compatible = "qcom,pm6150l-rpmh-regulators";
Dsdm845-xiaomi-beryllium.dts7 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
126 pm8998-rpmh-regulators {
127 compatible = "qcom,pm8998-rpmh-regulators";
/Linux-v5.10/Documentation/devicetree/bindings/power/
Dqcom,rpmpd.yaml7 title: Qualcomm RPM/RPMh Power domains
13 For RPM/RPMh Power domains, we communicate a performance state to RPM/RPMh
46 // Example 1 (rpmh power domain controller and OPP table):

123