devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] arm64: qcom: sa8155-adp: enable the high-speed UART for GNSS
@ 2023-03-09 14:35 Bartosz Golaszewski
  2023-03-09 14:35 ` [PATCH 1/2] arm64: dts: sm8150: add the QUPv3 high-speed UART node Bartosz Golaszewski
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Bartosz Golaszewski @ 2023-03-09 14:35 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski
  Cc: linux-arm-msm, devicetree, linux-kernel, Bartosz Golaszewski

From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

Add the relevant QUPv3 node to SoC dtsi and enable it in the board dts for
sa8155p-adp.

Bartosz Golaszewski (2):
  arm64: dts: sm8150: add the QUPv3 high-speed UART node
  arm64: dts: qcom: sa8155p-adp: enable the GNSS high-speed UART

 arch/arm64/boot/dts/qcom/sa8155p-adp.dts |  5 +++++
 arch/arm64/boot/dts/qcom/sm8150.dtsi     | 21 +++++++++++++++++++++
 2 files changed, 26 insertions(+)

-- 
2.37.2


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

* [PATCH 1/2] arm64: dts: sm8150: add the QUPv3 high-speed UART node
  2023-03-09 14:35 [PATCH 0/2] arm64: qcom: sa8155-adp: enable the high-speed UART for GNSS Bartosz Golaszewski
@ 2023-03-09 14:35 ` Bartosz Golaszewski
  2023-03-09 14:35 ` [PATCH 2/2] arm64: dts: qcom: sa8155p-adp: enable the GNSS high-speed UART Bartosz Golaszewski
  2023-03-15 23:34 ` [PATCH 0/2] arm64: qcom: sa8155-adp: enable the high-speed UART for GNSS Bjorn Andersson
  2 siblings, 0 replies; 4+ messages in thread
From: Bartosz Golaszewski @ 2023-03-09 14:35 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski
  Cc: linux-arm-msm, devicetree, linux-kernel, Bartosz Golaszewski

From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

Add the high-speed UART node to the dtsi for sm8150.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
 arch/arm64/boot/dts/qcom/sm8150.dtsi | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi
index 13e0ce828606..cd0351a33516 100644
--- a/arch/arm64/boot/dts/qcom/sm8150.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi
@@ -1334,6 +1334,20 @@ spi9: spi@a84000 {
 				status = "disabled";
 			};
 
+			uart9: serial@a8c000 {
+				compatible = "qcom,geni-uart";
+				reg = <0x0 0x00a84000 0x0 0x4000>;
+				reg-names = "se";
+				clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
+				clock-names = "se";
+				pinctrl-0 = <&qup_uart9_default>;
+				pinctrl-names = "default";
+				interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
+				#address-cells = <1>;
+				#size-cells = <0>;
+				status = "disabled";
+			};
+
 			i2c10: i2c@a88000 {
 				compatible = "qcom,geni-i2c";
 				reg = <0 0x00a88000 0 0x4000>;
@@ -2425,6 +2439,13 @@ qup_spi9_default: qup-spi9-default-state {
 				bias-disable;
 			};
 
+			qup_uart9_default: qup-uart9-default-state {
+				pins = "gpio41", "gpio42";
+				function = "qup9";
+				drive-strength = <2>;
+				bias-disable;
+			};
+
 			qup_i2c10_default: qup-i2c10-default-state {
 				pins = "gpio9", "gpio10";
 				function = "qup10";
-- 
2.37.2


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

* [PATCH 2/2] arm64: dts: qcom: sa8155p-adp: enable the GNSS high-speed UART
  2023-03-09 14:35 [PATCH 0/2] arm64: qcom: sa8155-adp: enable the high-speed UART for GNSS Bartosz Golaszewski
  2023-03-09 14:35 ` [PATCH 1/2] arm64: dts: sm8150: add the QUPv3 high-speed UART node Bartosz Golaszewski
@ 2023-03-09 14:35 ` Bartosz Golaszewski
  2023-03-15 23:34 ` [PATCH 0/2] arm64: qcom: sa8155-adp: enable the high-speed UART for GNSS Bjorn Andersson
  2 siblings, 0 replies; 4+ messages in thread
From: Bartosz Golaszewski @ 2023-03-09 14:35 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski
  Cc: linux-arm-msm, devicetree, linux-kernel, Bartosz Golaszewski

From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

Enable the high-speed UART port that's connected to the GNSS controller
on the board.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
 arch/arm64/boot/dts/qcom/sa8155p-adp.dts | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sa8155p-adp.dts b/arch/arm64/boot/dts/qcom/sa8155p-adp.dts
index 459384ec8f23..339fea522509 100644
--- a/arch/arm64/boot/dts/qcom/sa8155p-adp.dts
+++ b/arch/arm64/boot/dts/qcom/sa8155p-adp.dts
@@ -17,6 +17,7 @@ / {
 
 	aliases {
 		serial0 = &uart2;
+		serial1 = &uart9;
 	};
 
 	chosen {
@@ -400,6 +401,10 @@ &uart2 {
 	status = "okay";
 };
 
+&uart9 {
+	status = "okay";
+};
+
 &ufs_mem_hc {
 	status = "okay";
 
-- 
2.37.2


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

* Re: [PATCH 0/2] arm64: qcom: sa8155-adp: enable the high-speed UART for GNSS
  2023-03-09 14:35 [PATCH 0/2] arm64: qcom: sa8155-adp: enable the high-speed UART for GNSS Bartosz Golaszewski
  2023-03-09 14:35 ` [PATCH 1/2] arm64: dts: sm8150: add the QUPv3 high-speed UART node Bartosz Golaszewski
  2023-03-09 14:35 ` [PATCH 2/2] arm64: dts: qcom: sa8155p-adp: enable the GNSS high-speed UART Bartosz Golaszewski
@ 2023-03-15 23:34 ` Bjorn Andersson
  2 siblings, 0 replies; 4+ messages in thread
From: Bjorn Andersson @ 2023-03-15 23:34 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Konrad Dybcio,
	Bartosz Golaszewski, Andy Gross
  Cc: Bartosz Golaszewski, devicetree, linux-arm-msm, linux-kernel

On Thu, 9 Mar 2023 15:35:49 +0100, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
> 
> Add the relevant QUPv3 node to SoC dtsi and enable it in the board dts for
> sa8155p-adp.
> 
> Bartosz Golaszewski (2):
>   arm64: dts: sm8150: add the QUPv3 high-speed UART node
>   arm64: dts: qcom: sa8155p-adp: enable the GNSS high-speed UART
> 
> [...]

Applied, thanks!

[1/2] arm64: dts: sm8150: add the QUPv3 high-speed UART node
      commit: 10d900a834da29cf753f1e45f66982e322a177c1
[2/2] arm64: dts: qcom: sa8155p-adp: enable the GNSS high-speed UART
      commit: d97ba0b040b1aee7c2a7a7155b7752413a965d1f

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

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

end of thread, other threads:[~2023-03-15 23:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-09 14:35 [PATCH 0/2] arm64: qcom: sa8155-adp: enable the high-speed UART for GNSS Bartosz Golaszewski
2023-03-09 14:35 ` [PATCH 1/2] arm64: dts: sm8150: add the QUPv3 high-speed UART node Bartosz Golaszewski
2023-03-09 14:35 ` [PATCH 2/2] arm64: dts: qcom: sa8155p-adp: enable the GNSS high-speed UART Bartosz Golaszewski
2023-03-15 23:34 ` [PATCH 0/2] arm64: qcom: sa8155-adp: enable the high-speed UART for GNSS 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).