Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1289814 > unrolled thread
| Started by | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> |
|---|---|
| First post | 2015-12-11 19:30 +0100 |
| Last post | 2015-12-12 13:10 +0100 |
| Articles | 11 — 3 participants |
Back to article view | Back to linux.kernel
[PATCH 0/4] arm: dts: qcom-apq8064: add smem and hwspinlock support Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2015-12-11 19:30 +0100
[PATCH 4/4] arm: dts: apq8064: add shared memory node Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2015-12-11 19:40 +0100
Re: [PATCH 4/4] arm: dts: apq8064: add shared memory node Andy Gross <andy.gross@linaro.org> - 2015-12-11 20:30 +0100
[PATCH 1/4] ARM: dts: qcom: apq8064-ifc6410 Use hardware flow control for GSBI6 Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2015-12-11 19:40 +0100
Re: [PATCH 1/4] ARM: dts: qcom: apq8064-ifc6410 Use hardware flow control for GSBI6 Andy Gross <andy.gross@linaro.org> - 2015-12-11 20:30 +0100
[PATCH 2/4] arm: dts: apq8064: add shared memory into dt reserved-memory Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2015-12-11 19:40 +0100
Re: [PATCH 2/4] arm: dts: apq8064: add shared memory into dt reserved-memory Andy Gross <andy.gross@linaro.org> - 2015-12-11 20:30 +0100
[PATCH 3/4] arm: dts: apq8064: add hwspinlock nodes Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2015-12-11 19:40 +0100
Re: [PATCH 3/4] arm: dts: apq8064: add hwspinlock nodes Andy Gross <andy.gross@linaro.org> - 2015-12-11 20:30 +0100
Re: [PATCH 0/4] arm: dts: qcom-apq8064: add smem and hwspinlock support Bjorn Andersson <bjorn.andersson@sonymobile.com> - 2015-12-12 01:30 +0100
Re: [PATCH 0/4] arm: dts: qcom-apq8064: add smem and hwspinlock support Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2015-12-12 13:10 +0100
| From | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> |
|---|---|
| Date | 2015-12-11 19:30 +0100 |
| Subject | [PATCH 0/4] arm: dts: qcom-apq8064: add smem and hwspinlock support |
| Message-ID | <qEAC6-862-9@gated-at.bofh.it> |
Hi Andy, Here are 3 patches for smem/hwspinlock which I have tested with QDSP on IFC6410. Also a fix from Ivan which I think can be taken aswell. Thanks, srini Ivan T. Ivanov (1): ARM: dts: qcom: apq8064-ifc6410 Use hardware flow control for GSBI6 Srinivas Kandagatla (3): arm: dts: apq8064: add shared memory into dt reserved-memory arm: dts: apq8064: add hwspinlock nodes arm: dts: apq8064: add shared memory node arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 2 +- arch/arm/boot/dts/qcom-apq8064.dtsi | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> |
|---|---|
| Date | 2015-12-11 19:40 +0100 |
| Subject | [PATCH 4/4] arm: dts: apq8064: add shared memory node |
| Message-ID | <qEALM-8a5-9@gated-at.bofh.it> |
| In reply to | #1289814 |
This patch adds support to qcom,smem device.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
---
arch/arm/boot/dts/qcom-apq8064.dtsi | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi
index 829028a..40dd6b4 100644
--- a/arch/arm/boot/dts/qcom-apq8064.dtsi
+++ b/arch/arm/boot/dts/qcom-apq8064.dtsi
@@ -682,5 +682,11 @@
#hwlock-cells = <1>;
};
+ smem {
+ compatible = "qcom,smem";
+ memory-region = <&smem>;
+ hwlocks = <&sfpb_mutex 3>;
+ };
+
};
};
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Andy Gross <andy.gross@linaro.org> |
|---|---|
| Date | 2015-12-11 20:30 +0100 |
| Subject | Re: [PATCH 4/4] arm: dts: apq8064: add shared memory node |
| Message-ID | <qEBya-ej-23@gated-at.bofh.it> |
| In reply to | #1289817 |
On Fri, Dec 11, 2015 at 06:33:09PM +0000, Srinivas Kandagatla wrote:
> This patch adds support to qcom,smem device.
>
> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
> ---
> arch/arm/boot/dts/qcom-apq8064.dtsi | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi
> index 829028a..40dd6b4 100644
> --- a/arch/arm/boot/dts/qcom-apq8064.dtsi
> +++ b/arch/arm/boot/dts/qcom-apq8064.dtsi
> @@ -682,5 +682,11 @@
> #hwlock-cells = <1>;
> };
>
> + smem {
> + compatible = "qcom,smem";
> + memory-region = <&smem>;
> + hwlocks = <&sfpb_mutex 3>;
> + };
> +
smem needs to be outside the soc as there is no reg entry.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> |
|---|---|
| Date | 2015-12-11 19:40 +0100 |
| Subject | [PATCH 1/4] ARM: dts: qcom: apq8064-ifc6410 Use hardware flow control for GSBI6 |
| Message-ID | <qEALM-8a5-11@gated-at.bofh.it> |
| In reply to | #1289814 |
From: "Ivan T. Ivanov" <ivan.ivanov@linaro.org>
GSBI6 UART module is connected to BT chip, which uses
hardware flow control lines. Enable them on SoC side.
Signed-off-by: Ivan T. Ivanov <ivan.ivanov@linaro.org>
---
arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
index 11ac608..80c6695 100644
--- a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
+++ b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
@@ -164,7 +164,7 @@
gsbi@16500000 {
status = "ok";
- qcom,mode = <GSBI_PROT_I2C_UART>;
+ qcom,mode = <GSBI_PROT_UART_W_FC>;
serial@16540000 {
status = "ok";
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Andy Gross <andy.gross@linaro.org> |
|---|---|
| Date | 2015-12-11 20:30 +0100 |
| Subject | Re: [PATCH 1/4] ARM: dts: qcom: apq8064-ifc6410 Use hardware flow control for GSBI6 |
| Message-ID | <qEBya-ej-25@gated-at.bofh.it> |
| In reply to | #1289818 |
On Fri, Dec 11, 2015 at 06:29:58PM +0000, Srinivas Kandagatla wrote: > From: "Ivan T. Ivanov" <ivan.ivanov@linaro.org> > > GSBI6 UART module is connected to BT chip, which uses > hardware flow control lines. Enable them on SoC side. > > Signed-off-by: Ivan T. Ivanov <ivan.ivanov@linaro.org> Looks fine to me. Thanks for the patch. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> |
|---|---|
| Date | 2015-12-11 19:40 +0100 |
| Subject | [PATCH 2/4] arm: dts: apq8064: add shared memory into dt reserved-memory |
| Message-ID | <qEALM-8a5-13@gated-at.bofh.it> |
| In reply to | #1289814 |
This patch adds the shared memory in the Device tree reserved memory
list so that kernel would not map it as normal memory.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
---
arch/arm/boot/dts/qcom-apq8064.dtsi | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi
index a4c1762..09f0e27 100644
--- a/arch/arm/boot/dts/qcom-apq8064.dtsi
+++ b/arch/arm/boot/dts/qcom-apq8064.dtsi
@@ -11,6 +11,17 @@
compatible = "qcom,apq8064";
interrupt-parent = <&intc>;
+ reserved-memory {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
+
+ smem:smem@80000000 {
+ reg = <0x80000000 0x200000>;
+ no-map;
+ };
+ };
+
cpus {
#address-cells = <1>;
#size-cells = <0>;
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Andy Gross <andy.gross@linaro.org> |
|---|---|
| Date | 2015-12-11 20:30 +0100 |
| Subject | Re: [PATCH 2/4] arm: dts: apq8064: add shared memory into dt reserved-memory |
| Message-ID | <qEBya-ej-3@gated-at.bofh.it> |
| In reply to | #1289819 |
On Fri, Dec 11, 2015 at 06:31:47PM +0000, Srinivas Kandagatla wrote: > This patch adds the shared memory in the Device tree reserved memory > list so that kernel would not map it as normal memory. > > Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Looks fine to me. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> |
|---|---|
| Date | 2015-12-11 19:40 +0100 |
| Subject | [PATCH 3/4] arm: dts: apq8064: add hwspinlock nodes |
| Message-ID | <qEALM-8a5-17@gated-at.bofh.it> |
| In reply to | #1289814 |
This patch adds support hwspinlock devicetree node.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
---
arch/arm/boot/dts/qcom-apq8064.dtsi | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi
index 09f0e27..829028a 100644
--- a/arch/arm/boot/dts/qcom-apq8064.dtsi
+++ b/arch/arm/boot/dts/qcom-apq8064.dtsi
@@ -670,5 +670,17 @@
compatible = "qcom,tcsr-apq8064", "syscon";
reg = <0x1a400000 0x100>;
};
+
+ sfpb_syscon:syscon@01200600 {
+ compatible = "syscon";
+ reg = <0x01200600 0x100>;
+ };
+
+ sfpb_mutex: hwlock {
+ compatible = "qcom,sfpb-mutex";
+ syscon = <&sfpb_syscon 0x4 0x4>;
+ #hwlock-cells = <1>;
+ };
+
};
};
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Andy Gross <andy.gross@linaro.org> |
|---|---|
| Date | 2015-12-11 20:30 +0100 |
| Subject | Re: [PATCH 3/4] arm: dts: apq8064: add hwspinlock nodes |
| Message-ID | <qEBya-ej-5@gated-at.bofh.it> |
| In reply to | #1289821 |
On Fri, Dec 11, 2015 at 06:32:11PM +0000, Srinivas Kandagatla wrote: > This patch adds support hwspinlock devicetree node. > > Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Looks fine to me. Thanks for the patch. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Bjorn Andersson <bjorn.andersson@sonymobile.com> |
|---|---|
| Date | 2015-12-12 01:30 +0100 |
| Subject | Re: [PATCH 0/4] arm: dts: qcom-apq8064: add smem and hwspinlock support |
| Message-ID | <qEGeu-3e8-3@gated-at.bofh.it> |
| In reply to | #1289814 |
On Fri 11 Dec 10:26 PST 2015, Srinivas Kandagatla wrote: > Hi Andy, > > Here are 3 patches for smem/hwspinlock which I have tested with QDSP on IFC6410. > Also a fix from Ivan which I think can be taken aswell. > As far as I can tell my patch for adding smem and hwmutex are already in linux-next, via Andy's tree. Am I missing something? Regards, Bjorn -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> |
|---|---|
| Date | 2015-12-12 13:10 +0100 |
| Message-ID | <qER9U-1Y1-15@gated-at.bofh.it> |
| In reply to | #1290032 |
On 12/12/15 00:22, Bjorn Andersson wrote: > On Fri 11 Dec 10:26 PST 2015, Srinivas Kandagatla wrote: > >> Hi Andy, >> >> Here are 3 patches for smem/hwspinlock which I have tested with QDSP on IFC6410. >> Also a fix from Ivan which I think can be taken aswell. >> > > As far as I can tell my patch for adding smem and hwmutex are already in > linux-next, via Andy's tree. Am I missing something? My bad, I should have checked linux-next before sending.. --srini > > Regards, > Bjorn > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web