Lines Matching full:rpmh
19 #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
54 * struct rpmh_vreg_hw_data - RPMh regulator hardware configurations
55 * @regulator_type: RPMh accelerator type used to manage this
83 * struct rpmh_vreg - individual RPMh regulator data structure encapsulating a
85 * @dev: Device pointer for the top-level PMIC RPMh
87 * handle in RPMh write requests.
89 * an RPMh accelerator
91 * @hw_data: PMIC regulator configuration data for this RPMh
94 * wait for an ACK from RPMh before continuing even
101 * only used by BOB rpmh-regulator resources.
104 * @mode: RPMh VRM regulator current framework mode
120 * struct rpmh_vreg_init_data - initialization data for an RPMh regulator
123 * @resource_name: RPMh regulator resource name format string.
127 * "ldo%s1" for RPMh resource "ldoa1".
139 * rpmh_regulator_send_request() - send the request to RPMh
140 * @vreg: Pointer to the RPMh regulator
141 * @cmd: Pointer to the RPMh command to send
297 * @rdev: Regulator device pointer for the rpmh-regulator
300 * This function is used in the regulator_ops for VRM type RPMh regulator
387 * rpmh_regulator_init_vreg() - initialize all attributes of an rpmh-regulator
388 * vreg: Pointer to the individual rpmh-regulator resource
389 * dev: Pointer to the top level rpmh-regulator PMIC device
390 * node: Pointer to the individual rpmh-regulator resource
392 * pmic_id: String used to identify the top level rpmh-regulator
394 * pmic_rpmh_data: Pointer to a null-terminated array of rpmh-regulator
426 dev_err(dev, "%s: could not find RPMh address for resource %s\n", in rpmh_regulator_init_vreg()
477 dev_dbg(dev, "%s regulator registered for RPMh resource %s @ 0x%05X\n", in rpmh_regulator_init_vreg()
744 .compatible = "qcom,pm8998-rpmh-regulators",
748 .compatible = "qcom,pmi8998-rpmh-regulators",
752 .compatible = "qcom,pm8005-rpmh-regulators",
761 .name = "qcom-rpmh-regulator",
768 MODULE_DESCRIPTION("Qualcomm RPMh regulator driver");