linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Add PMG1110(Seco Jr) PMIC support
@ 2021-11-23 11:49 Satya Priya
  2021-11-23 11:49 ` [PATCH 1/3] dt-bindings: regulator: Add compatible for pmg1110 Satya Priya
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Satya Priya @ 2021-11-23 11:49 UTC (permalink / raw)
  To: Bjorn Andersson, Rob Herring
  Cc: Liam Girdwood, Mark Brown, David Collins, linux-arm-msm,
	linux-kernel, devicetree, swboyd, mka, Satya Priya

This series depends on below series which adds the base CRD dts
https://patchwork.kernel.org/project/linux-arm-msm/list/?series=584349

Satya Priya (3):
  dt-bindings: regulator: Add compatible for pmg1110
  regulator: qcom-rpmh: Add PMG1110 regulators
  arm64: dts: qcom: sc7280: Add pmg1110 regulators for sc7280-crd

 .../devicetree/bindings/regulator/qcom,rpmh-regulator.yaml   |  1 +
 arch/arm64/boot/dts/qcom/sc7280-crd.dts                      | 12 ++++++++++++
 drivers/regulator/qcom-rpmh-regulator.c                      |  9 +++++++++
 3 files changed, 22 insertions(+)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 1/3] dt-bindings: regulator: Add compatible for pmg1110
  2021-11-23 11:49 [PATCH 0/3] Add PMG1110(Seco Jr) PMIC support Satya Priya
@ 2021-11-23 11:49 ` Satya Priya
  2021-11-23 11:49 ` [PATCH 2/3] regulator: qcom-rpmh: Add PMG1110 regulators Satya Priya
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: Satya Priya @ 2021-11-23 11:49 UTC (permalink / raw)
  To: Bjorn Andersson, Rob Herring
  Cc: Liam Girdwood, Mark Brown, David Collins, linux-arm-msm,
	linux-kernel, devicetree, swboyd, mka, Satya Priya

Add compatible string for pmg1110 pmic.

Signed-off-by: Satya Priya <quic_c_skakit@quicinc.com>
---
 Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml b/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml
index b959504..c02f08a 100644
--- a/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml
+++ b/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml
@@ -63,6 +63,7 @@ properties:
       - qcom,pm8350-rpmh-regulators
       - qcom,pm8350c-rpmh-regulators
       - qcom,pm8998-rpmh-regulators
+      - qcom,pmg1110-rpmh-regulators
       - qcom,pmi8998-rpmh-regulators
       - qcom,pmm8155au-rpmh-regulators
       - qcom,pmr735a-rpmh-regulators
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 2/3] regulator: qcom-rpmh: Add PMG1110 regulators
  2021-11-23 11:49 [PATCH 0/3] Add PMG1110(Seco Jr) PMIC support Satya Priya
  2021-11-23 11:49 ` [PATCH 1/3] dt-bindings: regulator: Add compatible for pmg1110 Satya Priya
@ 2021-11-23 11:49 ` Satya Priya
  2021-11-23 11:49 ` [PATCH 3/3] arm64: dts: qcom: sc7280: Add pmg1110 regulators for sc7280-crd Satya Priya
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: Satya Priya @ 2021-11-23 11:49 UTC (permalink / raw)
  To: Bjorn Andersson, Rob Herring
  Cc: Liam Girdwood, Mark Brown, David Collins, linux-arm-msm,
	linux-kernel, devicetree, swboyd, mka, Satya Priya

Add support for PMG1110 regulators.

Signed-off-by: Satya Priya <quic_c_skakit@quicinc.com>
---
 drivers/regulator/qcom-rpmh-regulator.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/drivers/regulator/qcom-rpmh-regulator.c b/drivers/regulator/qcom-rpmh-regulator.c
index 12425f6..684143c 100644
--- a/drivers/regulator/qcom-rpmh-regulator.c
+++ b/drivers/regulator/qcom-rpmh-regulator.c
@@ -814,6 +814,11 @@ static const struct rpmh_vreg_init_data pm8998_vreg_data[] = {
 	{}
 };
 
+static const struct rpmh_vreg_init_data pmg1110_vreg_data[] = {
+	RPMH_VREG("smps1",  "smp%s1",  &pmic5_ftsmps510,  "vdd-s1"),
+	{}
+};
+
 static const struct rpmh_vreg_init_data pmi8998_vreg_data[] = {
 	RPMH_VREG("bob",    "bob%s1",  &pmic4_bob,       "vdd-bob"),
 	{}
@@ -1218,6 +1223,10 @@ static const struct of_device_id __maybe_unused rpmh_regulator_match_table[] = {
 		.data = pm8998_vreg_data,
 	},
 	{
+		.compatible = "qcom,pmg1110-rpmh-regulators",
+		.data = pmg1110_vreg_data,
+	},
+	{
 		.compatible = "qcom,pmi8998-rpmh-regulators",
 		.data = pmi8998_vreg_data,
 	},
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 3/3] arm64: dts: qcom: sc7280: Add pmg1110 regulators for sc7280-crd
  2021-11-23 11:49 [PATCH 0/3] Add PMG1110(Seco Jr) PMIC support Satya Priya
  2021-11-23 11:49 ` [PATCH 1/3] dt-bindings: regulator: Add compatible for pmg1110 Satya Priya
  2021-11-23 11:49 ` [PATCH 2/3] regulator: qcom-rpmh: Add PMG1110 regulators Satya Priya
@ 2021-11-23 11:49 ` Satya Priya
  2021-11-30  1:56   ` Stephen Boyd
  2021-11-29 16:45 ` (subset) [PATCH 0/3] Add PMG1110(Seco Jr) PMIC support Mark Brown
                   ` (2 subsequent siblings)
  5 siblings, 1 reply; 8+ messages in thread
From: Satya Priya @ 2021-11-23 11:49 UTC (permalink / raw)
  To: Bjorn Andersson, Rob Herring
  Cc: Liam Girdwood, Mark Brown, David Collins, linux-arm-msm,
	linux-kernel, devicetree, swboyd, mka, Satya Priya

Add pmg1110 pmic regulators support.

Signed-off-by: Satya Priya <quic_c_skakit@quicinc.com>
---
 arch/arm64/boot/dts/qcom/sc7280-crd.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sc7280-crd.dts b/arch/arm64/boot/dts/qcom/sc7280-crd.dts
index bef3037..cb0aaf8 100644
--- a/arch/arm64/boot/dts/qcom/sc7280-crd.dts
+++ b/arch/arm64/boot/dts/qcom/sc7280-crd.dts
@@ -23,6 +23,18 @@
 	};
 };
 
+&apps_rsc {
+	pmg1110-regulators {
+		compatible = "qcom,pmg1110-rpmh-regulators";
+		qcom,pmic-id = "k";
+
+		vreg_s1k_1p0: smps1 {
+			regulator-min-microvolt = <1010000>;
+			regulator-max-microvolt = <1170000>;
+		};
+	};
+};
+
 ap_tp_i2c: &i2c0 {
 	status = "okay";
 	clock-frequency = <400000>;
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: (subset) [PATCH 0/3] Add PMG1110(Seco Jr) PMIC support
  2021-11-23 11:49 [PATCH 0/3] Add PMG1110(Seco Jr) PMIC support Satya Priya
                   ` (2 preceding siblings ...)
  2021-11-23 11:49 ` [PATCH 3/3] arm64: dts: qcom: sc7280: Add pmg1110 regulators for sc7280-crd Satya Priya
@ 2021-11-29 16:45 ` Mark Brown
  2022-01-26 20:43 ` patchwork-bot+linux-arm-msm
  2022-01-31 18:24 ` (subset) " Bjorn Andersson
  5 siblings, 0 replies; 8+ messages in thread
From: Mark Brown @ 2021-11-29 16:45 UTC (permalink / raw)
  To: Bjorn Andersson, Rob Herring, Satya Priya
  Cc: linux-arm-msm, linux-kernel, devicetree, mka, Liam Girdwood,
	David Collins, swboyd

On Tue, 23 Nov 2021 17:19:24 +0530, Satya Priya wrote:
> This series depends on below series which adds the base CRD dts
> https://patchwork.kernel.org/project/linux-arm-msm/list/?series=584349
> 
> Satya Priya (3):
>   dt-bindings: regulator: Add compatible for pmg1110
>   regulator: qcom-rpmh: Add PMG1110 regulators
>   arm64: dts: qcom: sc7280: Add pmg1110 regulators for sc7280-crd
> 
> [...]

Applied to

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

Thanks!

[1/3] dt-bindings: regulator: Add compatible for pmg1110
      commit: ac88e9526d68f2532be3b4b439d45c0c8de7e170
[2/3] regulator: qcom-rpmh: Add PMG1110 regulators
      commit: 59eadd2af3f717f2ff70dbb6c153757dc1650651

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 3/3] arm64: dts: qcom: sc7280: Add pmg1110 regulators for sc7280-crd
  2021-11-23 11:49 ` [PATCH 3/3] arm64: dts: qcom: sc7280: Add pmg1110 regulators for sc7280-crd Satya Priya
@ 2021-11-30  1:56   ` Stephen Boyd
  0 siblings, 0 replies; 8+ messages in thread
From: Stephen Boyd @ 2021-11-30  1:56 UTC (permalink / raw)
  To: Bjorn Andersson, Rob Herring, Satya Priya
  Cc: Liam Girdwood, Mark Brown, David Collins, linux-arm-msm,
	linux-kernel, devicetree, mka

Quoting Satya Priya (2021-11-23 03:49:27)
> Add pmg1110 pmic regulators support.
>
> Signed-off-by: Satya Priya <quic_c_skakit@quicinc.com>
> ---

Reviewed-by: Stephen Boyd <swboyd@chromium.org>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 0/3] Add PMG1110(Seco Jr) PMIC support
  2021-11-23 11:49 [PATCH 0/3] Add PMG1110(Seco Jr) PMIC support Satya Priya
                   ` (3 preceding siblings ...)
  2021-11-29 16:45 ` (subset) [PATCH 0/3] Add PMG1110(Seco Jr) PMIC support Mark Brown
@ 2022-01-26 20:43 ` patchwork-bot+linux-arm-msm
  2022-01-31 18:24 ` (subset) " Bjorn Andersson
  5 siblings, 0 replies; 8+ messages in thread
From: patchwork-bot+linux-arm-msm @ 2022-01-26 20:43 UTC (permalink / raw)
  To: Satya Priya Kakitapalli; +Cc: linux-arm-msm

Hello:

This series was applied to qcom/linux.git (for-next)
by Bjorn Andersson <bjorn.andersson@linaro.org>:

On Tue, 23 Nov 2021 17:19:24 +0530 you wrote:
> This series depends on below series which adds the base CRD dts
> https://patchwork.kernel.org/project/linux-arm-msm/list/?series=584349
> 
> Satya Priya (3):
>   dt-bindings: regulator: Add compatible for pmg1110
>   regulator: qcom-rpmh: Add PMG1110 regulators
>   arm64: dts: qcom: sc7280: Add pmg1110 regulators for sc7280-crd
> 
> [...]

Here is the summary with links:
  - [1/3] dt-bindings: regulator: Add compatible for pmg1110
    (no matching commit)
  - [2/3] regulator: qcom-rpmh: Add PMG1110 regulators
    (no matching commit)
  - [3/3] arm64: dts: qcom: sc7280: Add pmg1110 regulators for sc7280-crd
    https://git.kernel.org/qcom/c/073a39a2a63a

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: (subset) [PATCH 0/3] Add PMG1110(Seco Jr) PMIC support
  2021-11-23 11:49 [PATCH 0/3] Add PMG1110(Seco Jr) PMIC support Satya Priya
                   ` (4 preceding siblings ...)
  2022-01-26 20:43 ` patchwork-bot+linux-arm-msm
@ 2022-01-31 18:24 ` Bjorn Andersson
  5 siblings, 0 replies; 8+ messages in thread
From: Bjorn Andersson @ 2022-01-31 18:24 UTC (permalink / raw)
  To: Rob Herring, Satya Priya
  Cc: mka, Mark Brown, devicetree, linux-arm-msm, Liam Girdwood,
	David Collins, swboyd, linux-kernel

On Tue, 23 Nov 2021 17:19:24 +0530, Satya Priya wrote:
> This series depends on below series which adds the base CRD dts
> https://patchwork.kernel.org/project/linux-arm-msm/list/?series=584349
> 
> Satya Priya (3):
>   dt-bindings: regulator: Add compatible for pmg1110
>   regulator: qcom-rpmh: Add PMG1110 regulators
>   arm64: dts: qcom: sc7280: Add pmg1110 regulators for sc7280-crd
> 
> [...]

Applied, thanks!

[3/3] arm64: dts: qcom: sc7280: Add pmg1110 regulators for sc7280-crd
      commit: 073a39a2a63abd46339a50eb07bd23958d99efbe

Best regards,
-- 
Bjorn Andersson <bjorn.andersson@linaro.org>

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-01-31 18:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-23 11:49 [PATCH 0/3] Add PMG1110(Seco Jr) PMIC support Satya Priya
2021-11-23 11:49 ` [PATCH 1/3] dt-bindings: regulator: Add compatible for pmg1110 Satya Priya
2021-11-23 11:49 ` [PATCH 2/3] regulator: qcom-rpmh: Add PMG1110 regulators Satya Priya
2021-11-23 11:49 ` [PATCH 3/3] arm64: dts: qcom: sc7280: Add pmg1110 regulators for sc7280-crd Satya Priya
2021-11-30  1:56   ` Stephen Boyd
2021-11-29 16:45 ` (subset) [PATCH 0/3] Add PMG1110(Seco Jr) PMIC support Mark Brown
2022-01-26 20:43 ` patchwork-bot+linux-arm-msm
2022-01-31 18:24 ` (subset) " Bjorn Andersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).