Lines Matching full:rpmh
18 #include <soc/qcom/rpmh.h>
20 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
23 * enum rpmh_regulator_type - supported RPMh accelerator types
24 * @VRM: RPMh VRM accelerator which supports voting on enable, voltage,
26 * @XOB: RPMh XOB accelerator which supports voting on the enable state
67 * struct rpmh_vreg_hw_data - RPMh regulator hardware configurations
68 * @regulator_type: RPMh accelerator type used to manage this
96 * struct rpmh_vreg - individual RPMh regulator data structure encapsulating a
98 * @dev: Device pointer for the top-level PMIC RPMh
100 * handle in RPMh write requests.
102 * an RPMh accelerator
104 * @hw_data: PMIC regulator configuration data for this RPMh
107 * wait for an ACK from RPMh before continuing even
114 * only used by BOB rpmh-regulator resources.
117 * @mode: RPMh VRM regulator current framework mode
133 * struct rpmh_vreg_init_data - initialization data for an RPMh regulator
136 * @resource_name: RPMh regulator resource name format string.
140 * "ldo%s1" for RPMh resource "ldoa1".
152 * rpmh_regulator_send_request() - send the request to RPMh
153 * @vreg: Pointer to the RPMh regulator
154 * @cmd: Pointer to the RPMh command to send
309 * @rdev: Regulator device pointer for the rpmh-regulator
314 * This function is used in the regulator_ops for VRM type RPMh regulator
399 * rpmh_regulator_init_vreg() - initialize all attributes of an rpmh-regulator
400 * @vreg: Pointer to the individual rpmh-regulator resource
401 * @dev: Pointer to the top level rpmh-regulator PMIC device
402 * @node: Pointer to the individual rpmh-regulator resource
404 * @pmic_id: String used to identify the top level rpmh-regulator
406 * @pmic_rpmh_data: Pointer to a null-terminated array of rpmh-regulator
438 dev_err(dev, "%pOFn: could not find RPMh address for resource %s\n", in rpmh_regulator_init_vreg()
489 dev_dbg(dev, "%pOFn regulator registered for RPMh resource %s @ 0x%05X\n", in rpmh_regulator_init_vreg()
1439 .compatible = "qcom,pm8005-rpmh-regulators",
1443 .compatible = "qcom,pm8009-rpmh-regulators",
1447 .compatible = "qcom,pm8009-1-rpmh-regulators",
1451 .compatible = "qcom,pm8150-rpmh-regulators",
1455 .compatible = "qcom,pm8150l-rpmh-regulators",
1459 .compatible = "qcom,pm8350-rpmh-regulators",
1463 .compatible = "qcom,pm8350c-rpmh-regulators",
1467 .compatible = "qcom,pm8450-rpmh-regulators",
1471 .compatible = "qcom,pm8550-rpmh-regulators",
1475 .compatible = "qcom,pm8550ve-rpmh-regulators",
1479 .compatible = "qcom,pm8550vs-rpmh-regulators",
1483 .compatible = "qcom,pm8998-rpmh-regulators",
1487 .compatible = "qcom,pmg1110-rpmh-regulators",
1491 .compatible = "qcom,pmi8998-rpmh-regulators",
1495 .compatible = "qcom,pm6150-rpmh-regulators",
1499 .compatible = "qcom,pm6150l-rpmh-regulators",
1503 .compatible = "qcom,pm6350-rpmh-regulators",
1507 .compatible = "qcom,pmc8180-rpmh-regulators",
1511 .compatible = "qcom,pmc8180c-rpmh-regulators",
1515 .compatible = "qcom,pmm8155au-rpmh-regulators",
1519 .compatible = "qcom,pmm8654au-rpmh-regulators",
1523 .compatible = "qcom,pmx55-rpmh-regulators",
1527 .compatible = "qcom,pmx65-rpmh-regulators",
1531 .compatible = "qcom,pmx75-rpmh-regulators",
1535 .compatible = "qcom,pm7325-rpmh-regulators",
1539 .compatible = "qcom,pmr735a-rpmh-regulators",
1543 .compatible = "qcom,pm660-rpmh-regulators",
1547 .compatible = "qcom,pm660l-rpmh-regulators",
1556 .name = "qcom-rpmh-regulator",
1564 MODULE_DESCRIPTION("Qualcomm RPMh regulator driver");