On Sat, Nov 23, 2024 at 01:58:56PM +0100, Maud Spierings wrote:
> Add bluetooth for the asus vivobook s15
> 
> Signed-off-by: Maud Spierings <[email protected]>
> ---
>  .../boot/dts/qcom/x1e80100-asus-vivobook-s15.dts   | 24 
> ++++++++++++++++++++++
>  1 file changed, 24 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/x1e80100-asus-vivobook-s15.dts 
> b/arch/arm64/boot/dts/qcom/x1e80100-asus-vivobook-s15.dts
> index 
> d0bee4b6fc0be6fe40d335f4d50dde495853b315..caf7509692db84c69ad375b5dd07054ac0adcb52
>  100644
> --- a/arch/arm64/boot/dts/qcom/x1e80100-asus-vivobook-s15.dts
> +++ b/arch/arm64/boot/dts/qcom/x1e80100-asus-vivobook-s15.dts
> @@ -18,6 +18,11 @@ / {
>       compatible = "asus,vivobook-s15", "qcom,x1e80100";
>       chassis-type = "laptop";
>  
> +     aliases {
> +             serial0 = &uart21;
> +             serial1 = &uart14;
> +     };
> +
>       gpio-keys {
>               compatible = "gpio-keys";
>               pinctrl-0 = <&hall_int_n_default>;
> @@ -545,6 +550,14 @@ &tlmm {
>                              <44 4>, /* SPI (TPM) */
>                              <238 1>; /* UFS Reset */
>  
> +     bt_en_default: bt-en-sleep {
> +             pins = "gpio116";
> +             function = "gpio";
> +             output-low;
> +             bias-disable;
> +             qcom,drive-strength = <16>;

Hm? There is no such property for TLMM. Which node is it?

> +     };
> +
>       edp_reg_en: edp-reg-en-state {
>               pins = "gpio70";
>               function = "gpio";
> @@ -624,6 +637,17 @@ tpad_default: tpad-default-state {
>       };
>  };
>  
> +&uart14 {
> +     status = "okay";

Missing blank line

> +     bluetooth: bt_wcn7850 {

Underscores are not allowed in node names.

Node names should be generic. See also an explanation and list of
examples (not exhaustive) in DT specification:
https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation

Best regards,
Krzysztof

Reply via email to