linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Balakrishna Godavarthi <bgodavar@codeaurora.org>
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 <bgodavar@codeaurora.org>
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	[thread overview]
Message-ID: <1524579073-21572-2-git-send-email-bgodavar@codeaurora.org> (raw)
In-Reply-To: <1524579073-21572-1-git-send-email-bgodavar@codeaurora.org>

Signed-off-by: Balakrishna Godavarthi <bgodavar@codeaurora.org>
---
 .../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>;
+	};
+};
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

  reply	other threads:[~2018-04-24 14:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-24 14:11 [PATCH v3 0/2] Enable Bluetooth functionality for WCN3990 Balakrishna Godavarthi
2018-04-24 14:11 ` Balakrishna Godavarthi [this message]
2018-04-24 15:17   ` [PATCH v3 1/2] dt-bindings: net: bluetooth: Add device tree bindings for QTI chip wcn3990 Marcel Holtmann
2018-04-24 14:11 ` [PATCH v3 2/2] Bluetooth: Add support for wcn3990 soc Balakrishna Godavarthi
2018-04-24 15:28   ` Marcel Holtmann
2018-04-25  9:14     ` bgodavar
2018-04-26  7:38   ` kbuild test robot
2018-04-26  8:12   ` kbuild test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1524579073-21572-2-git-send-email-bgodavar@codeaurora.org \
    --to=bgodavar@codeaurora.org \
    --cc=hemantg@codeaurora.org \
    --cc=johan.hedberg@gmail.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=marcel@holtmann.org \
    --cc=rtatiya@codeaurora.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).