All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] DB820c DTS dump
@ 2017-07-25  5:47 ` Bjorn Andersson
  0 siblings, 0 replies; 23+ messages in thread
From: Bjorn Andersson @ 2017-07-25  5:47 UTC (permalink / raw)
  To: Andy Gross, David Brown
  Cc: linux-arm-msm, linux-soc, linux-arm-kernel, linux-kernel

A dump of DTS patches for MSM8996 and DB820c, found in the Linaro landing team
tree.

Bjorn Andersson (3):
  ARM64: dts: qcom: Add RPM glink nodes to msm8996
  arm64: dts: msm8996: Add modem smp2p nodes
  arm64: dts: qcom: msm8996: Specify smd-edge for ADSP

Rajendra Nayak (1):
  ARM64: dts: qcom: db820c: Add pm8994 regulator node

Vivek Gautam (1):
  arm64: dts: msm8996: Add QFPROM node

 arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi | 148 +++++++++++++++++++++++++++
 arch/arm64/boot/dts/qcom/msm8996.dtsi        | 122 ++++++++++++++++++++++
 2 files changed, 270 insertions(+)

-- 
2.12.0

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

* [PATCH 0/5] DB820c DTS dump
@ 2017-07-25  5:47 ` Bjorn Andersson
  0 siblings, 0 replies; 23+ messages in thread
From: Bjorn Andersson @ 2017-07-25  5:47 UTC (permalink / raw)
  To: linux-arm-kernel

A dump of DTS patches for MSM8996 and DB820c, found in the Linaro landing team
tree.

Bjorn Andersson (3):
  ARM64: dts: qcom: Add RPM glink nodes to msm8996
  arm64: dts: msm8996: Add modem smp2p nodes
  arm64: dts: qcom: msm8996: Specify smd-edge for ADSP

Rajendra Nayak (1):
  ARM64: dts: qcom: db820c: Add pm8994 regulator node

Vivek Gautam (1):
  arm64: dts: msm8996: Add QFPROM node

 arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi | 148 +++++++++++++++++++++++++++
 arch/arm64/boot/dts/qcom/msm8996.dtsi        | 122 ++++++++++++++++++++++
 2 files changed, 270 insertions(+)

-- 
2.12.0

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

* [PATCH 1/5] arm64: dts: qcom: Add RPM glink nodes to msm8996
  2017-07-25  5:47 ` Bjorn Andersson
@ 2017-07-25  5:47   ` Bjorn Andersson
  -1 siblings, 0 replies; 23+ messages in thread
From: Bjorn Andersson @ 2017-07-25  5:47 UTC (permalink / raw)
  To: Andy Gross, David Brown
  Cc: linux-arm-msm, linux-soc, linux-arm-kernel, linux-kernel

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
---
 arch/arm64/boot/dts/qcom/msm8996.dtsi | 78 +++++++++++++++++++++++++++++++++++
 1 file changed, 78 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi
index 8f085716e258..8ebef05e1750 100644
--- a/arch/arm64/boot/dts/qcom/msm8996.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi
@@ -276,12 +276,83 @@
 		hwlocks = <&tcsr_mutex 3>;
 	};
 
+	rpm-glink {
+		compatible = "qcom,glink-rpm";
+
+		interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
+
+		qcom,rpm-msg-ram = <&rpm_msg_ram>;
+
+		mboxes = <&apcs_glb 0>;
+
+		rpm_requests {
+			compatible = "qcom,rpm-msm8996";
+			qcom,glink-channels = "rpm_requests";
+
+			pm8994-regulators {
+				compatible = "qcom,rpm-pm8994-regulators";
+
+				pm8994_s1: s1 {};
+				pm8994_s2: s2 {};
+				pm8994_s3: s3 {};
+				pm8994_s4: s4 {};
+				pm8994_s5: s5 {};
+				pm8994_s6: s6 {};
+				pm8994_s7: s7 {};
+				pm8994_s8: s8 {};
+				pm8994_s9: s9 {};
+				pm8994_s10: s10 {};
+				pm8994_s11: s11 {};
+				pm8994_s12: s12 {};
+
+				pm8994_l1: l1 {};
+				pm8994_l2: l2 {};
+				pm8994_l3: l3 {};
+				pm8994_l4: l4 {};
+				pm8994_l5: l5 {};
+				pm8994_l6: l6 {};
+				pm8994_l7: l7 {};
+				pm8994_l8: l8 {};
+				pm8994_l9: l9 {};
+				pm8994_l10: l10 {};
+				pm8994_l11: l11 {};
+				pm8994_l12: l12 {};
+				pm8994_l13: l13 {};
+				pm8994_l14: l14 {};
+				pm8994_l15: l15 {};
+				pm8994_l16: l16 {};
+				pm8994_l17: l17 {};
+				pm8994_l18: l18 {};
+				pm8994_l19: l19 {};
+				pm8994_l20: l20 {};
+				pm8994_l21: l21 {};
+				pm8994_l22: l22 {};
+				pm8994_l23: l23 {};
+				pm8994_l24: l24 {};
+				pm8994_l25: l25 {};
+				pm8994_l26: l26 {};
+				pm8994_l27: l27 {};
+				pm8994_l28: l28 {};
+				pm8994_l29: l29 {};
+				pm8994_l30: l30 {};
+				pm8994_l31: l31 {};
+				pm8994_l32: l32 {};
+			};
+
+		};
+	};
+
 	soc: soc {
 		#address-cells = <1>;
 		#size-cells = <1>;
 		ranges = <0 0 0 0xffffffff>;
 		compatible = "simple-bus";
 
+		rpm_msg_ram: memory@68000 {
+			compatible = "qcom,rpm-msg-ram";
+			reg = <0x68000 0x6000>;
+		};
+
 		tcsr_mutex_regs: syscon@740000 {
 			compatible = "syscon";
 			reg = <0x740000 0x20000>;
@@ -303,6 +374,13 @@
 			reg = <0x9820000 0x1000>;
 		};
 
+		apcs_glb: mailbox@9820000 {
+			compatible = "qcom,msm8996-apcs-hmss-global";
+			reg = <0x9820000 0x1000>;
+
+			#mbox-cells = <1>;
+		};
+
 		gcc: clock-controller@300000 {
 			compatible = "qcom,gcc-msm8996";
 			#clock-cells = <1>;
-- 
2.12.0

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

* [PATCH 1/5] arm64: dts: qcom: Add RPM glink nodes to msm8996
@ 2017-07-25  5:47   ` Bjorn Andersson
  0 siblings, 0 replies; 23+ messages in thread
From: Bjorn Andersson @ 2017-07-25  5:47 UTC (permalink / raw)
  To: linux-arm-kernel

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
---
 arch/arm64/boot/dts/qcom/msm8996.dtsi | 78 +++++++++++++++++++++++++++++++++++
 1 file changed, 78 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi
index 8f085716e258..8ebef05e1750 100644
--- a/arch/arm64/boot/dts/qcom/msm8996.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi
@@ -276,12 +276,83 @@
 		hwlocks = <&tcsr_mutex 3>;
 	};
 
+	rpm-glink {
+		compatible = "qcom,glink-rpm";
+
+		interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
+
+		qcom,rpm-msg-ram = <&rpm_msg_ram>;
+
+		mboxes = <&apcs_glb 0>;
+
+		rpm_requests {
+			compatible = "qcom,rpm-msm8996";
+			qcom,glink-channels = "rpm_requests";
+
+			pm8994-regulators {
+				compatible = "qcom,rpm-pm8994-regulators";
+
+				pm8994_s1: s1 {};
+				pm8994_s2: s2 {};
+				pm8994_s3: s3 {};
+				pm8994_s4: s4 {};
+				pm8994_s5: s5 {};
+				pm8994_s6: s6 {};
+				pm8994_s7: s7 {};
+				pm8994_s8: s8 {};
+				pm8994_s9: s9 {};
+				pm8994_s10: s10 {};
+				pm8994_s11: s11 {};
+				pm8994_s12: s12 {};
+
+				pm8994_l1: l1 {};
+				pm8994_l2: l2 {};
+				pm8994_l3: l3 {};
+				pm8994_l4: l4 {};
+				pm8994_l5: l5 {};
+				pm8994_l6: l6 {};
+				pm8994_l7: l7 {};
+				pm8994_l8: l8 {};
+				pm8994_l9: l9 {};
+				pm8994_l10: l10 {};
+				pm8994_l11: l11 {};
+				pm8994_l12: l12 {};
+				pm8994_l13: l13 {};
+				pm8994_l14: l14 {};
+				pm8994_l15: l15 {};
+				pm8994_l16: l16 {};
+				pm8994_l17: l17 {};
+				pm8994_l18: l18 {};
+				pm8994_l19: l19 {};
+				pm8994_l20: l20 {};
+				pm8994_l21: l21 {};
+				pm8994_l22: l22 {};
+				pm8994_l23: l23 {};
+				pm8994_l24: l24 {};
+				pm8994_l25: l25 {};
+				pm8994_l26: l26 {};
+				pm8994_l27: l27 {};
+				pm8994_l28: l28 {};
+				pm8994_l29: l29 {};
+				pm8994_l30: l30 {};
+				pm8994_l31: l31 {};
+				pm8994_l32: l32 {};
+			};
+
+		};
+	};
+
 	soc: soc {
 		#address-cells = <1>;
 		#size-cells = <1>;
 		ranges = <0 0 0 0xffffffff>;
 		compatible = "simple-bus";
 
+		rpm_msg_ram: memory at 68000 {
+			compatible = "qcom,rpm-msg-ram";
+			reg = <0x68000 0x6000>;
+		};
+
 		tcsr_mutex_regs: syscon at 740000 {
 			compatible = "syscon";
 			reg = <0x740000 0x20000>;
@@ -303,6 +374,13 @@
 			reg = <0x9820000 0x1000>;
 		};
 
+		apcs_glb: mailbox at 9820000 {
+			compatible = "qcom,msm8996-apcs-hmss-global";
+			reg = <0x9820000 0x1000>;
+
+			#mbox-cells = <1>;
+		};
+
 		gcc: clock-controller at 300000 {
 			compatible = "qcom,gcc-msm8996";
 			#clock-cells = <1>;
-- 
2.12.0

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

* [PATCH 2/5] arm64: dts: qcom: db820c: Add pm8994 regulator node
  2017-07-25  5:47 ` Bjorn Andersson
@ 2017-07-25  5:47   ` Bjorn Andersson
  -1 siblings, 0 replies; 23+ messages in thread
From: Bjorn Andersson @ 2017-07-25  5:47 UTC (permalink / raw)
  To: Andy Gross, David Brown
  Cc: linux-arm-msm, linux-soc, linux-arm-kernel, linux-kernel, Rajendra Nayak

From: Rajendra Nayak <rnayak@codeaurora.org>

Add PM8994 RPM regulators with their min/max voltages to DB820c.

Signed-off-by: Rajendra Nayak <rnayak@codeaurora.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
---
 arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi | 148 +++++++++++++++++++++++++++
 1 file changed, 148 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi
index d2196fc6d739..b4817d6c0d50 100644
--- a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi
+++ b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi
@@ -106,4 +106,152 @@
 			gpios = <&pm8994_gpios 2 GPIO_ACTIVE_LOW>;
 		};
 	};
+
+	rpm-glink {
+		rpm_requests {
+			pm8994-regulators {
+				vdd_l1-supply = <&pm8994_s3>;
+				vdd_l2_l26_l28-supply = <&pm8994_s3>;
+				vdd_l3_l11-supply = <&pm8994_s3>;
+				vdd_l4_l27_l31-supply = <&pm8994_s3>;
+				vdd_l5_l7-supply = <&pm8994_s5>;
+				vdd_l14_l15-supply = <&pm8994_s5>;
+				vdd_l20_l21-supply = <&pm8994_s5>;
+				vdd_l25-supply = <&pm8994_s3>;
+
+				s3 {
+					regulator-min-microvolt = <1300000>;
+					regulator-max-microvolt = <1300000>;
+				};
+				s4 {
+					regulator-min-microvolt = <1800000>;
+					regulator-max-microvolt = <1800000>;
+				};
+				s5 {
+					regulator-min-microvolt = <2150000>;
+					regulator-max-microvolt = <2150000>;
+				};
+				s7 {
+					regulator-min-microvolt = <800000>;
+					regulator-max-microvolt = <800000>;
+				};
+
+				l1 {
+					regulator-min-microvolt = <1000000>;
+					regulator-max-microvolt = <1000000>;
+				};
+				l2 {
+					regulator-min-microvolt = <1250000>;
+					regulator-max-microvolt = <1250000>;
+				};
+				l3 {
+					regulator-min-microvolt = <850000>;
+					regulator-max-microvolt = <850000>;
+				};
+				l4 {
+					regulator-min-microvolt = <1225000>;
+					regulator-max-microvolt = <1225000>;
+				};
+				l6 {
+					regulator-min-microvolt = <1200000>;
+					regulator-max-microvolt = <1200000>;
+				};
+				l8 {
+					regulator-min-microvolt = <1800000>;
+					regulator-max-microvolt = <1800000>;
+				};
+				l9 {
+					regulator-min-microvolt = <1800000>;
+					regulator-max-microvolt = <1800000>;
+				};
+				l10 {
+					regulator-min-microvolt = <1800000>;
+					regulator-max-microvolt = <1800000>;
+				};
+				l11 {
+					regulator-min-microvolt = <1150000>;
+					regulator-max-microvolt = <1150000>;
+				};
+				l12 {
+					regulator-min-microvolt = <1800000>;
+					regulator-max-microvolt = <1800000>;
+				};
+				l13 {
+					regulator-min-microvolt = <1800000>;
+					regulator-max-microvolt = <2950000>;
+				};
+				l14 {
+					regulator-min-microvolt = <1800000>;
+					regulator-max-microvolt = <1800000>;
+				};
+				l15 {
+					regulator-min-microvolt = <1800000>;
+					regulator-max-microvolt = <1800000>;
+				};
+				l16 {
+					regulator-min-microvolt = <2700000>;
+					regulator-max-microvolt = <2700000>;
+				};
+				l17 {
+					regulator-min-microvolt = <2500000>;
+					regulator-max-microvolt = <2500000>;
+				};
+				l18 {
+					regulator-min-microvolt = <2700000>;
+					regulator-max-microvolt = <2900000>;
+				};
+				l19 {
+					regulator-min-microvolt = <3000000>;
+					regulator-max-microvolt = <3000000>;
+				};
+				l20 {
+					regulator-min-microvolt = <2950000>;
+					regulator-max-microvolt = <2950000>;
+					regulator-allow-set-load;
+				};
+				l21 {
+					regulator-min-microvolt = <2950000>;
+					regulator-max-microvolt = <2950000>;
+				};
+				l22 {
+					regulator-min-microvolt = <3300000>;
+					regulator-max-microvolt = <3300000>;
+				};
+				l23 {
+					regulator-min-microvolt = <2800000>;
+					regulator-max-microvolt = <2800000>;
+				};
+				l24 {
+					regulator-min-microvolt = <3075000>;
+					regulator-max-microvolt = <3075000>;
+				};
+				l25 {
+					regulator-min-microvolt = <1200000>;
+					regulator-max-microvolt = <1200000>;
+					regulator-allow-set-load;
+				};
+				l27 {
+					regulator-min-microvolt = <1000000>;
+					regulator-max-microvolt = <1000000>;
+				};
+				l28 {
+					regulator-min-microvolt = <925000>;
+					regulator-max-microvolt = <925000>;
+					regulator-allow-set-load;
+				};
+				l29 {
+					regulator-min-microvolt = <2800000>;
+					regulator-max-microvolt = <2800000>;
+				};
+				l30 {
+					regulator-min-microvolt = <1800000>;
+					regulator-max-microvolt = <1800000>;
+				};
+				l32 {
+					regulator-min-microvolt = <1800000>;
+					regulator-max-microvolt = <1800000>;
+				};
+			};
+		};
+	};
 };
-- 
2.12.0

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

* [PATCH 2/5] arm64: dts: qcom: db820c: Add pm8994 regulator node
@ 2017-07-25  5:47   ` Bjorn Andersson
  0 siblings, 0 replies; 23+ messages in thread
From: Bjorn Andersson @ 2017-07-25  5:47 UTC (permalink / raw)
  To: linux-arm-kernel

From: Rajendra Nayak <rnayak@codeaurora.org>

Add PM8994 RPM regulators with their min/max voltages to DB820c.

Signed-off-by: Rajendra Nayak <rnayak@codeaurora.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
---
 arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi | 148 +++++++++++++++++++++++++++
 1 file changed, 148 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi
index d2196fc6d739..b4817d6c0d50 100644
--- a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi
+++ b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi
@@ -106,4 +106,152 @@
 			gpios = <&pm8994_gpios 2 GPIO_ACTIVE_LOW>;
 		};
 	};
+
+	rpm-glink {
+		rpm_requests {
+			pm8994-regulators {
+				vdd_l1-supply = <&pm8994_s3>;
+				vdd_l2_l26_l28-supply = <&pm8994_s3>;
+				vdd_l3_l11-supply = <&pm8994_s3>;
+				vdd_l4_l27_l31-supply = <&pm8994_s3>;
+				vdd_l5_l7-supply = <&pm8994_s5>;
+				vdd_l14_l15-supply = <&pm8994_s5>;
+				vdd_l20_l21-supply = <&pm8994_s5>;
+				vdd_l25-supply = <&pm8994_s3>;
+
+				s3 {
+					regulator-min-microvolt = <1300000>;
+					regulator-max-microvolt = <1300000>;
+				};
+				s4 {
+					regulator-min-microvolt = <1800000>;
+					regulator-max-microvolt = <1800000>;
+				};
+				s5 {
+					regulator-min-microvolt = <2150000>;
+					regulator-max-microvolt = <2150000>;
+				};
+				s7 {
+					regulator-min-microvolt = <800000>;
+					regulator-max-microvolt = <800000>;
+				};
+
+				l1 {
+					regulator-min-microvolt = <1000000>;
+					regulator-max-microvolt = <1000000>;
+				};
+				l2 {
+					regulator-min-microvolt = <1250000>;
+					regulator-max-microvolt = <1250000>;
+				};
+				l3 {
+					regulator-min-microvolt = <850000>;
+					regulator-max-microvolt = <850000>;
+				};
+				l4 {
+					regulator-min-microvolt = <1225000>;
+					regulator-max-microvolt = <1225000>;
+				};
+				l6 {
+					regulator-min-microvolt = <1200000>;
+					regulator-max-microvolt = <1200000>;
+				};
+				l8 {
+					regulator-min-microvolt = <1800000>;
+					regulator-max-microvolt = <1800000>;
+				};
+				l9 {
+					regulator-min-microvolt = <1800000>;
+					regulator-max-microvolt = <1800000>;
+				};
+				l10 {
+					regulator-min-microvolt = <1800000>;
+					regulator-max-microvolt = <1800000>;
+				};
+				l11 {
+					regulator-min-microvolt = <1150000>;
+					regulator-max-microvolt = <1150000>;
+				};
+				l12 {
+					regulator-min-microvolt = <1800000>;
+					regulator-max-microvolt = <1800000>;
+				};
+				l13 {
+					regulator-min-microvolt = <1800000>;
+					regulator-max-microvolt = <2950000>;
+				};
+				l14 {
+					regulator-min-microvolt = <1800000>;
+					regulator-max-microvolt = <1800000>;
+				};
+				l15 {
+					regulator-min-microvolt = <1800000>;
+					regulator-max-microvolt = <1800000>;
+				};
+				l16 {
+					regulator-min-microvolt = <2700000>;
+					regulator-max-microvolt = <2700000>;
+				};
+				l17 {
+					regulator-min-microvolt = <2500000>;
+					regulator-max-microvolt = <2500000>;
+				};
+				l18 {
+					regulator-min-microvolt = <2700000>;
+					regulator-max-microvolt = <2900000>;
+				};
+				l19 {
+					regulator-min-microvolt = <3000000>;
+					regulator-max-microvolt = <3000000>;
+				};
+				l20 {
+					regulator-min-microvolt = <2950000>;
+					regulator-max-microvolt = <2950000>;
+					regulator-allow-set-load;
+				};
+				l21 {
+					regulator-min-microvolt = <2950000>;
+					regulator-max-microvolt = <2950000>;
+				};
+				l22 {
+					regulator-min-microvolt = <3300000>;
+					regulator-max-microvolt = <3300000>;
+				};
+				l23 {
+					regulator-min-microvolt = <2800000>;
+					regulator-max-microvolt = <2800000>;
+				};
+				l24 {
+					regulator-min-microvolt = <3075000>;
+					regulator-max-microvolt = <3075000>;
+				};
+				l25 {
+					regulator-min-microvolt = <1200000>;
+					regulator-max-microvolt = <1200000>;
+					regulator-allow-set-load;
+				};
+				l27 {
+					regulator-min-microvolt = <1000000>;
+					regulator-max-microvolt = <1000000>;
+				};
+				l28 {
+					regulator-min-microvolt = <925000>;
+					regulator-max-microvolt = <925000>;
+					regulator-allow-set-load;
+				};
+				l29 {
+					regulator-min-microvolt = <2800000>;
+					regulator-max-microvolt = <2800000>;
+				};
+				l30 {
+					regulator-min-microvolt = <1800000>;
+					regulator-max-microvolt = <1800000>;
+				};
+				l32 {
+					regulator-min-microvolt = <1800000>;
+					regulator-max-microvolt = <1800000>;
+				};
+			};
+		};
+	};
 };
-- 
2.12.0

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

* [PATCH 3/5] arm64: dts: msm8996: Add modem smp2p nodes
  2017-07-25  5:47 ` Bjorn Andersson
@ 2017-07-25  5:47   ` Bjorn Andersson
  -1 siblings, 0 replies; 23+ messages in thread
From: Bjorn Andersson @ 2017-07-25  5:47 UTC (permalink / raw)
  To: Andy Gross, David Brown
  Cc: linux-arm-msm, linux-soc, linux-arm-kernel, linux-kernel

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
---
 arch/arm64/boot/dts/qcom/msm8996.dtsi | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi
index 8ebef05e1750..7d909546ca24 100644
--- a/arch/arm64/boot/dts/qcom/msm8996.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi
@@ -662,6 +662,30 @@
 		};
 	};
 
+	modem-smp2p {
+		compatible = "qcom,smp2p";
+		qcom,smem = <435>, <428>;
+
+		interrupts = <0 451 IRQ_TYPE_EDGE_RISING>;
+
+		qcom,ipc = <&apcs 16 14>;
+
+		qcom,local-pid = <0>;
+		qcom,remote-pid = <1>;
+
+		modem_smp2p_out: master-kernel {
+			qcom,entry-name = "master-kernel";
+			#qcom,smem-state-cells = <1>;
+		};
+
+		modem_smp2p_in: slave-kernel {
+			qcom,entry-name = "slave-kernel";
+
+			interrupt-controller;
+			#interrupt-cells = <2>;
+		};
+	};
+
 	smp2p-slpi {
 		compatible = "qcom,smp2p";
 		qcom,smem = <481>, <430>;
-- 
2.12.0

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

* [PATCH 3/5] arm64: dts: msm8996: Add modem smp2p nodes
@ 2017-07-25  5:47   ` Bjorn Andersson
  0 siblings, 0 replies; 23+ messages in thread
From: Bjorn Andersson @ 2017-07-25  5:47 UTC (permalink / raw)
  To: linux-arm-kernel

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
---
 arch/arm64/boot/dts/qcom/msm8996.dtsi | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi
index 8ebef05e1750..7d909546ca24 100644
--- a/arch/arm64/boot/dts/qcom/msm8996.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi
@@ -662,6 +662,30 @@
 		};
 	};
 
+	modem-smp2p {
+		compatible = "qcom,smp2p";
+		qcom,smem = <435>, <428>;
+
+		interrupts = <0 451 IRQ_TYPE_EDGE_RISING>;
+
+		qcom,ipc = <&apcs 16 14>;
+
+		qcom,local-pid = <0>;
+		qcom,remote-pid = <1>;
+
+		modem_smp2p_out: master-kernel {
+			qcom,entry-name = "master-kernel";
+			#qcom,smem-state-cells = <1>;
+		};
+
+		modem_smp2p_in: slave-kernel {
+			qcom,entry-name = "slave-kernel";
+
+			interrupt-controller;
+			#interrupt-cells = <2>;
+		};
+	};
+
 	smp2p-slpi {
 		compatible = "qcom,smp2p";
 		qcom,smem = <481>, <430>;
-- 
2.12.0

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

* [PATCH 4/5] arm64: dts: qcom: msm8996: Specify smd-edge for ADSP
  2017-07-25  5:47 ` Bjorn Andersson
@ 2017-07-25  5:47   ` Bjorn Andersson
  -1 siblings, 0 replies; 23+ messages in thread
From: Bjorn Andersson @ 2017-07-25  5:47 UTC (permalink / raw)
  To: Andy Gross, David Brown
  Cc: linux-arm-msm, linux-soc, linux-arm-kernel, linux-kernel

Add the smd-edge node for the adsp, to allow SMD communication with the
ADSP.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
---
 arch/arm64/boot/dts/qcom/msm8996.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi
index 7d909546ca24..395666dcce1b 100644
--- a/arch/arm64/boot/dts/qcom/msm8996.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi
@@ -636,6 +636,15 @@
 
 		qcom,smem-states = <&adsp_smp2p_out 0>;
 		qcom,smem-state-names = "stop";
+
+		smd-edge {
+			interrupts = <0 156 IRQ_TYPE_EDGE_RISING>;
+
+			label = "lpass";
+			qcom,ipc = <&apcs 16 8>;
+			qcom,smd-edge = <1>;
+			qcom,remote-pid = <2>;
+		};
 	};
 
 	adsp-smp2p {
-- 
2.12.0

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

* [PATCH 4/5] arm64: dts: qcom: msm8996: Specify smd-edge for ADSP
@ 2017-07-25  5:47   ` Bjorn Andersson
  0 siblings, 0 replies; 23+ messages in thread
From: Bjorn Andersson @ 2017-07-25  5:47 UTC (permalink / raw)
  To: linux-arm-kernel

Add the smd-edge node for the adsp, to allow SMD communication with the
ADSP.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
---
 arch/arm64/boot/dts/qcom/msm8996.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi
index 7d909546ca24..395666dcce1b 100644
--- a/arch/arm64/boot/dts/qcom/msm8996.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi
@@ -636,6 +636,15 @@
 
 		qcom,smem-states = <&adsp_smp2p_out 0>;
 		qcom,smem-state-names = "stop";
+
+		smd-edge {
+			interrupts = <0 156 IRQ_TYPE_EDGE_RISING>;
+
+			label = "lpass";
+			qcom,ipc = <&apcs 16 8>;
+			qcom,smd-edge = <1>;
+			qcom,remote-pid = <2>;
+		};
 	};
 
 	adsp-smp2p {
-- 
2.12.0

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

* [PATCH 5/5] arm64: dts: msm8996: Add QFPROM node
  2017-07-25  5:47 ` Bjorn Andersson
@ 2017-07-25  5:47   ` Bjorn Andersson
  -1 siblings, 0 replies; 23+ messages in thread
From: Bjorn Andersson @ 2017-07-25  5:47 UTC (permalink / raw)
  To: Andy Gross, David Brown
  Cc: linux-arm-msm, linux-soc, linux-arm-kernel, linux-kernel, Vivek Gautam

From: Vivek Gautam <vivek.gautam@codeaurora.org>

Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
---
 arch/arm64/boot/dts/qcom/msm8996.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi
index 395666dcce1b..d0865d2f731e 100644
--- a/arch/arm64/boot/dts/qcom/msm8996.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi
@@ -496,6 +496,17 @@
 			status = "disabled";
 		};
 
+		qfprom: qfprom@74000 {
+			compatible = "qcom,qfprom";
+			reg = <0x00074000 0x8ff>;
+			#address-cells = <1>;
+			#size-cells = <1>;
+			qusb2p_hstx_trim: hstx_trim@24e {
+				reg = <0x24e 0x2>;
+				bits = <5 4>;
+			};
+		};
+
 		sdhc2: sdhci@74a4900 {
 			 status = "disabled";
 			 compatible = "qcom,sdhci-msm-v4";
-- 
2.12.0

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

* [PATCH 5/5] arm64: dts: msm8996: Add QFPROM node
@ 2017-07-25  5:47   ` Bjorn Andersson
  0 siblings, 0 replies; 23+ messages in thread
From: Bjorn Andersson @ 2017-07-25  5:47 UTC (permalink / raw)
  To: linux-arm-kernel

From: Vivek Gautam <vivek.gautam@codeaurora.org>

Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
---
 arch/arm64/boot/dts/qcom/msm8996.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi
index 395666dcce1b..d0865d2f731e 100644
--- a/arch/arm64/boot/dts/qcom/msm8996.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi
@@ -496,6 +496,17 @@
 			status = "disabled";
 		};
 
+		qfprom: qfprom at 74000 {
+			compatible = "qcom,qfprom";
+			reg = <0x00074000 0x8ff>;
+			#address-cells = <1>;
+			#size-cells = <1>;
+			qusb2p_hstx_trim: hstx_trim at 24e {
+				reg = <0x24e 0x2>;
+				bits = <5 4>;
+			};
+		};
+
 		sdhc2: sdhci at 74a4900 {
 			 status = "disabled";
 			 compatible = "qcom,sdhci-msm-v4";
-- 
2.12.0

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

* Re: [PATCH 5/5] arm64: dts: msm8996: Add QFPROM node
  2017-07-25  5:47   ` Bjorn Andersson
  (?)
@ 2017-07-25  6:09     ` Vivek Gautam
  -1 siblings, 0 replies; 23+ messages in thread
From: Vivek Gautam @ 2017-07-25  6:09 UTC (permalink / raw)
  To: Bjorn Andersson
  Cc: Andy Gross, David Brown, linux-arm-msm, linux-soc,
	linux-arm-kernel, linux-kernel

Hi Bjorn,


On Tue, Jul 25, 2017 at 11:17 AM, Bjorn Andersson
<bjorn.andersson@linaro.org> wrote:
> From: Vivek Gautam <vivek.gautam@codeaurora.org>
>
> Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
> ---
>  arch/arm64/boot/dts/qcom/msm8996.dtsi | 11 +++++++++++
>  1 file changed, 11 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi
> index 395666dcce1b..d0865d2f731e 100644
> --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi
> +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi
> @@ -496,6 +496,17 @@
>                         status = "disabled";
>                 };
>
> +               qfprom: qfprom@74000 {
> +                       compatible = "qcom,qfprom";
> +                       reg = <0x00074000 0x8ff>;
> +                       #address-cells = <1>;
> +                       #size-cells = <1>;
> +                       qusb2p_hstx_trim: hstx_trim@24e {
> +                               reg = <0x24e 0x2>;
> +                               bits = <5 4>;
> +                       };

There's one more part to it which will be used by the secondary
USB2 controller.
I was hoping to add this patch along with the USB device tree patches.
Let me know if you are not using this patch for anything now, i can
submit it along with the usb series.

Regards
Vivek

> +               };
> +
>                 sdhc2: sdhci@74a4900 {
>                          status = "disabled";
>                          compatible = "qcom,sdhci-msm-v4";
> --
> 2.12.0
>



-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

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

* Re: [PATCH 5/5] arm64: dts: msm8996: Add QFPROM node
@ 2017-07-25  6:09     ` Vivek Gautam
  0 siblings, 0 replies; 23+ messages in thread
From: Vivek Gautam @ 2017-07-25  6:09 UTC (permalink / raw)
  To: Bjorn Andersson
  Cc: Andy Gross, David Brown, linux-arm-msm, linux-soc,
	linux-arm-kernel, linux-kernel

Hi Bjorn,


On Tue, Jul 25, 2017 at 11:17 AM, Bjorn Andersson
<bjorn.andersson@linaro.org> wrote:
> From: Vivek Gautam <vivek.gautam@codeaurora.org>
>
> Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
> ---
>  arch/arm64/boot/dts/qcom/msm8996.dtsi | 11 +++++++++++
>  1 file changed, 11 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi
> index 395666dcce1b..d0865d2f731e 100644
> --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi
> +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi
> @@ -496,6 +496,17 @@
>                         status = "disabled";
>                 };
>
> +               qfprom: qfprom@74000 {
> +                       compatible = "qcom,qfprom";
> +                       reg = <0x00074000 0x8ff>;
> +                       #address-cells = <1>;
> +                       #size-cells = <1>;
> +                       qusb2p_hstx_trim: hstx_trim@24e {
> +                               reg = <0x24e 0x2>;
> +                               bits = <5 4>;
> +                       };

There's one more part to it which will be used by the secondary
USB2 controller.
I was hoping to add this patch along with the USB device tree patches.
Let me know if you are not using this patch for anything now, i can
submit it along with the usb series.

Regards
Vivek

> +               };
> +
>                 sdhc2: sdhci@74a4900 {
>                          status = "disabled";
>                          compatible = "qcom,sdhci-msm-v4";
> --
> 2.12.0
>



-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

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

* [PATCH 5/5] arm64: dts: msm8996: Add QFPROM node
@ 2017-07-25  6:09     ` Vivek Gautam
  0 siblings, 0 replies; 23+ messages in thread
From: Vivek Gautam @ 2017-07-25  6:09 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Bjorn,


On Tue, Jul 25, 2017 at 11:17 AM, Bjorn Andersson
<bjorn.andersson@linaro.org> wrote:
> From: Vivek Gautam <vivek.gautam@codeaurora.org>
>
> Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
> ---
>  arch/arm64/boot/dts/qcom/msm8996.dtsi | 11 +++++++++++
>  1 file changed, 11 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi
> index 395666dcce1b..d0865d2f731e 100644
> --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi
> +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi
> @@ -496,6 +496,17 @@
>                         status = "disabled";
>                 };
>
> +               qfprom: qfprom at 74000 {
> +                       compatible = "qcom,qfprom";
> +                       reg = <0x00074000 0x8ff>;
> +                       #address-cells = <1>;
> +                       #size-cells = <1>;
> +                       qusb2p_hstx_trim: hstx_trim at 24e {
> +                               reg = <0x24e 0x2>;
> +                               bits = <5 4>;
> +                       };

There's one more part to it which will be used by the secondary
USB2 controller.
I was hoping to add this patch along with the USB device tree patches.
Let me know if you are not using this patch for anything now, i can
submit it along with the usb series.

Regards
Vivek

> +               };
> +
>                 sdhc2: sdhci at 74a4900 {
>                          status = "disabled";
>                          compatible = "qcom,sdhci-msm-v4";
> --
> 2.12.0
>



-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

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

* Re: [PATCH 5/5] arm64: dts: msm8996: Add QFPROM node
  2017-07-25  6:09     ` Vivek Gautam
  (?)
@ 2017-07-25  6:30       ` Bjorn Andersson
  -1 siblings, 0 replies; 23+ messages in thread
From: Bjorn Andersson @ 2017-07-25  6:30 UTC (permalink / raw)
  To: Vivek Gautam
  Cc: Andy Gross, David Brown, linux-arm-msm, linux-soc,
	linux-arm-kernel, linux-kernel

On Mon 24 Jul 23:09 PDT 2017, Vivek Gautam wrote:

> Hi Bjorn,
> 
> 
> On Tue, Jul 25, 2017 at 11:17 AM, Bjorn Andersson
> <bjorn.andersson@linaro.org> wrote:
> > From: Vivek Gautam <vivek.gautam@codeaurora.org>
> >
> > Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
> > Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
> > ---
> >  arch/arm64/boot/dts/qcom/msm8996.dtsi | 11 +++++++++++
> >  1 file changed, 11 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi
> > index 395666dcce1b..d0865d2f731e 100644
> > --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi
> > +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi
> > @@ -496,6 +496,17 @@
> >                         status = "disabled";
> >                 };
> >
> > +               qfprom: qfprom@74000 {
> > +                       compatible = "qcom,qfprom";
> > +                       reg = <0x00074000 0x8ff>;
> > +                       #address-cells = <1>;
> > +                       #size-cells = <1>;
> > +                       qusb2p_hstx_trim: hstx_trim@24e {
> > +                               reg = <0x24e 0x2>;
> > +                               bits = <5 4>;
> > +                       };
> 
> There's one more part to it which will be used by the secondary
> USB2 controller.
> I was hoping to add this patch along with the USB device tree patches.
> Let me know if you are not using this patch for anything now, i can
> submit it along with the usb series.
> 

I omitted this due to the rpmcc dependency. But I must have looked at
the wrong node, as there is no such dependency.

So this should be replaced by the full 0387312d9f35 ("arm64: dts:
msm8996: Add device node for qcom qusb2 phy"), which has a commit
message as well.


Thanks for spotting my mistake.

Regards,
Bjorn

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

* Re: [PATCH 5/5] arm64: dts: msm8996: Add QFPROM node
@ 2017-07-25  6:30       ` Bjorn Andersson
  0 siblings, 0 replies; 23+ messages in thread
From: Bjorn Andersson @ 2017-07-25  6:30 UTC (permalink / raw)
  To: Vivek Gautam
  Cc: Andy Gross, David Brown, linux-arm-msm, linux-soc,
	linux-arm-kernel, linux-kernel

On Mon 24 Jul 23:09 PDT 2017, Vivek Gautam wrote:

> Hi Bjorn,
> 
> 
> On Tue, Jul 25, 2017 at 11:17 AM, Bjorn Andersson
> <bjorn.andersson@linaro.org> wrote:
> > From: Vivek Gautam <vivek.gautam@codeaurora.org>
> >
> > Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
> > Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
> > ---
> >  arch/arm64/boot/dts/qcom/msm8996.dtsi | 11 +++++++++++
> >  1 file changed, 11 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi
> > index 395666dcce1b..d0865d2f731e 100644
> > --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi
> > +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi
> > @@ -496,6 +496,17 @@
> >                         status = "disabled";
> >                 };
> >
> > +               qfprom: qfprom@74000 {
> > +                       compatible = "qcom,qfprom";
> > +                       reg = <0x00074000 0x8ff>;
> > +                       #address-cells = <1>;
> > +                       #size-cells = <1>;
> > +                       qusb2p_hstx_trim: hstx_trim@24e {
> > +                               reg = <0x24e 0x2>;
> > +                               bits = <5 4>;
> > +                       };
> 
> There's one more part to it which will be used by the secondary
> USB2 controller.
> I was hoping to add this patch along with the USB device tree patches.
> Let me know if you are not using this patch for anything now, i can
> submit it along with the usb series.
> 

I omitted this due to the rpmcc dependency. But I must have looked at
the wrong node, as there is no such dependency.

So this should be replaced by the full 0387312d9f35 ("arm64: dts:
msm8996: Add device node for qcom qusb2 phy"), which has a commit
message as well.


Thanks for spotting my mistake.

Regards,
Bjorn

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

* [PATCH 5/5] arm64: dts: msm8996: Add QFPROM node
@ 2017-07-25  6:30       ` Bjorn Andersson
  0 siblings, 0 replies; 23+ messages in thread
From: Bjorn Andersson @ 2017-07-25  6:30 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon 24 Jul 23:09 PDT 2017, Vivek Gautam wrote:

> Hi Bjorn,
> 
> 
> On Tue, Jul 25, 2017 at 11:17 AM, Bjorn Andersson
> <bjorn.andersson@linaro.org> wrote:
> > From: Vivek Gautam <vivek.gautam@codeaurora.org>
> >
> > Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
> > Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
> > ---
> >  arch/arm64/boot/dts/qcom/msm8996.dtsi | 11 +++++++++++
> >  1 file changed, 11 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi
> > index 395666dcce1b..d0865d2f731e 100644
> > --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi
> > +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi
> > @@ -496,6 +496,17 @@
> >                         status = "disabled";
> >                 };
> >
> > +               qfprom: qfprom at 74000 {
> > +                       compatible = "qcom,qfprom";
> > +                       reg = <0x00074000 0x8ff>;
> > +                       #address-cells = <1>;
> > +                       #size-cells = <1>;
> > +                       qusb2p_hstx_trim: hstx_trim at 24e {
> > +                               reg = <0x24e 0x2>;
> > +                               bits = <5 4>;
> > +                       };
> 
> There's one more part to it which will be used by the secondary
> USB2 controller.
> I was hoping to add this patch along with the USB device tree patches.
> Let me know if you are not using this patch for anything now, i can
> submit it along with the usb series.
> 

I omitted this due to the rpmcc dependency. But I must have looked at
the wrong node, as there is no such dependency.

So this should be replaced by the full 0387312d9f35 ("arm64: dts:
msm8996: Add device node for qcom qusb2 phy"), which has a commit
message as well.


Thanks for spotting my mistake.

Regards,
Bjorn

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

* Re: [PATCH 5/5] arm64: dts: msm8996: Add QFPROM node
  2017-07-25  6:30       ` Bjorn Andersson
  (?)
@ 2017-07-25  8:12         ` Vivek Gautam
  -1 siblings, 0 replies; 23+ messages in thread
From: Vivek Gautam @ 2017-07-25  8:12 UTC (permalink / raw)
  To: Bjorn Andersson
  Cc: Andy Gross, David Brown, linux-arm-msm, linux-soc,
	linux-arm-kernel, linux-kernel

On Tue, Jul 25, 2017 at 12:00 PM, Bjorn Andersson
<bjorn.andersson@linaro.org> wrote:
> On Mon 24 Jul 23:09 PDT 2017, Vivek Gautam wrote:
>
>> Hi Bjorn,
>>
>>
>> On Tue, Jul 25, 2017 at 11:17 AM, Bjorn Andersson
>> <bjorn.andersson@linaro.org> wrote:
>> > From: Vivek Gautam <vivek.gautam@codeaurora.org>
>> >
>> > Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
>> > Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
>> > ---
>> >  arch/arm64/boot/dts/qcom/msm8996.dtsi | 11 +++++++++++
>> >  1 file changed, 11 insertions(+)
>> >
>> > diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi
>> > index 395666dcce1b..d0865d2f731e 100644
>> > --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi
>> > +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi
>> > @@ -496,6 +496,17 @@
>> >                         status = "disabled";
>> >                 };
>> >
>> > +               qfprom: qfprom@74000 {
>> > +                       compatible = "qcom,qfprom";
>> > +                       reg = <0x00074000 0x8ff>;
>> > +                       #address-cells = <1>;
>> > +                       #size-cells = <1>;
>> > +                       qusb2p_hstx_trim: hstx_trim@24e {
>> > +                               reg = <0x24e 0x2>;
>> > +                               bits = <5 4>;
>> > +                       };
>>
>> There's one more part to it which will be used by the secondary
>> USB2 controller.
>> I was hoping to add this patch along with the USB device tree patches.
>> Let me know if you are not using this patch for anything now, i can
>> submit it along with the usb series.
>>
>
> I omitted this due to the rpmcc dependency. But I must have looked at
> the wrong node, as there is no such dependency.
>
> So this should be replaced by the full 0387312d9f35 ("arm64: dts:
> msm8996: Add device node for qcom qusb2 phy"), which has a commit
> message as well.
>
>
> Thanks for spotting my mistake.

Thanks Bjorn. I will prepare and post out these patches soon.

Best Regards
Vivek

>
> Regards,
> Bjorn
> --
> To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

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

* Re: [PATCH 5/5] arm64: dts: msm8996: Add QFPROM node
@ 2017-07-25  8:12         ` Vivek Gautam
  0 siblings, 0 replies; 23+ messages in thread
From: Vivek Gautam @ 2017-07-25  8:12 UTC (permalink / raw)
  To: Bjorn Andersson
  Cc: Andy Gross, David Brown, linux-arm-msm, linux-soc,
	linux-arm-kernel, linux-kernel

On Tue, Jul 25, 2017 at 12:00 PM, Bjorn Andersson
<bjorn.andersson@linaro.org> wrote:
> On Mon 24 Jul 23:09 PDT 2017, Vivek Gautam wrote:
>
>> Hi Bjorn,
>>
>>
>> On Tue, Jul 25, 2017 at 11:17 AM, Bjorn Andersson
>> <bjorn.andersson@linaro.org> wrote:
>> > From: Vivek Gautam <vivek.gautam@codeaurora.org>
>> >
>> > Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
>> > Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
>> > ---
>> >  arch/arm64/boot/dts/qcom/msm8996.dtsi | 11 +++++++++++
>> >  1 file changed, 11 insertions(+)
>> >
>> > diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi
>> > index 395666dcce1b..d0865d2f731e 100644
>> > --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi
>> > +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi
>> > @@ -496,6 +496,17 @@
>> >                         status = "disabled";
>> >                 };
>> >
>> > +               qfprom: qfprom@74000 {
>> > +                       compatible = "qcom,qfprom";
>> > +                       reg = <0x00074000 0x8ff>;
>> > +                       #address-cells = <1>;
>> > +                       #size-cells = <1>;
>> > +                       qusb2p_hstx_trim: hstx_trim@24e {
>> > +                               reg = <0x24e 0x2>;
>> > +                               bits = <5 4>;
>> > +                       };
>>
>> There's one more part to it which will be used by the secondary
>> USB2 controller.
>> I was hoping to add this patch along with the USB device tree patches.
>> Let me know if you are not using this patch for anything now, i can
>> submit it along with the usb series.
>>
>
> I omitted this due to the rpmcc dependency. But I must have looked at
> the wrong node, as there is no such dependency.
>
> So this should be replaced by the full 0387312d9f35 ("arm64: dts:
> msm8996: Add device node for qcom qusb2 phy"), which has a commit
> message as well.
>
>
> Thanks for spotting my mistake.

Thanks Bjorn. I will prepare and post out these patches soon.

Best Regards
Vivek

>
> Regards,
> Bjorn
> --
> To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

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

* [PATCH 5/5] arm64: dts: msm8996: Add QFPROM node
@ 2017-07-25  8:12         ` Vivek Gautam
  0 siblings, 0 replies; 23+ messages in thread
From: Vivek Gautam @ 2017-07-25  8:12 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Jul 25, 2017 at 12:00 PM, Bjorn Andersson
<bjorn.andersson@linaro.org> wrote:
> On Mon 24 Jul 23:09 PDT 2017, Vivek Gautam wrote:
>
>> Hi Bjorn,
>>
>>
>> On Tue, Jul 25, 2017 at 11:17 AM, Bjorn Andersson
>> <bjorn.andersson@linaro.org> wrote:
>> > From: Vivek Gautam <vivek.gautam@codeaurora.org>
>> >
>> > Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
>> > Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
>> > ---
>> >  arch/arm64/boot/dts/qcom/msm8996.dtsi | 11 +++++++++++
>> >  1 file changed, 11 insertions(+)
>> >
>> > diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi
>> > index 395666dcce1b..d0865d2f731e 100644
>> > --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi
>> > +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi
>> > @@ -496,6 +496,17 @@
>> >                         status = "disabled";
>> >                 };
>> >
>> > +               qfprom: qfprom at 74000 {
>> > +                       compatible = "qcom,qfprom";
>> > +                       reg = <0x00074000 0x8ff>;
>> > +                       #address-cells = <1>;
>> > +                       #size-cells = <1>;
>> > +                       qusb2p_hstx_trim: hstx_trim at 24e {
>> > +                               reg = <0x24e 0x2>;
>> > +                               bits = <5 4>;
>> > +                       };
>>
>> There's one more part to it which will be used by the secondary
>> USB2 controller.
>> I was hoping to add this patch along with the USB device tree patches.
>> Let me know if you are not using this patch for anything now, i can
>> submit it along with the usb series.
>>
>
> I omitted this due to the rpmcc dependency. But I must have looked at
> the wrong node, as there is no such dependency.
>
> So this should be replaced by the full 0387312d9f35 ("arm64: dts:
> msm8996: Add device node for qcom qusb2 phy"), which has a commit
> message as well.
>
>
> Thanks for spotting my mistake.

Thanks Bjorn. I will prepare and post out these patches soon.

Best Regards
Vivek

>
> Regards,
> Bjorn
> --
> To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

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

* Re: [PATCH 3/5] arm64: dts: msm8996: Add modem smp2p nodes
  2017-07-25  5:47   ` Bjorn Andersson
@ 2017-07-25 17:29     ` Stephen Boyd
  -1 siblings, 0 replies; 23+ messages in thread
From: Stephen Boyd @ 2017-07-25 17:29 UTC (permalink / raw)
  To: Bjorn Andersson, Andy Gross, David Brown
  Cc: linux-arm-msm, linux-soc, linux-arm-kernel, linux-kernel

On 07/24/2017 10:47 PM, Bjorn Andersson wrote:
> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
> ---
>  arch/arm64/boot/dts/qcom/msm8996.dtsi | 24 ++++++++++++++++++++++++
>  1 file changed, 24 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi
> index 8ebef05e1750..7d909546ca24 100644
> --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi
> +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi
> @@ -662,6 +662,30 @@
>  		};
>  	};
>  
> +	modem-smp2p {
> +		compatible = "qcom,smp2p";
> +		qcom,smem = <435>, <428>;
> +
> +		interrupts = <0 451 IRQ_TYPE_EDGE_RISING>;

s/0/GIC_SPI/?

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

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

* [PATCH 3/5] arm64: dts: msm8996: Add modem smp2p nodes
@ 2017-07-25 17:29     ` Stephen Boyd
  0 siblings, 0 replies; 23+ messages in thread
From: Stephen Boyd @ 2017-07-25 17:29 UTC (permalink / raw)
  To: linux-arm-kernel

On 07/24/2017 10:47 PM, Bjorn Andersson wrote:
> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
> ---
>  arch/arm64/boot/dts/qcom/msm8996.dtsi | 24 ++++++++++++++++++++++++
>  1 file changed, 24 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi
> index 8ebef05e1750..7d909546ca24 100644
> --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi
> +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi
> @@ -662,6 +662,30 @@
>  		};
>  	};
>  
> +	modem-smp2p {
> +		compatible = "qcom,smp2p";
> +		qcom,smem = <435>, <428>;
> +
> +		interrupts = <0 451 IRQ_TYPE_EDGE_RISING>;

s/0/GIC_SPI/?

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

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

end of thread, other threads:[~2017-07-25 17:29 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-25  5:47 [PATCH 0/5] DB820c DTS dump Bjorn Andersson
2017-07-25  5:47 ` Bjorn Andersson
2017-07-25  5:47 ` [PATCH 1/5] arm64: dts: qcom: Add RPM glink nodes to msm8996 Bjorn Andersson
2017-07-25  5:47   ` Bjorn Andersson
2017-07-25  5:47 ` [PATCH 2/5] arm64: dts: qcom: db820c: Add pm8994 regulator node Bjorn Andersson
2017-07-25  5:47   ` Bjorn Andersson
2017-07-25  5:47 ` [PATCH 3/5] arm64: dts: msm8996: Add modem smp2p nodes Bjorn Andersson
2017-07-25  5:47   ` Bjorn Andersson
2017-07-25 17:29   ` Stephen Boyd
2017-07-25 17:29     ` Stephen Boyd
2017-07-25  5:47 ` [PATCH 4/5] arm64: dts: qcom: msm8996: Specify smd-edge for ADSP Bjorn Andersson
2017-07-25  5:47   ` Bjorn Andersson
2017-07-25  5:47 ` [PATCH 5/5] arm64: dts: msm8996: Add QFPROM node Bjorn Andersson
2017-07-25  5:47   ` Bjorn Andersson
2017-07-25  6:09   ` Vivek Gautam
2017-07-25  6:09     ` Vivek Gautam
2017-07-25  6:09     ` Vivek Gautam
2017-07-25  6:30     ` Bjorn Andersson
2017-07-25  6:30       ` Bjorn Andersson
2017-07-25  6:30       ` Bjorn Andersson
2017-07-25  8:12       ` Vivek Gautam
2017-07-25  8:12         ` Vivek Gautam
2017-07-25  8:12         ` Vivek Gautam

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.