devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/2] arm64: dts: qcom: pms405: add spmi regulators
@ 2019-03-26 16:59 Vinod Koul
  2019-03-26 16:59 ` [PATCH v2 2/2] arm64: dts: qcom: qcs404-evb: " Vinod Koul
  2019-03-27  6:25 ` [PATCH v2 1/2] arm64: dts: qcom: pms405: " Bjorn Andersson
  0 siblings, 2 replies; 3+ messages in thread
From: Vinod Koul @ 2019-03-26 16:59 UTC (permalink / raw)
  To: Andy Gross
  Cc: linux-arm-msm, Bjorn Andersson, Jorge Ramirez-Ortiz, David Brown,
	Rob Herring, Mark Rutland, devicetree, Khasim Syed Mohammed,
	Vinod Koul

From: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>

The PMS405 sports 5 SMPS and 13 LDO regulators, add the regulators to
pms405 DTS.

Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
Signed-off-by: Khasim Syed Mohammed <khasim.mohammed@linaro.org>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
---
 arch/arm64/boot/dts/qcom/pms405.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/pms405.dtsi b/arch/arm64/boot/dts/qcom/pms405.dtsi
index 1bb836d1e8aa..701cff8bf0cd 100644
--- a/arch/arm64/boot/dts/qcom/pms405.dtsi
+++ b/arch/arm64/boot/dts/qcom/pms405.dtsi
@@ -131,4 +131,15 @@
 			interrupts = <0x0 0x61 0x1 IRQ_TYPE_NONE>;
 		};
 	};
+
+	pms405_1: pms405@1 {
+		compatible = "qcom,spmi-pmic";
+		reg = <0x1 SPMI_USID>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		pms_regulators: regulators {
+			compatible = "qcom,pms405-regulators";
+		};
+	};
 };
-- 
2.20.1

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

* [PATCH v2 2/2] arm64: dts: qcom: qcs404-evb: add spmi regulators
  2019-03-26 16:59 [PATCH v2 1/2] arm64: dts: qcom: pms405: add spmi regulators Vinod Koul
@ 2019-03-26 16:59 ` Vinod Koul
  2019-03-27  6:25 ` [PATCH v2 1/2] arm64: dts: qcom: pms405: " Bjorn Andersson
  1 sibling, 0 replies; 3+ messages in thread
From: Vinod Koul @ 2019-03-26 16:59 UTC (permalink / raw)
  To: Andy Gross
  Cc: linux-arm-msm, Bjorn Andersson, Jorge Ramirez-Ortiz, David Brown,
	Rob Herring, Mark Rutland, devicetree, Khasim Syed Mohammed,
	Vinod Koul

From: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>

Define the EVB pms405_s3 supplies.

Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
Signed-off-by: Khasim Syed Mohammed <khasim.mohammed@linaro.org>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
---
 arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi
index e794ac68b7fa..c6987029ed5e 100644
--- a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi
+++ b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi
@@ -48,6 +48,18 @@
 	};
 };
 
+&pms_regulators {
+	vdd_s3-supply = <&pms405_s3>;
+
+	pms405_s3: s3 {
+		   regulator-always-on;
+		   regulator-boot-on;
+		   regulator-name = "vdd_apc";
+		   regulator-min-microvolt = <1048000>;
+		   regulator-max-microvolt = <1352000>;
+	   };
+};
+
 &remoteproc_adsp {
 	status = "ok";
 };
-- 
2.20.1

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

* Re: [PATCH v2 1/2] arm64: dts: qcom: pms405: add spmi regulators
  2019-03-26 16:59 [PATCH v2 1/2] arm64: dts: qcom: pms405: add spmi regulators Vinod Koul
  2019-03-26 16:59 ` [PATCH v2 2/2] arm64: dts: qcom: qcs404-evb: " Vinod Koul
@ 2019-03-27  6:25 ` Bjorn Andersson
  1 sibling, 0 replies; 3+ messages in thread
From: Bjorn Andersson @ 2019-03-27  6:25 UTC (permalink / raw)
  To: Vinod Koul
  Cc: Andy Gross, linux-arm-msm, Jorge Ramirez-Ortiz, David Brown,
	Rob Herring, Mark Rutland, devicetree, Khasim Syed Mohammed

On Tue 26 Mar 09:59 PDT 2019, Vinod Koul wrote:

> From: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
> 
> The PMS405 sports 5 SMPS and 13 LDO regulators, add the regulators to
> pms405 DTS.
> 
> Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
> Signed-off-by: Khasim Syed Mohammed <khasim.mohammed@linaro.org>
> Signed-off-by: Vinod Koul <vkoul@kernel.org>
> ---

Applied the pair.

Thanks,
Bjorn

>  arch/arm64/boot/dts/qcom/pms405.dtsi | 11 +++++++++++
>  1 file changed, 11 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/pms405.dtsi b/arch/arm64/boot/dts/qcom/pms405.dtsi
> index 1bb836d1e8aa..701cff8bf0cd 100644
> --- a/arch/arm64/boot/dts/qcom/pms405.dtsi
> +++ b/arch/arm64/boot/dts/qcom/pms405.dtsi
> @@ -131,4 +131,15 @@
>  			interrupts = <0x0 0x61 0x1 IRQ_TYPE_NONE>;
>  		};
>  	};
> +
> +	pms405_1: pms405@1 {
> +		compatible = "qcom,spmi-pmic";
> +		reg = <0x1 SPMI_USID>;
> +		#address-cells = <1>;
> +		#size-cells = <0>;
> +
> +		pms_regulators: regulators {
> +			compatible = "qcom,pms405-regulators";
> +		};
> +	};
>  };
> -- 
> 2.20.1
> 

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

end of thread, other threads:[~2019-03-27  6:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-26 16:59 [PATCH v2 1/2] arm64: dts: qcom: pms405: add spmi regulators Vinod Koul
2019-03-26 16:59 ` [PATCH v2 2/2] arm64: dts: qcom: qcs404-evb: " Vinod Koul
2019-03-27  6:25 ` [PATCH v2 1/2] arm64: dts: qcom: pms405: " 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).