[0/6] regulator: qcom_spmi: Add PM8909, PM8019 and PMA8084

Message ID 20230912-spmi-pm8909-v1-0-ba4b3bfaf87d@gerhold.net
Headers
Series regulator: qcom_spmi: Add PM8909, PM8019 and PMA8084 |

Message

Stephan Gerhold Sept. 12, 2023, 7:49 a.m. UTC
  Add the necessary definitions for the PM8909, PM8019 and PMA8084 PMIC to
the qcom_spmi-regulator driver to allow reading the actual voltages
applied to the hardware at runtime. This is mainly intended for
debugging since the regulators are usually controlled through the
RPM firmware (via qcom_smd-regulator).

These PMICs are used on totally different platforms (MSM8909, MDM9607, 
MSM8974/APQ8084). Each PMIC addition is independent and useful on it 
own. I only bundled them to simplify review.

Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
---
Stephan Gerhold (6):
      dt-bindings: regulator: qcom,spmi: Document PM8909
      regulator: qcom_spmi: Add PM8909 regulators
      dt-bindings: regulator: qcom,spmi: Document PM8019
      regulator: qcom_spmi: Add PM8019 regulators
      dt-bindings: regulator: qcom,spmi: Document PMA8084
      regulator: qcom_spmi: Add PMA8084 regulators

 .../bindings/regulator/qcom,spmi-regulator.yaml    | 68 ++++++++++++++-
 drivers/regulator/qcom_spmi-regulator.c            | 96 ++++++++++++++++++++++
 2 files changed, 163 insertions(+), 1 deletion(-)
---
base-commit: b03f047d9f28d6e68dce6ca66383b80ad66ec1ce
change-id: 20230906-spmi-pm8909-d7aea168a5a9

Best regards,
  

Comments

Rob Herring Sept. 12, 2023, 5:52 p.m. UTC | #1
On Tue, 12 Sep 2023 09:49:49 +0200, Stephan Gerhold wrote:
> From: Stephan Gerhold <stephan.gerhold@kernkonzept.com>
> 
> Document the qcom,pm8909-regulators compatible together with the
> necessary supply properties to allow interfacing via the hardware
> regulator registers directly via SPMI. This is mainly intended for
> debugging since the regulators are typically controlled via the RPM
> firmware (qcom,rpm-pm8909-regulators compatible).
> 
> Signed-off-by: Stephan Gerhold <stephan.gerhold@kernkonzept.com>
> ---
>  .../bindings/regulator/qcom,spmi-regulator.yaml       | 19 +++++++++++++++++++
>  1 file changed, 19 insertions(+)
> 

Reviewed-by: Rob Herring <robh@kernel.org>
  
Mark Brown Sept. 27, 2023, 8:58 a.m. UTC | #2
On Tue, 12 Sep 2023 09:49:48 +0200, Stephan Gerhold wrote:
> Add the necessary definitions for the PM8909, PM8019 and PMA8084 PMIC to
> the qcom_spmi-regulator driver to allow reading the actual voltages
> applied to the hardware at runtime. This is mainly intended for
> debugging since the regulators are usually controlled through the
> RPM firmware (via qcom_smd-regulator).
> 
> These PMICs are used on totally different platforms (MSM8909, MDM9607,
> MSM8974/APQ8084). Each PMIC addition is independent and useful on it
> own. I only bundled them to simplify review.
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next

Thanks!

[1/6] dt-bindings: regulator: qcom,spmi: Document PM8909
      commit: 6f20872035378ab2311cc901f8f94f8718f1b17f
[2/6] regulator: qcom_spmi: Add PM8909 regulators
      commit: 813d01a40ae7c0c67681c82edce8463fbbd84b08
[3/6] dt-bindings: regulator: qcom,spmi: Document PM8019
      commit: 350aab7f8f2c7d7368d2bbc47717696a51014078
[4/6] regulator: qcom_spmi: Add PM8019 regulators
      commit: 5b30cb2a317a8e2636f724e8ebf5cbe3849e786e
[5/6] dt-bindings: regulator: qcom,spmi: Document PMA8084
      commit: f72d04235781cf89410ffd750109f4b9931c50ea
[6/6] regulator: qcom_spmi: Add PMA8084 regulators
      commit: 317aa3c4fe708fcbee5b9fe5fc25e1b9e92b83f5

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark