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()
1570 .compatible = "qcom,pm8005-rpmh-regulators",
1574 .compatible = "qcom,pm8009-rpmh-regulators",
1578 .compatible = "qcom,pm8009-1-rpmh-regulators",
1582 .compatible = "qcom,pm8010-rpmh-regulators",
1586 .compatible = "qcom,pm8150-rpmh-regulators",
1590 .compatible = "qcom,pm8150l-rpmh-regulators",
1594 .compatible = "qcom,pm8350-rpmh-regulators",
1598 .compatible = "qcom,pm8350c-rpmh-regulators",
1602 .compatible = "qcom,pm8450-rpmh-regulators",
1606 .compatible = "qcom,pm8550-rpmh-regulators",
1610 .compatible = "qcom,pm8550ve-rpmh-regulators",
1614 .compatible = "qcom,pm8550vs-rpmh-regulators",
1618 .compatible = "qcom,pm8998-rpmh-regulators",
1622 .compatible = "qcom,pmg1110-rpmh-regulators",
1626 .compatible = "qcom,pmi8998-rpmh-regulators",
1630 .compatible = "qcom,pm6150-rpmh-regulators",
1634 .compatible = "qcom,pm6150l-rpmh-regulators",
1638 .compatible = "qcom,pm6350-rpmh-regulators",
1642 .compatible = "qcom,pmc8180-rpmh-regulators",
1646 .compatible = "qcom,pmc8180c-rpmh-regulators",
1650 .compatible = "qcom,pmc8380-rpmh-regulators",
1654 .compatible = "qcom,pmm8155au-rpmh-regulators",
1658 .compatible = "qcom,pmm8654au-rpmh-regulators",
1662 .compatible = "qcom,pmx55-rpmh-regulators",
1666 .compatible = "qcom,pmx65-rpmh-regulators",
1670 .compatible = "qcom,pmx75-rpmh-regulators",
1674 .compatible = "qcom,pm7325-rpmh-regulators",
1678 .compatible = "qcom,pmr735a-rpmh-regulators",
1682 .compatible = "qcom,pm660-rpmh-regulators",
1686 .compatible = "qcom,pm660l-rpmh-regulators",
1695 .name = "qcom-rpmh-regulator",
1703 MODULE_DESCRIPTION("Qualcomm RPMh regulator driver");