From patchwork Tue Apr 24 14:11:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Balakrishna Godavarthi X-Patchwork-Id: 10360095 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D0F9D601BE for ; Tue, 24 Apr 2018 14:12:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C0BB728A99 for ; Tue, 24 Apr 2018 14:12:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B592828CCE; Tue, 24 Apr 2018 14:12:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 097CB28A99 for ; Tue, 24 Apr 2018 14:12:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933339AbeDXOMJ (ORCPT ); Tue, 24 Apr 2018 10:12:09 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:49906 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933448AbeDXOLm (ORCPT ); Tue, 24 Apr 2018 10:11:42 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 9C5B660C65; Tue, 24 Apr 2018 14:11:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1524579101; bh=4zyGzi7oC3tMStR40RsrD/7fCSWeL5p2Pp/hAaNDJEM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aS6zqn4f1DcATWsXaL34QTK3N8F92YLs1/a1EMugm7Ntccdqh3U7pHD/DZKMyDruV aUQQzMauhsppPH3xSykDGYqNAKW7pNp0qGMNYrU7X1IUUe1lwDECqHSC9Ol/hB9Z9N pR9MTXn8qCv2vCXIjGaMiQYDWgGkGzXJVcCPX6K0= Received: from bgodavar-linux.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: bgodavar@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 5A0F36074C; Tue, 24 Apr 2018 14:11:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1524579101; bh=4zyGzi7oC3tMStR40RsrD/7fCSWeL5p2Pp/hAaNDJEM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aS6zqn4f1DcATWsXaL34QTK3N8F92YLs1/a1EMugm7Ntccdqh3U7pHD/DZKMyDruV aUQQzMauhsppPH3xSykDGYqNAKW7pNp0qGMNYrU7X1IUUe1lwDECqHSC9Ol/hB9Z9N pR9MTXn8qCv2vCXIjGaMiQYDWgGkGzXJVcCPX6K0= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 5A0F36074C Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=bgodavar@codeaurora.org From: Balakrishna Godavarthi To: marcel@holtmann.org, johan.hedberg@gmail.com Cc: linux-bluetooth@vger.kernel.org, rtatiya@codeaurora.org, linux-arm-msm@vger.kernel.org, hemantg@codeaurora.org, Balakrishna Godavarthi Subject: [PATCH v3 1/2] dt-bindings: net: bluetooth: Add device tree bindings for QTI chip wcn3990 Date: Tue, 24 Apr 2018 19:41:12 +0530 Message-Id: <1524579073-21572-2-git-send-email-bgodavar@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1524579073-21572-1-git-send-email-bgodavar@codeaurora.org> References: <1524579073-21572-1-git-send-email-bgodavar@codeaurora.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Balakrishna Godavarthi --- .../devicetree/bindings/net/qualcomm-bluetooth.txt | 39 ++++++++++++++++++---- 1 file changed, 32 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/bindings/net/qualcomm-bluetooth.txt b/Documentation/devicetree/bindings/net/qualcomm-bluetooth.txt index 0ea18a5..c81ac04 100644 --- a/Documentation/devicetree/bindings/net/qualcomm-bluetooth.txt +++ b/Documentation/devicetree/bindings/net/qualcomm-bluetooth.txt @@ -1,21 +1,32 @@ -Qualcomm Bluetooth Chips ---------------------- +Qualcomm Technologies Inc Bluetooth Chips +----------------------------------------- This documents the binding structure and common properties for serial -attached Qualcomm devices. +attached Qualcomm Technologies Inc devices. -Serial attached Qualcomm devices shall be a child node of the host UART -device the slave device is attached to. +Serial attached Qualcomm Technologies Inc devices shall be a child node +of the host UART device the slave device is attached to. Required properties: - compatible: should contain one of the following: * "qcom,qca6174-bt" + * "qcom,wcn3990-bt" Optional properties: - enable-gpios: gpio specifier used to enable chip - clocks: clock provided to the controller (SUSCLK_32KHZ) - -Example: + - vddpa-supply: Bluetooth VDD PA regulator handle + - vddio-supply: Bluetooth VDD IO regulator handle + - vddldo-supply: Bluetooth VDD LDO regulator handle. Kept under optional + parameters as some of the chipsets doesn't require ldo or + it may use from same vddio. + - vddxtal-supply: Bluetooth VDD XTAL regulator handle + - vddcore-supply: Bluetooth VDD CORE regulator handle + - vddpwd-supply: Chip power down gpio is required when bluetooth module + and other modules like wifi co-exist in a singe chip and + shares a common gpio to bring chip out of reset. + +Examples: serial@7570000 { label = "BT-UART"; @@ -28,3 +39,17 @@ serial@7570000 { clocks = <&divclk4>; }; }; + +serial@898000 { + label = "BT-UART"; + status = "okay"; + + bluetooth: bt_wcn3990 { + compatible = "qca,wcn3990-bt"; + vddio-supply = <&pm8998_s3>; + vddxtal-supply = <&pm8998_s5>; + vddcore-supply = <&pm8998_l7>; + vddpa-supply = <&pm8998_l17>; + vddldo-supply = <&pm8998_l25>; + }; +};