From 6f1f3d72aa9fbdbe9e1aea4abce42c40053cb589 Mon Sep 17 00:00:00 2001 From: Umesh Vats Date: Thu, 29 Aug 2019 16:07:05 -0700 Subject: [PATCH] dt-bindings: Add device-tree bindings for BT power driver Add Documentation file for bluetooth power driver. Change-Id: I9bbb0470ed0760335f65aedb82d3d9b90755abf9 --- bindings/bluetooth/btpower.txt | 50 ++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 bindings/bluetooth/btpower.txt diff --git a/bindings/bluetooth/btpower.txt b/bindings/bluetooth/btpower.txt new file mode 100644 index 00000000..b78f3cf1 --- /dev/null +++ b/bindings/bluetooth/btpower.txt @@ -0,0 +1,50 @@ +* Bluetooth Controller +Bluetooth controller communicates with the Bluetooth Host using HCI Transport +layer. HCI Transport layer can be based on UART or USB serial communication +protocol. + +Required properties: +- compatible: "qcom," + chip: Should be set to one of the following: + qcom,qca6174 + qcom,wcn3990 + qcom,qca6390 + qcom,qca6490 + - qcom,bt-reset-gpio: GPIO pin to bring BT Controller out of reset + +Optional properties: + - qcom,bt-vdd-pa-supply: Bluetooth VDD PA regulator handle + - qcom,bt-vdd-io-supply: Bluetooth VDD IO regulator handle + - qcom,bt-vdd-ldo-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. + - qcom,bt-vdd-xtal-supply: Bluetooth VDD XTAL regulator handle + - qcom,bt-vdd-core-supply: Bluetooth VDD CORE regulator handle + - qcom,bt-vdd-asd-supply: Bluetooth VDD regulator handle for antenna switch + diversity. + - qcom,bt-chip-pwd-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. + - qcom,-config: Specifies voltage/current levels for supply. Should specified + in pairs (min, max), units uV. There can be optional + load in curr, unit uA. Last entry specifies if the retention + mode is supported for the regulator. + +Example: + bluetooth: bt_qca6490 { + compatible = "qcom,qca6390", "qcom,qca6490"; + pinctrl-names = "default"; + pinctrl-0 = <&bt_en_sleep>; + qcom,bt-reset-gpio = <&tlmm 21 0>; /* BT_EN */ + qcom,bt-vdd-aon-supply = <&pm8150_s6>; + qcom,bt-vdd-dig-supply = <&pm8009_s2>; + qcom,bt-vdd-rfa1-supply = <&pm8150_s5>; + qcom,bt-vdd-rfa2-supply = <&pm8150a_s8>; + qcom,bt-vdd-asd-supply = <&pm8150_l16>; + + qcom,bt-vdd-aon-config = <950000 950000 0 1>; + qcom,bt-vdd-dig-config = <950000 952000 0 1>; + qcom,bt-vdd-rfa1-config = <1900000 1900000 0 1>; + qcom,bt-vdd-rfa2-config = <1350000 1350000 0 1>; + qcom,bt-vdd-asd-config = <3024000 3304000 10000 0>; + };