Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp1573667pxy; Thu, 6 May 2021 10:34:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwoaJCT8YAMJFQu1EHDrXsaoihYkmzDK/PybQ4TvhMa816BjxWTbrgKHvECiPQH0Z1LpAbV X-Received: by 2002:a17:902:8e88:b029:ee:b947:d7df with SMTP id bg8-20020a1709028e88b02900eeb947d7dfmr5407762plb.48.1620322489277; Thu, 06 May 2021 10:34:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620322489; cv=none; d=google.com; s=arc-20160816; b=EIjpct4AiNeP00pMymwzLSY5Y9HsqrN1ALzILDxQHR0kOOI4dE7PF0/dp/uZ0XvezT VOmfbyrM1K5+9sRE0QGuj210Hw5HCwd4aRGUIlsVw8uNWn3yupGhkiZuM5SX+E1eOznw tbCit5QyMc831YQlzisqCBYg/TZEzN0EV0FSMjVUWz8tvNu/59ZVJDtEfSLNVhzpSWme Pl7931y4B2smSUtDFC5fE9mr7rqgcBxZl+5rBhguyZHRb7szyEGyOpvxH7EkagtOc+fj m4BPm9g1WXD8V0fgls+cgqH5hRMpzmPNSRzhK0n88XQJ4tFGgpXz48dzPzNDLosN2h9M R2mQ== 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=QpMDX2bgB69Fz0zCmqyVld1MXhpTql5QWNj7Xoz5nnY=; b=AyI0o0U5DHzaqu0TxLJ/Rpv6o54M9XZMdW4dPvs3M9PpELcAO0bRMZ8iuogfdJuNi3 WhzsmkqYJZsPbBPF1L/8RLQ4EdeSZpa/1J+HgrbWCf5JvotAmzIpOn4ut+4UCGotLMmy i/eODej7jUh+rmzOUUoYskc2cz3tPo6F/7zb4GaBZUouN3Mn1RuGkyhGvJ+H2MasMzE2 Rpx9O/GQymr7sszT3qn8a8+sxApPESlWQIxb3mVtSOS79MXSQEgBvndEPHJ8qyy4YQsO /NKIa8dJxqIOEFPhY+Kr/EBdkutims/CZYvJk1i/6+MnbhV6FEy9pLSZxjBNy+JYcbzF 03tw== ARC-Authentication-Results: i=1; mx.google.com; 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 z8si1089283pgl.224.2021.05.06.10.34.35; Thu, 06 May 2021 10:34:49 -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; 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 S236313AbhEFRez (ORCPT + 99 others); Thu, 6 May 2021 13:34:55 -0400 Received: from alexa-out.qualcomm.com ([129.46.98.28]:43156 "EHLO alexa-out.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236291AbhEFRex (ORCPT ); Thu, 6 May 2021 13:34:53 -0400 Received: from ironmsg09-lv.qualcomm.com ([10.47.202.153]) by alexa-out.qualcomm.com with ESMTP; 06 May 2021 10:33:55 -0700 X-QCInternal: smtphost Received: from ironmsg02-blr.qualcomm.com ([10.86.208.131]) by ironmsg09-lv.qualcomm.com with ESMTP/TLS/AES256-SHA; 06 May 2021 10:33:54 -0700 X-QCInternal: smtphost Received: from gubbaven-linux.qualcomm.com ([10.206.64.32]) by ironmsg02-blr.qualcomm.com with ESMTP; 06 May 2021 23:03:16 +0530 Received: by gubbaven-linux.qualcomm.com (Postfix, from userid 2365015) id C878622008; Thu, 6 May 2021 23:03:14 +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 v3 5/5] dt-bindings: net: bluetooth: Add device tree bindings for QTI chip wcn6750 Date: Thu, 6 May 2021 23:03:12 +0530 Message-Id: <1620322392-27148-6-git-send-email-gubbaven@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1620322392-27148-1-git-send-email-gubbaven@codeaurora.org> References: <1620322392-27148-1-git-send-email-gubbaven@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@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 | 71 ++++++++++++++++++++++ 1 file changed, 71 insertions(+) diff --git a/Documentation/devicetree/bindings/net/qualcomm-bluetooth.yaml b/Documentation/devicetree/bindings/net/qualcomm-bluetooth.yaml index 3f3ec4d..0a90335 100644 --- a/Documentation/devicetree/bindings/net/qualcomm-bluetooth.yaml +++ b/Documentation/devicetree/bindings/net/qualcomm-bluetooth.yaml @@ -21,11 +21,17 @@ properties: - qcom,wcn3991-bt - qcom,wcn3998-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 description: clock provided to the controller (SUSCLK_32KHZ) @@ -42,6 +48,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 regulator 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 @@ -84,6 +114,25 @@ allOf: - vddrf-supply - vddch0-supply + - if: + properties: + compatible: + contains: + enum: + - qcom,wcn6750-bt + then: + required: + - enable-gpios + - swctrl-gpios + - vddio-supply + - vddaon-supply + - vddbtcxmx-supply + - vddrfacmn-supply + - vddrfa0p8-supply + - vddrfa1p7-supply + - vddrfa1p2-supply + - vddasd-supply + examples: - | #include @@ -109,3 +158,25 @@ examples: firmware-name = "crnv21.bin"; }; }; + - | + serial { + + 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