Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2264864pxb; Tue, 12 Oct 2021 02:57:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxYHy/J2tZpn4XJz0ZGcb6yuRy/19PNPKjVDYbfjFi0i4z76A7jSXyB4Ziuhb08ocL4FkvD X-Received: by 2002:a17:90b:696:: with SMTP id m22mr4929544pjz.108.1634032656121; Tue, 12 Oct 2021 02:57:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634032656; cv=none; d=google.com; s=arc-20160816; b=rWyVErAWj+Dl1zlZ3ET9goEYvAHcCTxSfz7fZzDViYKfVmJrg1FDWqNbD3E/0lYrjK p2A59xdlC457SUfPDGtGmPN0O7SswQnzhTKt4Qnapi9J22za1IjksqV9lEWRB+Klj0DX 5NiIsFYeXIaLPB93RPz3ZJyreShzmyruWZH3ApCgG31tCzMD0pjql1VkHOsTn/U0VeyL 59XWVKNHdiZMv/BtrqrfT6mutF7AJI3QnQZiKyVhDdwKZl6qlFTidAtObjVv9EMo+XK8 151UR362k5fZAt5nFUZEGSNLep3Ud/VkA06rALJ9bQKM+O679H+ftaxmZddANAIL7kXV 8/rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version :sender:dkim-signature; bh=5qSQYtrGHjpBWl/ojCdJhEuYiM0d4NPaFPe3p9m6H/w=; b=RYXliXT0G7WVRRSSlXtO7iiKOEf3t5UxLHQFqrHJQHBv/cG+LAphA3KIM9pKm5lX77 x9m63cYiMlsp23u2rIiEfyi3E9v71JjSacVKdKI5hHyEr4yJBQM9LRz5yzJ/juDbdCeW ZZub1/mMZlsKu8UCzRe1QNEWre6w0QhLHfYX3Bxpk15nVjSS2jmLVTwWsafhyWGcKdaO 9aK5jDoVKvAh6zTKzq9TN8akCnFrXcVeq8ldSLaA8Yy7vNJDaxWrMhgzUpBh6wPGTDds I41t2ztuSZlu7VmPXtDL3MBwbCuRhfO4OKEKxIZ1wQlMMwuipTTo5xyUlZb1WBweN/K5 6Aeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b="Aqf/9lFm"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u4si10118530pfk.209.2021.10.12.02.56.47; Tue, 12 Oct 2021 02:57:36 -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=@mg.codeaurora.org header.s=smtp header.b="Aqf/9lFm"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235534AbhJLJ5e (ORCPT + 99 others); Tue, 12 Oct 2021 05:57:34 -0400 Received: from so254-9.mailgun.net ([198.61.254.9]:30143 "EHLO so254-9.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235263AbhJLJ5e (ORCPT ); Tue, 12 Oct 2021 05:57:34 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1634032533; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=5qSQYtrGHjpBWl/ojCdJhEuYiM0d4NPaFPe3p9m6H/w=; b=Aqf/9lFmnt1sIUODnSWdosourSez/yRXRhla9PscFzwkyEYLiqVZl56rWHY52IR8qnXYTs/m L6vcIs9WxXzJvVmZmNOnT7ZsaEzj35njiwH8fMt1K7orQEFI3aysbB83ymbo/aRAvXf1teVV tKwD7iH6Fzt7tMhyHIsNfDUHHE4= X-Mailgun-Sending-Ip: 198.61.254.9 X-Mailgun-Sid: WyI2MTA3ZSIsICJsaW51eC1ibHVldG9vdGhAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n01.prod.us-west-2.postgun.com with SMTP id 61655b8103355859c84bb50d (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Tue, 12 Oct 2021 09:55:13 GMT Sender: bgodavar=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id F012AC4360C; Tue, 12 Oct 2021 09:55:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: bgodavar) by smtp.codeaurora.org (Postfix) with ESMTPSA id 45EAEC4338F; Tue, 12 Oct 2021 09:55:11 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 12 Oct 2021 15:25:11 +0530 From: bgodavar@codeaurora.org To: Matthias Kaehlcke Cc: marcel@holtmann.org, bjorn.andersson@linaro.org, johan.hedberg@gmail.com, linux-kernel@vger.kernel.org, linux-bluetooth@vger.kernel.org, hemantg@codeaurora.org, linux-arm-msm@vger.kernel.org, rjliao@codeaurora.org, pharish@codeaurora.org, abhishekpandit@chromium.org Subject: Re: [PATCH v1 1/2] arm64: dts: qcom: sc7280: Add bluetooth node on SC7280 IDP board In-Reply-To: References: <1633523403-32264-1-git-send-email-bgodavar@codeaurora.org> Message-ID: X-Sender: bgodavar@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Matthias, On 2021-10-06 22:56, Matthias Kaehlcke wrote: > On Wed, Oct 06, 2021 at 06:00:02PM +0530, Balakrishna Godavarthi wrote: >> Add bluetooth SoC WCN6750 node for SC7280 IDP board. >> >> Signed-off-by: Balakrishna Godavarthi >> --- >> arch/arm64/boot/dts/qcom/sc7280-idp.dts | 2 ++ >> arch/arm64/boot/dts/qcom/sc7280-idp.dtsi | 31 >> +++++++++++++++++++++++++++++++ >> 2 files changed, 33 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/qcom/sc7280-idp.dts >> b/arch/arm64/boot/dts/qcom/sc7280-idp.dts >> index 64fc22a..d3f5393 100644 >> --- a/arch/arm64/boot/dts/qcom/sc7280-idp.dts >> +++ b/arch/arm64/boot/dts/qcom/sc7280-idp.dts >> @@ -17,6 +17,8 @@ >> >> aliases { >> serial0 = &uart5; >> + bluetooth0 = &bluetooth; >> + hsuart0 = &uart7; > > Sort aliases alphabetically. > > Also 'hsuart' should not be used, as Dmitry already pointed out on > patch 2/2. I suppose it should be 'serial1', as in 'second serial > port of the board'. > [Bala]: will update it. >> }; >> >> chosen { >> diff --git a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi >> b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi >> index 272d5ca..05aa729 100644 >> --- a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi >> +++ b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi >> @@ -393,6 +393,24 @@ >> <&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 { >> + compatible = "qcom,wcn6750-bt"; >> + pinctrl-names = "default"; >> + pinctrl-0 = <&bt_en_default>; > > Do we also need a pinctrl entry for 'swctrl' ? [Bala]: It is in input to APPS and op of BT SoC. I don't think to set any configuration as BT SOC will take care of it. > >> + enable-gpios = <&tlmm 85 GPIO_ACTIVE_HIGH>; /* BT_EN */ >> + swctrl-gpios = <&tlmm 86 GPIO_ACTIVE_HIGH>; /* SW_CTRL */ > > The comments aren't useful, the property names say the same. > [Bala]: will remove them >> + vddio-supply = <&vreg_l19b_1p8>; >> + 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 +522,19 @@ >> */ >> bias-pull-up; >> }; >> + >> + bt_en_default: bt_en_default { > > bt_en: bt-en { > >> + pinmux { >> + pins = "gpio85"; >> + function = "gpio"; >> + }; >> + pinconf { >> + pins = "gpio85"; >> + drive-strength = <2>; >> + output-low; >> + bias-pull-down; >> + }; > > No pinmux & pinconf nodes, see configuration for other pins. [Bala]: Thanks for pointing will update in next version