Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2641544pxb; Tue, 12 Oct 2021 10:27:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwTBjivB9pvCxO1h+TXxPanhQH8pZV/IvSYZTZOwvnhYcyEETMrbccs5DhlJb9tRtin2Xtv X-Received: by 2002:a17:906:7805:: with SMTP id u5mr34718498ejm.26.1634059662712; Tue, 12 Oct 2021 10:27:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634059662; cv=none; d=google.com; s=arc-20160816; b=atgDh2EsOeyXfgH6vDOgEqUIFtXg97ilKF3di2+9XKQTT/02oh2k6jfbJGyKgex40r S2GYd61DYBKCWMeSnuwj0ubK9GuA4jx8YcfRKHtz+xcmc5zQsJvGu8OBSLwB81dy4Ekv YabqGiCKbn/wK6r3IeugO/5honpbz0GR7jT+WaDIwoiGV9ucz9UZNceM0yEQz4vV56CX ZAYkVH7I/id4cUEJw7rShUZ8nTnbb5FmAs658MRLl86V5+4WxJ58kCxb6H3QcOPk7b+K J8DxGaG9H6qNI8KD9jEYTsq1baH9AenHfQlAcISmqT9fe3BSoY9ovZ7K1UvwKD+5s7fs XOjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:user-agent:from :references:in-reply-to:mime-version:dkim-signature; bh=WtGUxGcFjuCHfdY5GXb0D0YOU0tDNV4fZPj+DPhXlYE=; b=x+o5L4yt9YudhAG2+QTmna0wnG+VkX8shCvfbj1/wvxNr8KzXG9ija535jha5MvYm2 dIx3nfoTkdFbCXffiE8xXKpqHjhEcgkH9u5FIrXvDWKd+DfgCwMe8wPfuGM21utuzkTz m1tZS8cVJ+4GGNq30cMDdgRUzgSdXvNsYbIBgN8KPzxJ7joKdv7CXFv+0nAa1Dbo4r0Z Did2A2g/iap+uDuCYJWQT7bSvgfUomm5ObUWrSwwljyvEdxno3ZH9jEIdqSx8hTcpf7u 5qJSse0r2rBOi5/WgHcB8z7qQjz1a0KJWALpvVCCwJH4tzeDWcHgzhPfa6b1nH5BAbq3 VBIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Ygp4ifFU; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m8si11962273eda.236.2021.10.12.10.26.24; Tue, 12 Oct 2021 10:27:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Ygp4ifFU; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229510AbhJLR0X (ORCPT + 99 others); Tue, 12 Oct 2021 13:26:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230463AbhJLR0X (ORCPT ); Tue, 12 Oct 2021 13:26:23 -0400 Received: from mail-ot1-x334.google.com (mail-ot1-x334.google.com [IPv6:2607:f8b0:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A91DC061746 for ; Tue, 12 Oct 2021 10:24:20 -0700 (PDT) Received: by mail-ot1-x334.google.com with SMTP id v2-20020a05683018c200b0054e3acddd91so225527ote.8 for ; Tue, 12 Oct 2021 10:24:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:user-agent:date:message-id :subject:to:cc; bh=WtGUxGcFjuCHfdY5GXb0D0YOU0tDNV4fZPj+DPhXlYE=; b=Ygp4ifFUh4fnPgEXFZgBH9TuzFDWRciRle3R6C/OmN+Tc/gQLgSkXTXTbZRIdnddLR UlzAbrEJvydN+RLG9v95HhKmXtQ4EsNuUd3x32f2XMCsp23nzD6HWws72TAOktZCnwHl +N28WqLe+HezX9sOMCLZ84clVPeX8L0/dGnvk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:in-reply-to:references:from :user-agent:date:message-id:subject:to:cc; bh=WtGUxGcFjuCHfdY5GXb0D0YOU0tDNV4fZPj+DPhXlYE=; b=U1xSApd2/6O9kcY9Zy0mQtBd1VfCeP7QtXUvzG8hnoi6lz4+pn8h0ontAwL76QTTIQ fHdCLWhhm/NTruRXnD3gT1nf6FPSRl3meSOEfsVbe/PkAJFpeiRziePTXpwmcfYNidSd wyTNVfE+Tr2G2LFJbHkYh9sffgmDdLjX4X4Ck7nDq7xp4yFk/qg1i2rSJg0etqvK2zXK 4Vd/KhSRj9tr7lovO6Z/sLXttfzZbI9t6lIOpwBbF24jwa45I8tqbA21XOKJ0pUqKB10 Tl3l+4rQTdxd1yZOSmQGpC7vE1o4pMp9cS0OUYD//LCKQpe82scaOruEJfiWG3PL4bgR +9pQ== X-Gm-Message-State: AOAM533t+57R7hJTnPrFkB/IeeaQLdxEqgw6PAOloifopcEeqRaNVkJ4 U/EUMSmK2AWGTcedUt64N3lAR33apI6+/ECI5XOlFEK7CBE= X-Received: by 2002:a9d:12f4:: with SMTP id g107mr22637198otg.77.1634059459215; Tue, 12 Oct 2021 10:24:19 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 12 Oct 2021 10:24:18 -0700 MIME-Version: 1.0 In-Reply-To: <1634043698-20256-1-git-send-email-bgodavar@codeaurora.org> References: <1634043698-20256-1-git-send-email-bgodavar@codeaurora.org> From: Stephen Boyd User-Agent: alot/0.9.1 Date: Tue, 12 Oct 2021 10:24:18 -0700 Message-ID: Subject: Re: [PATCH v2] arm64: dts: qcom: sc7280: Add bluetooth node on SC7280 To: Balakrishna Godavarthi , bjorn.andersson@linaro.org, johan.hedberg@gmail.com, marcel@holtmann.org Cc: mka@chromium.org, linux-kernel@vger.kernel.org, linux-bluetooth@vger.kernel.org, hemantg@codeaurora.org, linux-arm-msm@vger.kernel.org, pharish@codeaurora.org, rjliao@codeaurora.org, hbandi@codeaurora.org, saluvala@codeaurora.org, abhishekpandit@chromium.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Quoting Balakrishna Godavarthi (2021-10-12 06:01:38) > diff --git a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi > index 272d5ca..09adc802 100644 > --- a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi > @@ -393,6 +393,23 @@ > <&tlmm 31 IRQ_TYPE_EDGE_FALLING>; > pinctrl-names = "default", "sleep"; > pinctrl-1 = <&qup_uart7_sleep_cts>, <&qup_uart7_sleep_rts>, <&qup_uart7_sleep_tx>, <&qup_uart7_sleep_rx>; > + > + bluetooth: wcn6750-bt { bluetooth: bluetooth { Node names should be generic. > + compatible = "qcom,wcn6750-bt"; > + pinctrl-names = "default"; > + pinctrl-0 = <&bt_en_default>; > + enable-gpios = <&tlmm 85 GPIO_ACTIVE_HIGH>; > + swctrl-gpios = <&tlmm 86 GPIO_ACTIVE_HIGH>; Is there any pinctrl config for gpio 86? > + vddaon-supply = <&vreg_s7b_0p9>; > + vddbtcxmx-supply = <&vreg_s7b_0p9>; > + vddrfacmn-supply = <&vreg_s7b_0p9>; > + vddrfa0p8-supply = <&vreg_s7b_0p9>; > + vddrfa1p7-supply = <&vreg_s1b_1p8>; > + vddrfa1p2-supply = <&vreg_s8b_1p2>; > + vddrfa2p2-supply = <&vreg_s1c_2p2>; > + vddasd-supply = <&vreg_l11c_2p8>; > + max-speed = <3200000>; > + }; > }; > > /* PINCTRL - additions to nodes defined in sc7280.dtsi */ > @@ -504,6 +521,14 @@ > */ > bias-pull-up; > }; > + > + bt_en_default: bt_en_default { bt_en: bt-en { Node names shouldn't have underscores and 'default' is redundant. > + pins = "gpio85"; > + function = "gpio"; > + drive-strength = <2>; > + output-low; > + bias-pull-down; Why is there a pull down on an output gpio? Shouldn't this be bias-disable? > + }; > }; > > &sdc1_on {