diff mbox series

[v1,2/2] arm64: dts: qcom: sc7280: update bluetooth node in SC7280 IDP2 board

Message ID 1633523403-32264-2-git-send-email-bgodavar@codeaurora.org (mailing list archive)
State Handled Elsewhere
Headers show
Series [v1,1/2] arm64: dts: qcom: sc7280: Add bluetooth node on SC7280 IDP board | expand

Commit Message

Balakrishna Godavarthi Oct. 6, 2021, 12:30 p.m. UTC
This patch updates bluetooth node in SC7280 IDP2 board.

Signed-off-by: Balakrishna Godavarthi <bgodavar@codeaurora.org>
---
 arch/arm64/boot/dts/qcom/sc7280-idp2.dts | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Dmitry Baryshkov Oct. 6, 2021, 4:48 p.m. UTC | #1
On 06/10/2021 15:30, Balakrishna Godavarthi wrote:
> This patch updates bluetooth node in SC7280 IDP2 board.
> 
> Signed-off-by: Balakrishna Godavarthi <bgodavar@codeaurora.org>
> ---
>   arch/arm64/boot/dts/qcom/sc7280-idp2.dts | 6 ++++++
>   1 file changed, 6 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/sc7280-idp2.dts b/arch/arm64/boot/dts/qcom/sc7280-idp2.dts
> index 1fc2add..5c8d54b 100644
> --- a/arch/arm64/boot/dts/qcom/sc7280-idp2.dts
> +++ b/arch/arm64/boot/dts/qcom/sc7280-idp2.dts
> @@ -15,9 +15,15 @@
>   
>   	aliases {
>   		serial0 = &uart5;
> +		bluetooth0 = &bluetooth;
> +		hsuart0 = &uart7;

hsuartX does not follow existing aliases definition, so it was frowned 
upon by Rob Herring in the past.

>   	};
>   
>   	chosen {
>   		stdout-path = "serial0:115200n8";
>   	};
>   };
> +
> +&bluetooth: wcn6750-bt {
> +	vddio-supply = <&vreg_l18b_1p8>;
> +};
>
Matthias Kaehlcke Oct. 6, 2021, 5:39 p.m. UTC | #2
On Wed, Oct 06, 2021 at 06:00:03PM +0530, Balakrishna Godavarthi wrote:
> Subject: arm64: dts: qcom: sc7280: update bluetooth node in SC7280 IDP2 board

Not super helpful, what does 'update' mean?

It might be easier to have a single patch for both IDP boards, since
the Bluetooth node is added in the common sc7280-idp.dtsi board,
rather than explaining what this patch does :)

> This patch updates bluetooth node in SC7280 IDP2 board.
> 
> Signed-off-by: Balakrishna Godavarthi <bgodavar@codeaurora.org>
> ---
>  arch/arm64/boot/dts/qcom/sc7280-idp2.dts | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/sc7280-idp2.dts b/arch/arm64/boot/dts/qcom/sc7280-idp2.dts
> index 1fc2add..5c8d54b 100644
> --- a/arch/arm64/boot/dts/qcom/sc7280-idp2.dts
> +++ b/arch/arm64/boot/dts/qcom/sc7280-idp2.dts
> @@ -15,9 +15,15 @@
>  
>  	aliases {
>  		serial0 = &uart5;
> +		bluetooth0 = &bluetooth;
> +		hsuart0 = &uart7;
>  	};

Sort aliases alphabetically

>  
>  	chosen {
>  		stdout-path = "serial0:115200n8";
>  	};
>  };
> +
> +&bluetooth: wcn6750-bt {

&bluetooth {

> +	vddio-supply = <&vreg_l18b_1p8>;

nit: if it's not really common across IDP boards or a default, you could
leave it unconfigured in sc7280-idp.dtsi, and set in both board files.
Just an idea, with only two boards it doesn't really matter too much.
Balakrishna Godavarthi Oct. 12, 2021, 10:01 a.m. UTC | #3
Hi Matthias,

On 2021-10-06 23:09, Matthias Kaehlcke wrote:
> On Wed, Oct 06, 2021 at 06:00:03PM +0530, Balakrishna Godavarthi wrote:
>> Subject: arm64: dts: qcom: sc7280: update bluetooth node in SC7280 
>> IDP2 board
> 
> Not super helpful, what does 'update' mean?
> 
> It might be easier to have a single patch for both IDP boards, since
> the Bluetooth node is added in the common sc7280-idp.dtsi board,
> rather than explaining what this patch does :)
[Bala]: Sure will have one patch.

> 
>> This patch updates bluetooth node in SC7280 IDP2 board.
>> 
>> Signed-off-by: Balakrishna Godavarthi <bgodavar@codeaurora.org>
>> ---
>>  arch/arm64/boot/dts/qcom/sc7280-idp2.dts | 6 ++++++
>>  1 file changed, 6 insertions(+)
>> 
>> diff --git a/arch/arm64/boot/dts/qcom/sc7280-idp2.dts 
>> b/arch/arm64/boot/dts/qcom/sc7280-idp2.dts
>> index 1fc2add..5c8d54b 100644
>> --- a/arch/arm64/boot/dts/qcom/sc7280-idp2.dts
>> +++ b/arch/arm64/boot/dts/qcom/sc7280-idp2.dts
>> @@ -15,9 +15,15 @@
>> 
>>  	aliases {
>>  		serial0 = &uart5;
>> +		bluetooth0 = &bluetooth;
>> +		hsuart0 = &uart7;
>>  	};
> 
> Sort aliases alphabetically
> 
>> 
>>  	chosen {
>>  		stdout-path = "serial0:115200n8";
>>  	};
>>  };
>> +
>> +&bluetooth: wcn6750-bt {
> 
> &bluetooth {
> 
>> +	vddio-supply = <&vreg_l18b_1p8>;
> 
> nit: if it's not really common across IDP boards or a default, you 
> could
> leave it unconfigured in sc7280-idp.dtsi, and set in both board files.
> Just an idea, with only two boards it doesn't really matter too much.

[Bala]: Sure will update in similar way.
Balakrishna Godavarthi Oct. 12, 2021, 10:02 a.m. UTC | #4
Hi Dmitry,

On 2021-10-06 22:18, Dmitry Baryshkov wrote:
> On 06/10/2021 15:30, Balakrishna Godavarthi wrote:
>> This patch updates bluetooth node in SC7280 IDP2 board.
>> 
>> Signed-off-by: Balakrishna Godavarthi <bgodavar@codeaurora.org>
>> ---
>>   arch/arm64/boot/dts/qcom/sc7280-idp2.dts | 6 ++++++
>>   1 file changed, 6 insertions(+)
>> 
>> diff --git a/arch/arm64/boot/dts/qcom/sc7280-idp2.dts 
>> b/arch/arm64/boot/dts/qcom/sc7280-idp2.dts
>> index 1fc2add..5c8d54b 100644
>> --- a/arch/arm64/boot/dts/qcom/sc7280-idp2.dts
>> +++ b/arch/arm64/boot/dts/qcom/sc7280-idp2.dts
>> @@ -15,9 +15,15 @@
>>     	aliases {
>>   		serial0 = &uart5;
>> +		bluetooth0 = &bluetooth;
>> +		hsuart0 = &uart7;
> 
> hsuartX does not follow existing aliases definition, so it was frowned
> upon by Rob Herring in the past.
> 
[Bala]: Thanks for pointing out will do in similar way.

>>   	};
>>     	chosen {
>>   		stdout-path = "serial0:115200n8";
>>   	};
>>   };
>> +
>> +&bluetooth: wcn6750-bt {
>> +	vddio-supply = <&vreg_l18b_1p8>;
>> +};
>>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/sc7280-idp2.dts b/arch/arm64/boot/dts/qcom/sc7280-idp2.dts
index 1fc2add..5c8d54b 100644
--- a/arch/arm64/boot/dts/qcom/sc7280-idp2.dts
+++ b/arch/arm64/boot/dts/qcom/sc7280-idp2.dts
@@ -15,9 +15,15 @@ 
 
 	aliases {
 		serial0 = &uart5;
+		bluetooth0 = &bluetooth;
+		hsuart0 = &uart7;
 	};
 
 	chosen {
 		stdout-path = "serial0:115200n8";
 	};
 };
+
+&bluetooth: wcn6750-bt {
+	vddio-supply = <&vreg_l18b_1p8>;
+};