Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp3494216pxb; Tue, 20 Apr 2021 09:28:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy4AO5NAPJb41ziWgVB+Ju2j3dqI5Hw98fWr1W2kA1nPgVnkZr+wPX2PvqQP18lnOX/A3j0 X-Received: by 2002:a17:90a:4e0b:: with SMTP id n11mr5980790pjh.108.1618936115701; Tue, 20 Apr 2021 09:28:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618936115; cv=none; d=google.com; s=arc-20160816; b=PCEmx2YZFQmSvvf6juv/R/mVIn0I3kb0PtGeyrNckEZ0By5w5ApLjva887o1czwVNS HoxdvDuewxtFZ5dCNdMPw4GjYqpoPC7okzcM1NAO9kHDtGJvEZDW3ImU8BEZ5fzeNG4o E5vLB9IfXBVLhELC35qDW02zBtXPL2iwHCuhLS5GYknmheQjqgg3Ir+Rp//sK6X/jmAm FjEmrm2JgoZVE5Yhe9vhhskJhLeIkJtHKZ8zcaLbiX/JrIP8dCITzOgW8YWYPgNLcHkC EYfHisaQmMN9G+a9aBPzX35UfXYXWokm1FWQGl/c66D0fDpYMCiUjK+4cDqw7bzSeKBt jz+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=xeIvoFmmxsTVitnHdaBD3/MTkIpfD8bx5WYzlGgEA+w=; b=UiyWzcVQP5TA11bCbiocOFuxIWsOGv21+6oVquMWeV4hFL/AQ+/OZ7b0dBbAJfl6HO JKehV59tlXDuB7GlG0jpbDhGwQ0WMhDmE0s0HyCjjUl/uCIoVjLThXUQn7aC9yN2wpPX ZGMiZzkmEFLw7HajJeVkJEaUY94R0s0UzHiqmPZYHpGSgi2qJR5Sy3TdClu10oaF5Y7/ L6UMwqQUMxS3WYHLC6BUX5ea1lmiSu392PkhtZDh+ZLWMpVACxSQRXImiyJJ1s9VrxKQ SX/4BPPL+Cthfbhfg7UuM6oUwUV2Vp0kTNhk8Ieec7SqdpI/1UbhZRPaPSpc3zYQi7fV rVSA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 h12si21373948pfk.55.2021.04.20.09.28.23; Tue, 20 Apr 2021 09:28:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233161AbhDTQ2L (ORCPT + 99 others); Tue, 20 Apr 2021 12:28:11 -0400 Received: from alexa-out.qualcomm.com ([129.46.98.28]:59791 "EHLO alexa-out.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232504AbhDTQ2F (ORCPT ); Tue, 20 Apr 2021 12:28:05 -0400 Received: from ironmsg08-lv.qualcomm.com ([10.47.202.152]) by alexa-out.qualcomm.com with ESMTP; 20 Apr 2021 09:27:31 -0700 X-QCInternal: smtphost Received: from ironmsg02-blr.qualcomm.com ([10.86.208.131]) by ironmsg08-lv.qualcomm.com with ESMTP/TLS/AES256-SHA; 20 Apr 2021 09:27:28 -0700 X-QCInternal: smtphost Received: from gubbaven-linux.qualcomm.com ([10.206.64.32]) by ironmsg02-blr.qualcomm.com with ESMTP; 20 Apr 2021 21:56:55 +0530 Received: by gubbaven-linux.qualcomm.com (Postfix, from userid 2365015) id 2BD06220D0; Tue, 20 Apr 2021 21:56:55 +0530 (IST) From: Venkata Lakshmi Narayana Gubba To: marcel@holtmann.org, johan.hedberg@gmail.com, devicetree@vger.kernel.org Cc: mka@chromium.org, linux-kernel@vger.kernel.org, linux-bluetooth@vger.kernel.org, hemantg@codeaurora.org, linux-arm-msm@vger.kernel.org, bgodavar@codeaurora.org, rjliao@codeaurora.org, hbandi@codeaurora.org, abhishekpandit@chromium.org, Venkata Lakshmi Narayana Gubba Subject: [PATCH v2 3/3] dt-bindings: net: bluetooth: Add device tree bindings for QTI chip wcn6750 Date: Tue, 20 Apr 2021 21:56:50 +0530 Message-Id: <1618936010-16579-4-git-send-email-gubbaven@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1618936010-16579-1-git-send-email-gubbaven@codeaurora.org> References: <1618936010-16579-1-git-send-email-gubbaven@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch enables regulators and gpios for the Qualcomm Bluetooth wcn6750 controller. Signed-off-by: Venkata Lakshmi Narayana Gubba --- .../bindings/net/qualcomm-bluetooth.yaml | 54 +++++++++++++++++++++- 1 file changed, 53 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/net/qualcomm-bluetooth.yaml b/Documentation/devicetree/bindings/net/qualcomm-bluetooth.yaml index 55cd995..1ceb02b 100644 --- a/Documentation/devicetree/bindings/net/qualcomm-bluetooth.yaml +++ b/Documentation/devicetree/bindings/net/qualcomm-bluetooth.yaml @@ -21,11 +21,17 @@ properties: - qcom,wcn3990-bt - qcom,wcn3991-bt - qcom,wcn3998-bt - - qcom,qca6390-bt + - qcom,qca6390-bt + - qcom,wcn6750-bt enable-gpios: maxItems: 1 description: gpio specifier used to enable chip + + swctrl-gpios: + maxItems: 1 + description: gpio specifier is used to find status + of clock supply to SoC clocks: maxItems: 1 @@ -43,6 +49,30 @@ properties: vddch0-supply: description: VDD_CH0 supply regulator handle + vddaon-supply: + description: VDD_AON supply regulator handle + + vddbtcxmx-supply: + description: VDD_BT_CXMX supply regualtor handle + + vddrfacmn-supply: + description: VDD_RFA_CMN supply regulator handle + + vddrfa0p8-supply: + description: VDD_RFA_0P8 suppply regulator handle + + vddrfa1p7-supply: + description: VDD_RFA_1P7 supply regulator handle + + vddrfa1p2-supply: + description: VDD_RFA_1P2 supply regulator handle + + vddrfa2p2-supply: + description: VDD_RFA_2P2 supply regulator handle + + vddasd-supply: + description: VDD_ASD supply regulator handle + max-speed: description: see Documentation/devicetree/bindings/serial/serial.yaml @@ -85,3 +115,25 @@ examples: firmware-name = "crnv21.bin"; }; }; + - | + uart { + + bluetooth { + 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>; + 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>; + firmware-name = "msnv11.bin"; + }; + }; -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation