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
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.
103 * an RPMh accelerator
105 * @hw_data: PMIC regulator configuration data for this RPMh
108 * wait for an ACK from RPMh before continuing even
115 * only used by BOB rpmh-regulator resources.
118 * @mode: RPMh VRM regulator current framework mode
134 * struct rpmh_vreg_init_data - initialization data for an RPMh regulator
137 * @resource_name: RPMh regulator resource name format string.
141 * "ldo%s1" for RPMh resource "ldoa1".
153 * rpmh_regulator_send_request() - send the request to RPMh
154 * @vreg: Pointer to the RPMh regulator
155 * @cmd: Pointer to the RPMh command to send
311 * @rdev: Regulator device pointer for the rpmh-regulator
314 * This function is used in the regulator_ops for VRM type RPMh regulator
401 * rpmh_regulator_init_vreg() - initialize all attributes of an rpmh-regulator
402 * @vreg: Pointer to the individual rpmh-regulator resource
403 * @dev: Pointer to the top level rpmh-regulator PMIC device
404 * @node: Pointer to the individual rpmh-regulator resource
406 * @pmic_id: String used to identify the top level rpmh-regulator
408 * @pmic_rpmh_data: Pointer to a null-terminated array of rpmh-regulator
440 dev_err(dev, "%pOFn: could not find RPMh address for resource %s\n", in rpmh_regulator_init_vreg()
491 dev_dbg(dev, "%pOFn regulator registered for RPMh resource %s @ 0x%05X\n", in rpmh_regulator_init_vreg()
972 .compatible = "qcom,pm8005-rpmh-regulators",
976 .compatible = "qcom,pm8009-rpmh-regulators",
980 .compatible = "qcom,pm8150-rpmh-regulators",
984 .compatible = "qcom,pm8150l-rpmh-regulators",
988 .compatible = "qcom,pm8998-rpmh-regulators",
992 .compatible = "qcom,pmi8998-rpmh-regulators",
996 .compatible = "qcom,pm6150-rpmh-regulators",
1000 .compatible = "qcom,pm6150l-rpmh-regulators",
1009 .name = "qcom-rpmh-regulator",
1016 MODULE_DESCRIPTION("Qualcomm RPMh regulator driver");