[PATCH v1 1/3] dt-bindings: net: bluetooth: Add wlan-gpio entry for wcn6750

From: Balakrishna Godavarthi
Date: Fri Apr 29 2022 - 07:30:49 EST


This patch adds a wlan-gpio entry and its reference usage for
BT SoC wcn6750.

Signed-off-by: Sai Teja Aluvala <quic_saluvala@xxxxxxxxxxx>
Signed-off-by: Balakrishna Godavarthi <quic_bgodavar@xxxxxxxxxxx>
---
Documentation/devicetree/bindings/net/qualcomm-bluetooth.yaml | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/qualcomm-bluetooth.yaml b/Documentation/devicetree/bindings/net/qualcomm-bluetooth.yaml
index f93c6e7..624f957 100644
--- a/Documentation/devicetree/bindings/net/qualcomm-bluetooth.yaml
+++ b/Documentation/devicetree/bindings/net/qualcomm-bluetooth.yaml
@@ -24,6 +24,10 @@ properties:
- qcom,qca6390-bt
- qcom,wcn6750-bt

+ wlan-gpios:
+ maxItems: 1
+ description: gpio specifier used to wlan chip
+
enable-gpios:
maxItems: 1
description: gpio specifier used to enable chip
@@ -123,6 +127,7 @@ allOf:
- qcom,wcn6750-bt
then:
required:
+ - wlan-gpios
- enable-gpios
- swctrl-gpios
- vddio-supply
@@ -166,6 +171,7 @@ examples:
compatible = "qcom,wcn6750-bt";
pinctrl-names = "default";
pinctrl-0 = <&bt_en_default>;
+ wlan-gpios = <&tlmm 84 GPIO_ACTIVE_HIGH>;
enable-gpios = <&tlmm 85 GPIO_ACTIVE_HIGH>;
swctrl-gpios = <&tlmm 86 GPIO_ACTIVE_HIGH>;
vddio-supply = <&vreg_l19b_1p8>;
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project