[PATCH 2/2] arm64: dts: qcom: sdm845-sony-xperia-tama: Add bluetooth

Petr Hodina via B4 Relay posted 2 patches 2 weeks, 6 days ago
There is a newer version of this series
[PATCH 2/2] arm64: dts: qcom: sdm845-sony-xperia-tama: Add bluetooth
Posted by Petr Hodina via B4 Relay 2 weeks, 6 days ago
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
Re: [PATCH 2/2] arm64: dts: qcom: sdm845-sony-xperia-tama: Add bluetooth
Posted by Konrad Dybcio 2 weeks, 5 days ago
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
Re: [PATCH 2/2] arm64: dts: qcom: sdm845-sony-xperia-tama: Add bluetooth
Posted by Dmitry Baryshkov 2 weeks, 5 days ago
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
Re: [PATCH 2/2] arm64: dts: qcom: sdm845-sony-xperia-tama: Add bluetooth
Posted by David Heidelberg 2 weeks, 6 days ago
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
Re: [PATCH 2/2] arm64: dts: qcom: sdm845-sony-xperia-tama: Add bluetooth
Posted by Dmitry Baryshkov 2 weeks, 6 days ago
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