mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Enable uart and bluetooth for Xperia devices
@ 2026-01-20 12:24 Petr Hodina via B4 Relay
  2026-01-20 12:24 ` [PATCH v2 1/2] arm64: dts: qcom: sdm845-sony-xperia-tama: Correct uart instances Petr Hodina via B4 Relay
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Petr Hodina via B4 Relay @ 2026-01-20 12:24 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: linux-arm-msm, devicetree, linux-kernel, Petr Hodina,
	Konrad Dybcio, David Heidelberg, Dmitry Baryshkov

This fixes the uart instances defined in the dts so the serial
console will now work if uart is attached to Rx pin on the uSD pinout.
Also now enables bluetooth.

Signed-off-by: Petr Hodina <petr.hodina@protonmail.com>
---
Changes in v2:
- Added comment about serial0 console
- Fixed firmware-name to expected path
- Link to v1: https://lore.kernel.org/r/20260119-akatsuki-uart-v1-0-238f4da4fa56@protonmail.com

---
Petr Hodina (2):
      arm64: dts: qcom: sdm845-sony-xperia-tama: Correct uart instances
      arm64: dts: qcom: sdm845-sony-xperia-tama: Add bluetooth

 arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)
---
base-commit: f417b7ffcbef7d76b0d8860518f50dae0e7e5eda
change-id: 20251217-akatsuki-uart-4d7057864ba7

Best regards,
-- 
Petr Hodina <petr.hodina@protonmail.com>



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

* [PATCH v2 1/2] arm64: dts: qcom: sdm845-sony-xperia-tama: Correct uart instances
  2026-01-20 12:24 [PATCH v2 0/2] Enable uart and bluetooth for Xperia devices Petr Hodina via B4 Relay
@ 2026-01-20 12:24 ` Petr Hodina via B4 Relay
  2026-01-20 12:24 ` [PATCH v2 2/2] arm64: dts: qcom: sdm845-sony-xperia-tama: Add bluetooth Petr Hodina via B4 Relay
  2026-03-23 14:50 ` [PATCH v2 0/2] Enable uart and bluetooth for Xperia devices Bjorn Andersson
  2 siblings, 0 replies; 6+ messages in thread
From: Petr Hodina via B4 Relay @ 2026-01-20 12:24 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: linux-arm-msm, devicetree, linux-kernel, Petr Hodina,
	Konrad Dybcio, David Heidelberg

From: Petr Hodina <petr.hodina@protonmail.com>

Change the uart instances:
- uart6 is for bluetooth
- uart9 is for serial console (available on the uSD pinout)

Most OSes assume serial0 is for console UART. Bluetooth interface uses
UART interface. uart6 is standard debug console and uart9 bluetooth on
SDM845 devices.

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: David Heidelberg <david@ixit.cz>
Signed-off-by: Petr Hodina <petr.hodina@protonmail.com>
---
 arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi
index 7dc9349eedfd..68841e036c20 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi
@@ -17,8 +17,8 @@ / {
 	qcom,board-id = <8 0>;
 
 	aliases {
-		serial0 = &uart6;
-		serial1 = &uart9;
+		serial0 = &uart9;
+		serial1 = &uart6;
 	};
 
 	chosen {

-- 
2.52.0



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

* [PATCH v2 2/2] arm64: dts: qcom: sdm845-sony-xperia-tama: Add bluetooth
  2026-01-20 12:24 [PATCH v2 0/2] Enable uart and bluetooth for Xperia devices Petr Hodina via B4 Relay
  2026-01-20 12:24 ` [PATCH v2 1/2] arm64: dts: qcom: sdm845-sony-xperia-tama: Correct uart instances Petr Hodina via B4 Relay
@ 2026-01-20 12:24 ` Petr Hodina via B4 Relay
  2026-01-20 12:28   ` David Heidelberg
  2026-01-20 13:20   ` Konrad Dybcio
  2026-03-23 14:50 ` [PATCH v2 0/2] Enable uart and bluetooth for Xperia devices Bjorn Andersson
  2 siblings, 2 replies; 6+ messages in thread
From: Petr Hodina via B4 Relay @ 2026-01-20 12:24 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: linux-arm-msm, devicetree, linux-kernel, Petr Hodina, Dmitry Baryshkov

From: Petr Hodina <petr.hodina@protonmail.com>

Enable the bluetooth interface on the uart6

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Petr Hodina <petr.hodina@protonmail.com>
---
 arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi
index 68841e036c20..4c63286d8b04 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi
@@ -755,6 +755,19 @@ int-pins {
 
 &uart6 {
 	status = "okay";
+
+	bluetooth {
+		compatible = "qcom,wcn3990-bt";
+
+		firmware-name = "Sony/tama/crnv21.bin";
+
+		vddio-supply = <&vreg_s3a_1p3>;
+		vddxo-supply = <&vreg_s5a_1p9>;
+		vddrf-supply = <&vreg_l17a_1p3>;
+		vddch0-supply = <&vreg_l25a_3p0>;
+
+		max-speed = <3200000>;
+	};
 };
 
 &uart9 {

-- 
2.52.0



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

* Re: [PATCH v2 2/2] arm64: dts: qcom: sdm845-sony-xperia-tama: Add bluetooth
  2026-01-20 12:24 ` [PATCH v2 2/2] arm64: dts: qcom: sdm845-sony-xperia-tama: Add bluetooth Petr Hodina via B4 Relay
@ 2026-01-20 12:28   ` David Heidelberg
  2026-01-20 13:20   ` Konrad Dybcio
  1 sibling, 0 replies; 6+ messages in thread
From: David Heidelberg @ 2026-01-20 12:28 UTC (permalink / raw)
  To: petr.hodina, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: linux-arm-msm, devicetree, linux-kernel, Dmitry Baryshkov

On 20/01/2026 13:24, Petr Hodina via B4 Relay wrote:
> From: Petr Hodina <petr.hodina@protonmail.com>
> 
> Enable the bluetooth interface on the uart6
> 
> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
> Signed-off-by: Petr Hodina <petr.hodina@protonmail.com>
> ---
>   arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi | 13 +++++++++++++
>   1 file changed, 13 insertions(+)
> 

Reviewed-by: David Heidelberg <david@ixit.cz>

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

* Re: [PATCH v2 2/2] arm64: dts: qcom: sdm845-sony-xperia-tama: Add bluetooth
  2026-01-20 12:24 ` [PATCH v2 2/2] arm64: dts: qcom: sdm845-sony-xperia-tama: Add bluetooth Petr Hodina via B4 Relay
  2026-01-20 12:28   ` David Heidelberg
@ 2026-01-20 13:20   ` Konrad Dybcio
  1 sibling, 0 replies; 6+ messages in thread
From: Konrad Dybcio @ 2026-01-20 13:20 UTC (permalink / raw)
  To: petr.hodina, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: linux-arm-msm, devicetree, linux-kernel, Dmitry Baryshkov

On 1/20/26 1:24 PM, Petr Hodina via B4 Relay wrote:
> From: Petr Hodina <petr.hodina@protonmail.com>
> 
> Enable the bluetooth interface on the uart6
> 
> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
> Signed-off-by: Petr Hodina <petr.hodina@protonmail.com>
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>

Konrad


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

* Re: [PATCH v2 0/2] Enable uart and bluetooth for Xperia devices
  2026-01-20 12:24 [PATCH v2 0/2] Enable uart and bluetooth for Xperia devices Petr Hodina via B4 Relay
  2026-01-20 12:24 ` [PATCH v2 1/2] arm64: dts: qcom: sdm845-sony-xperia-tama: Correct uart instances Petr Hodina via B4 Relay
  2026-01-20 12:24 ` [PATCH v2 2/2] arm64: dts: qcom: sdm845-sony-xperia-tama: Add bluetooth Petr Hodina via B4 Relay
@ 2026-03-23 14:50 ` Bjorn Andersson
  2 siblings, 0 replies; 6+ messages in thread
From: Bjorn Andersson @ 2026-03-23 14:50 UTC (permalink / raw)
  To: Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Petr Hodina
  Cc: linux-arm-msm, devicetree, linux-kernel, Konrad Dybcio,
	David Heidelberg, Dmitry Baryshkov


On Tue, 20 Jan 2026 13:24:23 +0100, Petr Hodina wrote:
> This fixes the uart instances defined in the dts so the serial
> console will now work if uart is attached to Rx pin on the uSD pinout.
> Also now enables bluetooth.
> 
> 

Applied, thanks!

[1/2] arm64: dts: qcom: sdm845-sony-xperia-tama: Correct uart instances
      commit: 89b28c2954138695b424aeea6e9c84db6038a41c
[2/2] arm64: dts: qcom: sdm845-sony-xperia-tama: Add bluetooth
      commit: 3a8d129af774b36f01cbe5e6dd9f9a62dd04a058

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

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

end of thread, other threads:[~2026-03-23 14:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-20 12:24 [PATCH v2 0/2] Enable uart and bluetooth for Xperia devices Petr Hodina via B4 Relay
2026-01-20 12:24 ` [PATCH v2 1/2] arm64: dts: qcom: sdm845-sony-xperia-tama: Correct uart instances Petr Hodina via B4 Relay
2026-01-20 12:24 ` [PATCH v2 2/2] arm64: dts: qcom: sdm845-sony-xperia-tama: Add bluetooth Petr Hodina via B4 Relay
2026-01-20 12:28   ` David Heidelberg
2026-01-20 13:20   ` Konrad Dybcio
2026-03-23 14:50 ` [PATCH v2 0/2] Enable uart and bluetooth for Xperia devices Bjorn Andersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®