All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] arm64: dts: qcom: qcs404: ethernet and other updates
@ 2019-03-24 16:32 Vinod Koul
  2019-03-24 16:32 ` [PATCH 1/6] arm64: dts: qcom: qcs404: Add Ethernet node Vinod Koul
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Vinod Koul @ 2019-03-24 16:32 UTC (permalink / raw)
  To: Andy Gross
  Cc: linux-arm-msm, Bjorn Andersson, Vinod Koul, David Brown,
	Rob Herring, Mark Rutland, devicetree

This series adds ethernet nodes, fixes DMA settings, fixes regulator
voltages and lastly adds spmi regulators for QCS404 platform

Bjorn Andersson (1):
  arm64: dts: qcom: qcs404: Fix voltages for s5 and l3

Jorge Ramirez-Ortiz (1):
  arm64: dts: qcom: pms405: add spmi regulators

Khasim Syed Mohammed (1):
  arm64: dts: qcom: qcs404: Remove default setting of
    controlled-remotely for BAM DMA

Shawn Guo (1):
  arm64: dts: qcom: qcs404: Enable blsp1_uart3 for qcs404-evb

Vinod Koul (2):
  arm64: dts: qcom: qcs404: Add Ethernet node
  arm64: dts: qcom: qcs404: Enable ethernet for EVB-4000

 arch/arm64/boot/dts/qcom/pms405.dtsi         | 20 +++++
 arch/arm64/boot/dts/qcom/qcs404-evb-4000.dts | 82 ++++++++++++++++++++
 arch/arm64/boot/dts/qcom/qcs404-evb.dtsi     | 24 +++++-
 arch/arm64/boot/dts/qcom/qcs404.dtsi         | 23 +++++-
 4 files changed, 144 insertions(+), 5 deletions(-)

-- 
2.20.1

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

* [PATCH 1/6] arm64: dts: qcom: qcs404: Add Ethernet node
  2019-03-24 16:32 [PATCH 0/6] arm64: dts: qcom: qcs404: ethernet and other updates Vinod Koul
@ 2019-03-24 16:32 ` Vinod Koul
  2019-03-24 16:32 ` [PATCH 2/6] arm64: dts: qcom: qcs404: Enable ethernet for EVB-4000 Vinod Koul
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 11+ messages in thread
From: Vinod Koul @ 2019-03-24 16:32 UTC (permalink / raw)
  To: Andy Gross
  Cc: linux-arm-msm, Bjorn Andersson, Vinod Koul, David Brown,
	Rob Herring, Mark Rutland, devicetree, Niklas Cassel

Add the ethernet node found in QCS404 platform.

Co-developed-by: Niklas Cassel <niklas.cassel@linaro.org>
Signed-off-by: Niklas Cassel <niklas.cassel@linaro.org>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
---
 arch/arm64/boot/dts/qcom/qcs404.dtsi | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi
index e8fd26633d57..32f2f51bbf7f 100644
--- a/arch/arm64/boot/dts/qcom/qcs404.dtsi
+++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi
@@ -479,6 +479,27 @@
 			status = "okay";
 		};
 
+		ethernet: ethernet@7a80000 {
+			compatible = "qcom,qcs404-ethqos";
+			reg = <0x07a80000 0x10000>,
+				<0x07a96000 0x100>;
+			reg-names = "stmmaceth", "rgmii";
+			clock-names = "stmmaceth", "pclk", "ptp_ref", "rgmii";
+			clocks = <&gcc GCC_ETH_AXI_CLK>,
+				<&gcc GCC_ETH_SLAVE_AHB_CLK>,
+				<&gcc GCC_ETH_PTP_CLK>,
+				<&gcc GCC_ETH_RGMII_CLK>;
+			interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
+			interrupt-names = "macirq", "eth_lpi";
+
+			snps,tso;
+			rx-fifo-depth = <4096>;
+			tx-fifo-depth = <4096>;
+
+			status = "disabled";
+		};
+
 		wifi: wifi@a000000 {
 			compatible = "qcom,wcn3990-wifi";
 			reg = <0xa000000 0x800000>;
-- 
2.20.1

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

* [PATCH 2/6] arm64: dts: qcom: qcs404: Enable ethernet for EVB-4000
  2019-03-24 16:32 [PATCH 0/6] arm64: dts: qcom: qcs404: ethernet and other updates Vinod Koul
  2019-03-24 16:32 ` [PATCH 1/6] arm64: dts: qcom: qcs404: Add Ethernet node Vinod Koul
@ 2019-03-24 16:32 ` Vinod Koul
  2019-03-24 16:32 ` [PATCH 3/6] arm64: dts: qcom: qcs404: Fix voltages for s5 and l3 Vinod Koul
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 11+ messages in thread
From: Vinod Koul @ 2019-03-24 16:32 UTC (permalink / raw)
  To: Andy Gross
  Cc: linux-arm-msm, Bjorn Andersson, Vinod Koul, David Brown,
	Rob Herring, Mark Rutland, devicetree, Niklas Cassel

EVB-4000 comes with ethernet so enable it and add pinctrl bindings.

Co-developed-by: Niklas Cassel <niklas.cassel@linaro.org>
Signed-off-by: Niklas Cassel <niklas.cassel@linaro.org>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
---
 arch/arm64/boot/dts/qcom/qcs404-evb-4000.dts | 82 ++++++++++++++++++++
 1 file changed, 82 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/qcs404-evb-4000.dts b/arch/arm64/boot/dts/qcom/qcs404-evb-4000.dts
index 11269ad3de0d..8234cff414de 100644
--- a/arch/arm64/boot/dts/qcom/qcs404-evb-4000.dts
+++ b/arch/arm64/boot/dts/qcom/qcs404-evb-4000.dts
@@ -3,9 +3,91 @@
 
 /dts-v1/;
 
+#include <dt-bindings/gpio/gpio.h>
 #include "qcs404-evb.dtsi"
 
 / {
 	model = "Qualcomm Technologies, Inc. QCS404 EVB 4000";
 	compatible = "qcom,qcs404-evb";
 };
+
+&ethernet {
+	status = "ok";
+
+	snps,reset-gpio = <&tlmm 60 GPIO_ACTIVE_LOW>;
+	snps,reset-active-low;
+	snps,reset-delays-us = <0 10000 10000>;
+
+	pinctrl-names = "default";
+	pinctrl-0 = <&ethernet_defaults>;
+
+	phy-handle = <&phy1>;
+	phy-mode = "rgmii";
+	mdio {
+		#address-cells = <0x1>;
+		#size-cells = <0x0>;
+		compatible = "snps,dwmac-mdio";
+		phy1: phy@4 {
+			compatible = "ethernet-phy-ieee802.3-c22";
+			device_type = "ethernet-phy";
+			reg = <0x4>;
+		};
+	};
+};
+
+&tlmm {
+	ethernet_defaults: ethernet-defaults {
+		int {
+			pins = "gpio61";
+			function = "rgmii_int";
+			bias-disable;
+			drive-strength = <2>;
+		};
+		mdc {
+			pins = "gpio76";
+			function = "rgmii_mdc";
+			bias-pull-up;
+		};
+		mdio {
+			pins = "gpio75";
+			function = "rgmii_mdio";
+			bias-pull-up;
+		};
+		tx {
+			pins = "gpio67", "gpio66", "gpio65", "gpio64";
+			function = "rgmii_tx";
+			bias-pull-up;
+			drive-strength = <16>;
+		};
+		rx {
+			pins = "gpio73", "gpio72", "gpio71", "gpio70";
+			function = "rgmii_rx";
+			bias-disable;
+			drive-strength = <2>;
+		};
+		tx-ctl {
+			pins = "gpio68";
+			function = "rgmii_ctl";
+			bias-pull-up;
+			drive-strength = <16>;
+		};
+		rx-ctl {
+			pins = "gpio74";
+			function = "rgmii_ctl";
+			bias-disable;
+			drive-strength = <2>;
+		};
+		tx-ck {
+			pins = "gpio63";
+			function = "rgmii_ck";
+			bias-pull-up;
+			drive-strength = <16>;
+		};
+		rx-ck {
+			pins = "gpio69";
+			function = "rgmii_ck";
+			bias-disable;
+			drive-strength = <2>;
+		};
+	};
+};
-- 
2.20.1

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

* [PATCH 3/6] arm64: dts: qcom: qcs404: Fix voltages for s5 and l3
  2019-03-24 16:32 [PATCH 0/6] arm64: dts: qcom: qcs404: ethernet and other updates Vinod Koul
  2019-03-24 16:32 ` [PATCH 1/6] arm64: dts: qcom: qcs404: Add Ethernet node Vinod Koul
  2019-03-24 16:32 ` [PATCH 2/6] arm64: dts: qcom: qcs404: Enable ethernet for EVB-4000 Vinod Koul
@ 2019-03-24 16:32 ` Vinod Koul
  2019-03-24 16:32 ` [PATCH 4/6] arm64: dts: qcom: qcs404: Enable blsp1_uart3 for qcs404-evb Vinod Koul
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 11+ messages in thread
From: Vinod Koul @ 2019-03-24 16:32 UTC (permalink / raw)
  To: Andy Gross
  Cc: linux-arm-msm, Bjorn Andersson, David Brown, Rob Herring,
	Mark Rutland, devicetree, Khasim Syed Mohammed, Vinod Koul

From: Bjorn Andersson <bjorn.andersson@linaro.org>

PMS405 S5 was upstreamed without a voltage and PMS405 L3 is outside the
acceptable range, causing PCIe to fail. Fix these.

Signed-off-by: Bjorn Andersson <bjorn.andersson@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 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi
index 50b3589c7f15..323f9633084b 100644
--- a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi
+++ b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi
@@ -56,8 +56,8 @@
 		};
 
 		vreg_s5_1p35: s5 {
-			regulator-min-microvolt = <>;
-			regulator-max-microvolt = <>;
+			regulator-min-microvolt = <1352000>;
+			regulator-max-microvolt = <1352000>;
 		};
 
 		vreg_l1_1p3: l1 {
@@ -71,7 +71,7 @@
 		};
 
 		vreg_l3_1p05: l3 {
-			regulator-min-microvolt = <976000>;
+			regulator-min-microvolt = <1050000>;
 			regulator-max-microvolt = <1160000>;
 		};
 
-- 
2.20.1

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

* [PATCH 4/6] arm64: dts: qcom: qcs404: Enable blsp1_uart3 for qcs404-evb
  2019-03-24 16:32 [PATCH 0/6] arm64: dts: qcom: qcs404: ethernet and other updates Vinod Koul
                   ` (2 preceding siblings ...)
  2019-03-24 16:32 ` [PATCH 3/6] arm64: dts: qcom: qcs404: Fix voltages for s5 and l3 Vinod Koul
@ 2019-03-24 16:32 ` Vinod Koul
  2019-03-24 16:55   ` Bjorn Andersson
  2019-03-24 16:32 ` [PATCH 5/6] arm64: dts: qcom: pms405: add spmi regulators Vinod Koul
                   ` (2 subsequent siblings)
  6 siblings, 1 reply; 11+ messages in thread
From: Vinod Koul @ 2019-03-24 16:32 UTC (permalink / raw)
  To: Andy Gross
  Cc: linux-arm-msm, Bjorn Andersson, Shawn Guo, David Brown,
	Rob Herring, Mark Rutland, devicetree, Abhinav Asati, Vinod Koul

From: Shawn Guo <shawn.guo@linaro.org>

It defines pinctrl settings for blsp1_uart3 in board level dts and
enable the device by toggling 'status'.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Abhinav Asati <asatiabhi@codeaurora.org>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
---
 arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi
index 323f9633084b..d4fadeaa0bbc 100644
--- a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi
+++ b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi
@@ -7,6 +7,7 @@
 / {
 	aliases {
 		serial0 = &blsp1_uart2;
+		serial1 = &blsp1_uart3;
 	};
 
 	chosen {
@@ -137,6 +138,11 @@
 };
 
 &tlmm {
+	blsp1_uart3_default: blsp1-uart3-default {
+		drive-strength = <2>;
+		bias-disable;
+	};
+
 	sdc1_on: sdc1-on {
 		clk {
 			pins = "sdc1_clk";
@@ -205,3 +211,7 @@
 		bias-disable;
 	};
 };
+
+&blsp1_uart3 {
+	status = "okay";
+};
-- 
2.20.1

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

* [PATCH 5/6] arm64: dts: qcom: pms405: add spmi regulators
  2019-03-24 16:32 [PATCH 0/6] arm64: dts: qcom: qcs404: ethernet and other updates Vinod Koul
                   ` (3 preceding siblings ...)
  2019-03-24 16:32 ` [PATCH 4/6] arm64: dts: qcom: qcs404: Enable blsp1_uart3 for qcs404-evb Vinod Koul
@ 2019-03-24 16:32 ` Vinod Koul
  2019-03-24 16:57   ` Bjorn Andersson
  2019-03-24 16:32 ` [PATCH 6/6] arm64: dts: qcom: qcs404: Remove default setting of controlled-remotely for BAM DMA Vinod Koul
  2019-03-24 17:01 ` [PATCH 0/6] arm64: dts: qcom: qcs404: ethernet and other updates Bjorn Andersson
  6 siblings, 1 reply; 11+ messages in thread
From: Vinod Koul @ 2019-03-24 16:32 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.

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 | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/pms405.dtsi b/arch/arm64/boot/dts/qcom/pms405.dtsi
index 1bb836d1e8aa..8da4dee1db9b 100644
--- a/arch/arm64/boot/dts/qcom/pms405.dtsi
+++ b/arch/arm64/boot/dts/qcom/pms405.dtsi
@@ -131,4 +131,24 @@
 			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>;
+
+		regulators {
+			compatible = "qcom,pms405-regulators";
+			vdd_s3-supply = <&pms405_s3>;
+
+			pms405_s3: s3 {
+				regulator-always-on;
+				regulator-boot-on;
+				regulator-name = "vdd_cpu";
+				regulator-min-microvolt = <1048000>;
+				regulator-max-microvolt = <1352000>;
+			};
+		};
+	};
 };
-- 
2.20.1

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

* [PATCH 6/6] arm64: dts: qcom: qcs404: Remove default setting of controlled-remotely for BAM DMA
  2019-03-24 16:32 [PATCH 0/6] arm64: dts: qcom: qcs404: ethernet and other updates Vinod Koul
                   ` (4 preceding siblings ...)
  2019-03-24 16:32 ` [PATCH 5/6] arm64: dts: qcom: pms405: add spmi regulators Vinod Koul
@ 2019-03-24 16:32 ` Vinod Koul
  2019-03-24 17:01 ` [PATCH 0/6] arm64: dts: qcom: qcs404: ethernet and other updates Bjorn Andersson
  6 siblings, 0 replies; 11+ messages in thread
From: Vinod Koul @ 2019-03-24 16:32 UTC (permalink / raw)
  To: Andy Gross
  Cc: linux-arm-msm, Bjorn Andersson, Khasim Syed Mohammed,
	David Brown, Rob Herring, Mark Rutland, devicetree,
	Srinivas Kandagatla, Vinod Koul

From: Khasim Syed Mohammed <khasim.mohammed@linaro.org>

The property controlled-remotely should not be set by default
for qcs-404 device, it should be set based on the secure boot
options (TZ or ATF) preferred by the platform. Hence, the
controlled-remotely property is moved to platform specific
dts files.

Signed-off-by: Khasim Syed Mohammed <khasim.mohammed@linaro.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
---
 arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 8 ++++++++
 arch/arm64/boot/dts/qcom/qcs404.dtsi     | 2 --
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi
index d4fadeaa0bbc..b04e38ae163f 100644
--- a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi
+++ b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi
@@ -215,3 +215,11 @@
 &blsp1_uart3 {
 	status = "okay";
 };
+
+&blsp1_dma {
+	qcom,controlled-remotely;
+};
+
+&blsp2_dma {
+	qcom,controlled-remotely;
+};
diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi
index 32f2f51bbf7f..ffedf9640af7 100644
--- a/arch/arm64/boot/dts/qcom/qcs404.dtsi
+++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi
@@ -435,7 +435,6 @@
 			clocks = <&gcc GCC_BLSP1_AHB_CLK>;
 			clock-names = "bam_clk";
 			#dma-cells = <1>;
-			qcom,controlled-remotely = <1>;
 			qcom,ee = <0>;
 			status = "okay";
 		};
@@ -680,7 +679,6 @@
 			clocks = <&gcc GCC_BLSP2_AHB_CLK>;
 			clock-names = "bam_clk";
 			#dma-cells = <1>;
-			qcom,controlled-remotely = <1>;
 			qcom,ee = <0>;
 			status = "disabled";
 		};
-- 
2.20.1

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

* Re: [PATCH 4/6] arm64: dts: qcom: qcs404: Enable blsp1_uart3 for qcs404-evb
  2019-03-24 16:32 ` [PATCH 4/6] arm64: dts: qcom: qcs404: Enable blsp1_uart3 for qcs404-evb Vinod Koul
@ 2019-03-24 16:55   ` Bjorn Andersson
  2019-03-25  8:28     ` Vinod Koul
  0 siblings, 1 reply; 11+ messages in thread
From: Bjorn Andersson @ 2019-03-24 16:55 UTC (permalink / raw)
  To: Vinod Koul
  Cc: Andy Gross, linux-arm-msm, Shawn Guo, David Brown, Rob Herring,
	Mark Rutland, devicetree, Abhinav Asati

On Sun 24 Mar 09:32 PDT 2019, Vinod Koul wrote:

> From: Shawn Guo <shawn.guo@linaro.org>
> 
> It defines pinctrl settings for blsp1_uart3 in board level dts and
> enable the device by toggling 'status'.
> 
> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
> Signed-off-by: Abhinav Asati <asatiabhi@codeaurora.org>
> Signed-off-by: Vinod Koul <vkoul@kernel.org>

How about a review of this patch instead?

https://lore.kernel.org/lkml/20190305070823.11845-1-bjorn.andersson@linaro.org/

Regards,
Bjorn

> ---
>  arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 10 ++++++++++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi
> index 323f9633084b..d4fadeaa0bbc 100644
> --- a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi
> +++ b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi
> @@ -7,6 +7,7 @@
>  / {
>  	aliases {
>  		serial0 = &blsp1_uart2;
> +		serial1 = &blsp1_uart3;
>  	};
>  
>  	chosen {
> @@ -137,6 +138,11 @@
>  };
>  
>  &tlmm {
> +	blsp1_uart3_default: blsp1-uart3-default {
> +		drive-strength = <2>;
> +		bias-disable;
> +	};
> +
>  	sdc1_on: sdc1-on {
>  		clk {
>  			pins = "sdc1_clk";
> @@ -205,3 +211,7 @@
>  		bias-disable;
>  	};
>  };
> +
> +&blsp1_uart3 {
> +	status = "okay";
> +};
> -- 
> 2.20.1
> 

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

* Re: [PATCH 5/6] arm64: dts: qcom: pms405: add spmi regulators
  2019-03-24 16:32 ` [PATCH 5/6] arm64: dts: qcom: pms405: add spmi regulators Vinod Koul
@ 2019-03-24 16:57   ` Bjorn Andersson
  0 siblings, 0 replies; 11+ messages in thread
From: Bjorn Andersson @ 2019-03-24 16:57 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 Sun 24 Mar 09:32 PDT 2019, Vinod Koul wrote:

> From: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
> 
> The PMS405 sports 5 SMPS and 13 LDO regulators.
> 
> 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 | 20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/pms405.dtsi b/arch/arm64/boot/dts/qcom/pms405.dtsi
> index 1bb836d1e8aa..8da4dee1db9b 100644
> --- a/arch/arm64/boot/dts/qcom/pms405.dtsi
> +++ b/arch/arm64/boot/dts/qcom/pms405.dtsi
> @@ -131,4 +131,24 @@
>  			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>;
> +
> +		regulators {

Label the regulators node and keep the compatible here.  s3-supply and
pms405_s3 are board specific, so define these in the qcs404-evb.dtsi
instead.

Also double check the EVB schematics for the name of the line coming out
of S3; I would assume vdd_apc or something like that.

Regards,
Bjorn

> +			compatible = "qcom,pms405-regulators";
> +			vdd_s3-supply = <&pms405_s3>;
> +
> +			pms405_s3: s3 {
> +				regulator-always-on;
> +				regulator-boot-on;
> +				regulator-name = "vdd_cpu";
> +				regulator-min-microvolt = <1048000>;
> +				regulator-max-microvolt = <1352000>;
> +			};
> +		};
> +	};
>  };
> -- 
> 2.20.1
> 

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

* Re: [PATCH 0/6] arm64: dts: qcom: qcs404: ethernet and other updates
  2019-03-24 16:32 [PATCH 0/6] arm64: dts: qcom: qcs404: ethernet and other updates Vinod Koul
                   ` (5 preceding siblings ...)
  2019-03-24 16:32 ` [PATCH 6/6] arm64: dts: qcom: qcs404: Remove default setting of controlled-remotely for BAM DMA Vinod Koul
@ 2019-03-24 17:01 ` Bjorn Andersson
  6 siblings, 0 replies; 11+ messages in thread
From: Bjorn Andersson @ 2019-03-24 17:01 UTC (permalink / raw)
  To: Vinod Koul
  Cc: Andy Gross, linux-arm-msm, David Brown, Rob Herring,
	Mark Rutland, devicetree

On Sun 24 Mar 09:32 PDT 2019, Vinod Koul wrote:

> This series adds ethernet nodes, fixes DMA settings, fixes regulator
> voltages and lastly adds spmi regulators for QCS404 platform
> 

Thanks Vinod, happy to see these on the list.

I picked up patches 1, 2, 3 and 6.

Regards,
Bjorn

> Bjorn Andersson (1):
>   arm64: dts: qcom: qcs404: Fix voltages for s5 and l3
> 
> Jorge Ramirez-Ortiz (1):
>   arm64: dts: qcom: pms405: add spmi regulators
> 
> Khasim Syed Mohammed (1):
>   arm64: dts: qcom: qcs404: Remove default setting of
>     controlled-remotely for BAM DMA
> 
> Shawn Guo (1):
>   arm64: dts: qcom: qcs404: Enable blsp1_uart3 for qcs404-evb
> 
> Vinod Koul (2):
>   arm64: dts: qcom: qcs404: Add Ethernet node
>   arm64: dts: qcom: qcs404: Enable ethernet for EVB-4000
> 
>  arch/arm64/boot/dts/qcom/pms405.dtsi         | 20 +++++
>  arch/arm64/boot/dts/qcom/qcs404-evb-4000.dts | 82 ++++++++++++++++++++
>  arch/arm64/boot/dts/qcom/qcs404-evb.dtsi     | 24 +++++-
>  arch/arm64/boot/dts/qcom/qcs404.dtsi         | 23 +++++-
>  4 files changed, 144 insertions(+), 5 deletions(-)
> 
> -- 
> 2.20.1
> 

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

* Re: [PATCH 4/6] arm64: dts: qcom: qcs404: Enable blsp1_uart3 for qcs404-evb
  2019-03-24 16:55   ` Bjorn Andersson
@ 2019-03-25  8:28     ` Vinod Koul
  0 siblings, 0 replies; 11+ messages in thread
From: Vinod Koul @ 2019-03-25  8:28 UTC (permalink / raw)
  To: Bjorn Andersson
  Cc: Andy Gross, linux-arm-msm, Shawn Guo, David Brown, Rob Herring,
	Mark Rutland, devicetree, Abhinav Asati

On 24-03-19, 09:55, Bjorn Andersson wrote:
> On Sun 24 Mar 09:32 PDT 2019, Vinod Koul wrote:
> 
> > From: Shawn Guo <shawn.guo@linaro.org>
> > 
> > It defines pinctrl settings for blsp1_uart3 in board level dts and
> > enable the device by toggling 'status'.
> > 
> > Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
> > Signed-off-by: Abhinav Asati <asatiabhi@codeaurora.org>
> > Signed-off-by: Vinod Koul <vkoul@kernel.org>
> 
> How about a review of this patch instead?
> 
> https://lore.kernel.org/lkml/20190305070823.11845-1-bjorn.andersson@linaro.org/

Done lgtm..

-- 
~Vinod

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

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

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-24 16:32 [PATCH 0/6] arm64: dts: qcom: qcs404: ethernet and other updates Vinod Koul
2019-03-24 16:32 ` [PATCH 1/6] arm64: dts: qcom: qcs404: Add Ethernet node Vinod Koul
2019-03-24 16:32 ` [PATCH 2/6] arm64: dts: qcom: qcs404: Enable ethernet for EVB-4000 Vinod Koul
2019-03-24 16:32 ` [PATCH 3/6] arm64: dts: qcom: qcs404: Fix voltages for s5 and l3 Vinod Koul
2019-03-24 16:32 ` [PATCH 4/6] arm64: dts: qcom: qcs404: Enable blsp1_uart3 for qcs404-evb Vinod Koul
2019-03-24 16:55   ` Bjorn Andersson
2019-03-25  8:28     ` Vinod Koul
2019-03-24 16:32 ` [PATCH 5/6] arm64: dts: qcom: pms405: add spmi regulators Vinod Koul
2019-03-24 16:57   ` Bjorn Andersson
2019-03-24 16:32 ` [PATCH 6/6] arm64: dts: qcom: qcs404: Remove default setting of controlled-remotely for BAM DMA Vinod Koul
2019-03-24 17:01 ` [PATCH 0/6] arm64: dts: qcom: qcs404: ethernet and other updates Bjorn Andersson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.