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
99 * struct rpmh_vreg - individual RPMh regulator data structure encapsulating a
101 * @dev: Device pointer for the top-level PMIC RPMh
103 * handle in RPMh write requests.
105 * an RPMh accelerator
107 * @hw_data: PMIC regulator configuration data for this RPMh
110 * wait for an ACK from RPMh before continuing even
117 * only used by BOB rpmh-regulator resources.
120 * @mode: RPMh VRM regulator current framework mode
136 * struct rpmh_vreg_init_data - initialization data for an RPMh regulator
139 * @resource_name: RPMh regulator resource name format string.
143 * "ldo%s1" for RPMh resource "ldoa1".
155 * rpmh_regulator_send_request() - send the request to RPMh
156 * @vreg: Pointer to the RPMh regulator
157 * @cmd: Pointer to the RPMh command to send
312 * @rdev: Regulator device pointer for the rpmh-regulator
317 * This function is used in the regulator_ops for VRM type RPMh regulator
402 * rpmh_regulator_init_vreg() - initialize all attributes of an rpmh-regulator
403 * @vreg: Pointer to the individual rpmh-regulator resource
404 * @dev: Pointer to the top level rpmh-regulator PMIC device
405 * @node: Pointer to the individual rpmh-regulator resource
407 * @pmic_id: String used to identify the top level rpmh-regulator
409 * @pmic_rpmh_data: Pointer to a null-terminated array of rpmh-regulator
441 dev_err(dev, "%pOFn: could not find RPMh address for resource %s\n", in rpmh_regulator_init_vreg()
492 dev_dbg(dev, "%pOFn regulator registered for RPMh resource %s @ 0x%05X\n", in rpmh_regulator_init_vreg()
1559 .compatible = "qcom,pm8005-rpmh-regulators",
1563 .compatible = "qcom,pm8009-rpmh-regulators",
1567 .compatible = "qcom,pm8009-1-rpmh-regulators",
1571 .compatible = "qcom,pm8010-rpmh-regulators",
1575 .compatible = "qcom,pm8150-rpmh-regulators",
1579 .compatible = "qcom,pm8150l-rpmh-regulators",
1583 .compatible = "qcom,pm8350-rpmh-regulators",
1587 .compatible = "qcom,pm8350c-rpmh-regulators",
1591 .compatible = "qcom,pm8450-rpmh-regulators",
1595 .compatible = "qcom,pm8550-rpmh-regulators",
1599 .compatible = "qcom,pm8550ve-rpmh-regulators",
1603 .compatible = "qcom,pm8550vs-rpmh-regulators",
1607 .compatible = "qcom,pm8998-rpmh-regulators",
1611 .compatible = "qcom,pmg1110-rpmh-regulators",
1615 .compatible = "qcom,pmi8998-rpmh-regulators",
1619 .compatible = "qcom,pm6150-rpmh-regulators",
1623 .compatible = "qcom,pm6150l-rpmh-regulators",
1627 .compatible = "qcom,pm6350-rpmh-regulators",
1631 .compatible = "qcom,pmc8180-rpmh-regulators",
1635 .compatible = "qcom,pmc8180c-rpmh-regulators",
1639 .compatible = "qcom,pmc8380-rpmh-regulators",
1643 .compatible = "qcom,pmm8155au-rpmh-regulators",
1647 .compatible = "qcom,pmm8654au-rpmh-regulators",
1651 .compatible = "qcom,pmx55-rpmh-regulators",
1655 .compatible = "qcom,pmx65-rpmh-regulators",
1659 .compatible = "qcom,pmx75-rpmh-regulators",
1663 .compatible = "qcom,pm7325-rpmh-regulators",
1667 .compatible = "qcom,pmr735a-rpmh-regulators",
1671 .compatible = "qcom,pm660-rpmh-regulators",
1675 .compatible = "qcom,pm660l-rpmh-regulators",
1684 .name = "qcom-rpmh-regulator",
1692 MODULE_DESCRIPTION("Qualcomm RPMh regulator driver");