* [PATCH 0/2] Enable uart and bluetooth for Xperia devices
@ 2026-01-19 11:58 Petr Hodina via B4 Relay
2026-01-19 11:58 ` [PATCH 1/2] arm64: dts: qcom: sdm845-sony-xperia-tama: Correct uart instances Petr Hodina via B4 Relay
2026-01-19 11:58 ` [PATCH 2/2] arm64: dts: qcom: sdm845-sony-xperia-tama: Add bluetooth Petr Hodina via B4 Relay
0 siblings, 2 replies; 9+ messages in thread
From: Petr Hodina via B4 Relay @ 2026-01-19 11:58 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, David Heidelberg
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel, Petr Hodina
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>
---
Petr Hodina (2):
arm64: dts: qcom: sdm845-sony-xperia-tama: Correct uart instances
arm64: dts: qcom: sdm845-sony-xperia-tama: Add bluetooth
.../boot/dts/qcom/sdm845-sony-xperia-tama.dtsi | 21 +++++++++++++++++++--
1 file changed, 19 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] 9+ messages in thread
* [PATCH 1/2] arm64: dts: qcom: sdm845-sony-xperia-tama: Correct uart instances
2026-01-19 11:58 [PATCH 0/2] Enable uart and bluetooth for Xperia devices Petr Hodina via B4 Relay
@ 2026-01-19 11:58 ` Petr Hodina via B4 Relay
2026-01-19 12:38 ` David Heidelberg
2026-01-20 10:20 ` Konrad Dybcio
2026-01-19 11:58 ` [PATCH 2/2] arm64: dts: qcom: sdm845-sony-xperia-tama: Add bluetooth Petr Hodina via B4 Relay
1 sibling, 2 replies; 9+ messages in thread
From: Petr Hodina via B4 Relay @ 2026-01-19 11:58 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, David Heidelberg
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel, Petr Hodina
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)
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] 9+ messages in thread
* [PATCH 2/2] arm64: dts: qcom: sdm845-sony-xperia-tama: Add bluetooth
2026-01-19 11:58 [PATCH 0/2] Enable uart and bluetooth for Xperia devices Petr Hodina via B4 Relay
2026-01-19 11:58 ` [PATCH 1/2] arm64: dts: qcom: sdm845-sony-xperia-tama: Correct uart instances Petr Hodina via B4 Relay
@ 2026-01-19 11:58 ` Petr Hodina via B4 Relay
2026-01-19 12:15 ` Dmitry Baryshkov
` (2 more replies)
1 sibling, 3 replies; 9+ messages in thread
From: Petr Hodina via B4 Relay @ 2026-01-19 11:58 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, David Heidelberg
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel, Petr Hodina
From: Petr Hodina <petr.hodina@protonmail.com>
Enable the bluetooth interface on the uart6
Signed-off-by: Petr Hodina <petr.hodina@protonmail.com>
---
arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi | 17 +++++++++++++++++
1 file changed, 17 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..f23f9757a08b 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,23 @@ int-pins {
&uart6 {
status = "okay";
+
+ bluetooth {
+ compatible = "qcom,wcn3990-bt";
+
+ /*
+ * This path is relative to the qca/
+ * subdir under lib/firmware.
+ */
+ firmware-name = "akatsuki/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] 9+ messages in thread
* Re: [PATCH 2/2] arm64: dts: qcom: sdm845-sony-xperia-tama: Add bluetooth
2026-01-19 11:58 ` [PATCH 2/2] arm64: dts: qcom: sdm845-sony-xperia-tama: Add bluetooth Petr Hodina via B4 Relay
@ 2026-01-19 12:15 ` Dmitry Baryshkov
2026-01-19 12:37 ` David Heidelberg
2026-01-20 10:22 ` Konrad Dybcio
2 siblings, 0 replies; 9+ messages in thread
From: Dmitry Baryshkov @ 2026-01-19 12:15 UTC (permalink / raw)
To: petr.hodina
Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, David Heidelberg, linux-arm-msm, devicetree,
linux-kernel, phone-devel
On Mon, Jan 19, 2026 at 12:58:53PM +0100, Petr Hodina via B4 Relay wrote:
> From: Petr Hodina <petr.hodina@protonmail.com>
>
> Enable the bluetooth interface on the uart6
>
> Signed-off-by: Petr Hodina <petr.hodina@protonmail.com>
> ---
> arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi | 17 +++++++++++++++++
> 1 file changed, 17 insertions(+)
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 2/2] arm64: dts: qcom: sdm845-sony-xperia-tama: Add bluetooth
2026-01-19 11:58 ` [PATCH 2/2] arm64: dts: qcom: sdm845-sony-xperia-tama: Add bluetooth Petr Hodina via B4 Relay
2026-01-19 12:15 ` Dmitry Baryshkov
@ 2026-01-19 12:37 ` David Heidelberg
2026-01-20 10:22 ` Konrad Dybcio
2 siblings, 0 replies; 9+ messages in thread
From: David Heidelberg @ 2026-01-19 12:37 UTC (permalink / raw)
To: petr.hodina, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel
On 19/01/2026 12:58, Petr Hodina via B4 Relay wrote:
> From: Petr Hodina <petr.hodina@protonmail.com>
>
> Enable the bluetooth interface on the uart6
>
> Signed-off-by: Petr Hodina <petr.hodina@protonmail.com>
> ---
> arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi | 17 +++++++++++++++++
> 1 file changed, 17 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..f23f9757a08b 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,23 @@ int-pins {
>
> &uart6 {
> status = "okay";
> +
> + bluetooth {
> + compatible = "qcom,wcn3990-bt";
> +
> + /*
> + * This path is relative to the qca/
> + * subdir under lib/firmware.
> + */
> + firmware-name = "akatsuki/crnv21.bin";
Looks good, thou the path should follow `$Vendor/$codename` pattern.
In general, if it's generic firmware, fw path here should be
Sony/tama/
otherwise LGTM.
David
> +
> + vddio-supply = <&vreg_s3a_1p3>;
> + vddxo-supply = <&vreg_s5a_1p9>;
> + vddrf-supply = <&vreg_l17a_1p3>;
> + vddch0-supply = <&vreg_l25a_3p0>;
> +
> + max-speed = <3200000>;
> + };
> };
>
> &uart9 {
>
--
David Heidelberg
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 1/2] arm64: dts: qcom: sdm845-sony-xperia-tama: Correct uart instances
2026-01-19 11:58 ` [PATCH 1/2] arm64: dts: qcom: sdm845-sony-xperia-tama: Correct uart instances Petr Hodina via B4 Relay
@ 2026-01-19 12:38 ` David Heidelberg
2026-01-20 10:20 ` Konrad Dybcio
1 sibling, 0 replies; 9+ messages in thread
From: David Heidelberg @ 2026-01-19 12:38 UTC (permalink / raw)
To: petr.hodina, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel
On 19/01/2026 12:58, Petr Hodina via B4 Relay wrote:
> 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)
>
> 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(-)
>
Thank you!
Reviewed-by: David Heidelberg <david@ixit.cz>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 1/2] arm64: dts: qcom: sdm845-sony-xperia-tama: Correct uart instances
2026-01-19 11:58 ` [PATCH 1/2] arm64: dts: qcom: sdm845-sony-xperia-tama: Correct uart instances Petr Hodina via B4 Relay
2026-01-19 12:38 ` David Heidelberg
@ 2026-01-20 10:20 ` Konrad Dybcio
1 sibling, 0 replies; 9+ messages in thread
From: Konrad Dybcio @ 2026-01-20 10:20 UTC (permalink / raw)
To: petr.hodina, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, David Heidelberg
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel
On 1/19/26 12:58 PM, Petr Hodina via B4 Relay wrote:
> 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)
>
> Signed-off-by: Petr Hodina <petr.hodina@protonmail.com>
> ---
It would make sense to add a note why this is a useful change (i.e.
most OSes would probably assume serial0 is the console UART and
sending that to the bluetooth chip is no good)
With that
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 2/2] arm64: dts: qcom: sdm845-sony-xperia-tama: Add bluetooth
2026-01-19 11:58 ` [PATCH 2/2] arm64: dts: qcom: sdm845-sony-xperia-tama: Add bluetooth Petr Hodina via B4 Relay
2026-01-19 12:15 ` Dmitry Baryshkov
2026-01-19 12:37 ` David Heidelberg
@ 2026-01-20 10:22 ` Konrad Dybcio
2026-01-20 23:01 ` Dmitry Baryshkov
2 siblings, 1 reply; 9+ messages in thread
From: Konrad Dybcio @ 2026-01-20 10:22 UTC (permalink / raw)
To: petr.hodina, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, David Heidelberg
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel
On 1/19/26 12:58 PM, Petr Hodina via B4 Relay wrote:
> From: Petr Hodina <petr.hodina@protonmail.com>
>
> Enable the bluetooth interface on the uart6
>
> Signed-off-by: Petr Hodina <petr.hodina@protonmail.com>
> ---
> arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi | 17 +++++++++++++++++
> 1 file changed, 17 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..f23f9757a08b 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,23 @@ int-pins {
>
> &uart6 {
> status = "okay";
> +
> + bluetooth {
> + compatible = "qcom,wcn3990-bt";
> +
> + /*
> + * This path is relative to the qca/
> + * subdir under lib/firmware.
> + */
> + firmware-name = "akatsuki/crnv21.bin";
'akatsuki' is the codename of the Xperia XZ3 specifically, whereas
you declare this in the common file.
If they all should/can use the same binary, let's rename the path and
if they have to be separate, let's declare that
You can probably grab the firmware images for all three (four actually
but I don't know if anyone has the XZ2P) devices, dump it from the
bluetooth/vendor/firmware partition (can't recall where specifically)
and diff the files
Konrad
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 2/2] arm64: dts: qcom: sdm845-sony-xperia-tama: Add bluetooth
2026-01-20 10:22 ` Konrad Dybcio
@ 2026-01-20 23:01 ` Dmitry Baryshkov
0 siblings, 0 replies; 9+ messages in thread
From: Dmitry Baryshkov @ 2026-01-20 23:01 UTC (permalink / raw)
To: Konrad Dybcio
Cc: petr.hodina, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, David Heidelberg,
linux-arm-msm, devicetree, linux-kernel, phone-devel
On Tue, Jan 20, 2026 at 11:22:51AM +0100, Konrad Dybcio wrote:
> On 1/19/26 12:58 PM, Petr Hodina via B4 Relay wrote:
> > From: Petr Hodina <petr.hodina@protonmail.com>
> >
> > Enable the bluetooth interface on the uart6
> >
> > Signed-off-by: Petr Hodina <petr.hodina@protonmail.com>
> > ---
> > arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi | 17 +++++++++++++++++
> > 1 file changed, 17 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..f23f9757a08b 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,23 @@ int-pins {
> >
> > &uart6 {
> > status = "okay";
> > +
> > + bluetooth {
> > + compatible = "qcom,wcn3990-bt";
> > +
> > + /*
> > + * This path is relative to the qca/
> > + * subdir under lib/firmware.
> > + */
> > + firmware-name = "akatsuki/crnv21.bin";
>
> 'akatsuki' is the codename of the Xperia XZ3 specifically, whereas
> you declare this in the common file.
>
> If they all should/can use the same binary, let's rename the path and
> if they have to be separate, let's declare that
>
> You can probably grab the firmware images for all three (four actually
> but I don't know if anyone has the XZ2P) devices, dump it from the
> bluetooth/vendor/firmware partition (can't recall where specifically)
> and diff the files
I think it's usually bluetooth_<ab>. Corresponding image name is
BTFM.bin (if you have binary images).
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2026-01-20 23:01 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-19 11:58 [PATCH 0/2] Enable uart and bluetooth for Xperia devices Petr Hodina via B4 Relay
2026-01-19 11:58 ` [PATCH 1/2] arm64: dts: qcom: sdm845-sony-xperia-tama: Correct uart instances Petr Hodina via B4 Relay
2026-01-19 12:38 ` David Heidelberg
2026-01-20 10:20 ` Konrad Dybcio
2026-01-19 11:58 ` [PATCH 2/2] arm64: dts: qcom: sdm845-sony-xperia-tama: Add bluetooth Petr Hodina via B4 Relay
2026-01-19 12:15 ` Dmitry Baryshkov
2026-01-19 12:37 ` David Heidelberg
2026-01-20 10:22 ` Konrad Dybcio
2026-01-20 23:01 ` Dmitry Baryshkov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome