All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/3] Bluetooth: qca: enable WCN7850 support
@ 2023-08-16  8:06 Neil Armstrong
  2023-08-16  8:06 ` [PATCH v4 1/3] dt-bindings: net: bluetooth: qualcomm: document WCN7850 chipset Neil Armstrong
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Neil Armstrong @ 2023-08-16  8:06 UTC (permalink / raw)
  To: Luiz Augusto von Dentz, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Marcel Holtmann, Johan Hedberg, Andy Gross,
	Bjorn Andersson, Konrad Dybcio, Balakrishna Godavarthi,
	Rocky Liao
  Cc: netdev, devicetree, linux-kernel, linux-bluetooth, linux-arm-msm,
	Neil Armstrong, Rob Herring

This serie enables WCN7850 on the Qualcomm SM8550 QRD
reference platform.

The WCN7850 is close to the WCN6855 but uses different
firmware names.

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
---
Changes in v4:
- Changes subjects to Bluetooth
- Fixed typo
- Link to v3: https://lore.kernel.org/r/20230803-topic-sm8550-upstream-bt-v3-0-6874a1507288@linaro.org

Changes in v3:
- Rebased on next-20230803 (including WCN3988 changes)
- Dropped DT patches to be sent in a separate serie
- Link to v2: https://lore.kernel.org/r/20230620-topic-sm8550-upstream-bt-v2-0-98b0043d31a4@linaro.org

Changes in v2:
- Convert if/else and qca_is_*() macros by switch/case to simplify adding now BT SoCs
- Add bindings reviewed-by
- Link to v1: https://lore.kernel.org/r/20230620-topic-sm8550-upstream-bt-v1-0-4728564f8872@linaro.org

---
Neil Armstrong (3):
      dt-bindings: net: bluetooth: qualcomm: document WCN7850 chipset
      Bluetooth: qca: use switch case for soc type behavior
      Bluetooth: qca: add support for WCN7850

 .../bindings/net/bluetooth/qualcomm-bluetooth.yaml |  23 ++
 drivers/bluetooth/btqca.c                          |  97 +++++---
 drivers/bluetooth/btqca.h                          |  37 +--
 drivers/bluetooth/hci_qca.c                        | 264 ++++++++++++++++-----
 4 files changed, 300 insertions(+), 121 deletions(-)
---
base-commit: ef66bf8aeb91fd331cf8f5dca8f9d7bca9ab2849
change-id: 20230620-topic-sm8550-upstream-bt-dfc4305f9c14

Best regards,
-- 
Neil Armstrong <neil.armstrong@linaro.org>


^ permalink raw reply	[flat|nested] 10+ messages in thread
* [PATCH v3 1/3] dt-bindings: net: bluetooth: qualcomm: document WCN7850 chipset
@ 2023-08-03  8:45 Neil Armstrong
  2023-08-03  9:40 ` bluetooth: qca: enable WCN7850 support bluez.test.bot
  0 siblings, 1 reply; 10+ messages in thread
From: Neil Armstrong @ 2023-08-03  8:45 UTC (permalink / raw)
  To: Luiz Augusto von Dentz, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Marcel Holtmann, Johan Hedberg, Andy Gross,
	Bjorn Andersson, Konrad Dybcio, Balakrishna Godavarthi,
	Rocky Liao
  Cc: netdev, devicetree, linux-kernel, linux-bluetooth, linux-arm-msm,
	Neil Armstrong, Rob Herring

Document the WCN7850 Bluetooth chipset.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
---
 .../bindings/net/bluetooth/qualcomm-bluetooth.yaml | 23 ++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluetooth.yaml b/Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluetooth.yaml
index 2735c6a4f336..eba2f3026ab0 100644
--- a/Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluetooth.yaml
+++ b/Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluetooth.yaml
@@ -26,6 +26,7 @@ properties:
       - qcom,qca6390-bt
       - qcom,wcn6750-bt
       - qcom,wcn6855-bt
+      - qcom,wcn7850-bt
 
   enable-gpios:
     maxItems: 1
@@ -58,6 +59,9 @@ properties:
   vddaon-supply:
     description: VDD_AON supply regulator handle
 
+  vdddig-supply:
+    description: VDD_DIG supply regulator handle
+
   vddbtcxmx-supply:
     description: VDD_BT_CXMX supply regulator handle
 
@@ -73,6 +77,9 @@ properties:
   vddrfa1p2-supply:
     description: VDD_RFA_1P2 supply regulator handle
 
+  vddrfa1p9-supply:
+    description: VDD_RFA_1P9 supply regulator handle
+
   vddrfa2p2-supply:
     description: VDD_RFA_2P2 supply regulator handle
 
@@ -157,6 +164,22 @@ allOf:
         - vddrfa0p8-supply
         - vddrfa1p2-supply
         - vddrfa1p7-supply
+  - if:
+      properties:
+        compatible:
+          contains:
+            enum:
+              - qcom,wcn7850-bt
+    then:
+      required:
+        - enable-gpios
+        - swctrl-gpios
+        - vddio-supply
+        - vddaon-supply
+        - vdddig-supply
+        - vddrfa0p8-supply
+        - vddrfa1p2-supply
+        - vddrfa1p9-supply
 
 examples:
   - |

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [PATCH v2 1/5] dt-bindings: net: bluetooth: qualcomm: document WCN7850 chipset
@ 2023-06-27  8:15 Neil Armstrong
  2023-06-27  8:42 ` bluetooth: qca: enable WCN7850 support bluez.test.bot
  2023-07-06 21:01 ` bluez.test.bot
  0 siblings, 2 replies; 10+ messages in thread
From: Neil Armstrong @ 2023-06-27  8:15 UTC (permalink / raw)
  To: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Balakrishna Godavarthi, Rocky Liao, Marcel Holtmann,
	Johan Hedberg, Luiz Augusto von Dentz, Andy Gross,
	Bjorn Andersson, Konrad Dybcio
  Cc: netdev, devicetree, linux-kernel, linux-bluetooth, linux-arm-msm,
	Neil Armstrong, Rob Herring

Document the WCN7850 Bluetooth chipset.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
---
 .../bindings/net/bluetooth/qualcomm-bluetooth.yaml | 23 ++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluetooth.yaml b/Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluetooth.yaml
index 68f78b90d23a..906a377d1616 100644
--- a/Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluetooth.yaml
+++ b/Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluetooth.yaml
@@ -24,6 +24,7 @@ properties:
       - qcom,qca6390-bt
       - qcom,wcn6750-bt
       - qcom,wcn6855-bt
+      - qcom,wcn7850-bt
 
   enable-gpios:
     maxItems: 1
@@ -53,6 +54,9 @@ properties:
   vddaon-supply:
     description: VDD_AON supply regulator handle
 
+  vdddig-supply:
+    description: VDD_DIG supply regulator handle
+
   vddbtcxmx-supply:
     description: VDD_BT_CXMX supply regulator handle
 
@@ -68,6 +72,9 @@ properties:
   vddrfa1p2-supply:
     description: VDD_RFA_1P2 supply regulator handle
 
+  vddrfa1p9-supply:
+    description: VDD_RFA_1P9 supply regulator handle
+
   vddrfa2p2-supply:
     description: VDD_RFA_2P2 supply regulator handle
 
@@ -150,6 +157,22 @@ allOf:
         - vddrfa0p8-supply
         - vddrfa1p2-supply
         - vddrfa1p7-supply
+  - if:
+      properties:
+        compatible:
+          contains:
+            enum:
+              - qcom,wcn7850-bt
+    then:
+      required:
+        - enable-gpios
+        - swctrl-gpios
+        - vddio-supply
+        - vddaon-supply
+        - vdddig-supply
+        - vddrfa0p8-supply
+        - vddrfa1p2-supply
+        - vddrfa1p9-supply
 
 examples:
   - |

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [PATCH 1/4] dt-bindings: net: bluetooth: qualcomm: document WCN7850 chipset
@ 2023-06-20 15:19 Neil Armstrong
  2023-06-20 15:37 ` bluetooth: qca: enable WCN7850 support bluez.test.bot
  0 siblings, 1 reply; 10+ messages in thread
From: Neil Armstrong @ 2023-06-20 15:19 UTC (permalink / raw)
  To: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Balakrishna Godavarthi, Rocky Liao, Marcel Holtmann,
	Johan Hedberg, Luiz Augusto von Dentz, Andy Gross,
	Bjorn Andersson, Konrad Dybcio
  Cc: netdev, devicetree, linux-kernel, linux-bluetooth, linux-arm-msm,
	Neil Armstrong

Document the WCN7850 Bluetooth chipset.

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
---
 .../bindings/net/bluetooth/qualcomm-bluetooth.yaml | 23 ++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluetooth.yaml b/Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluetooth.yaml
index 28296b6d35b2..abc81d0a706e 100644
--- a/Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluetooth.yaml
+++ b/Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluetooth.yaml
@@ -25,6 +25,7 @@ properties:
       - qcom,qca6390-bt
       - qcom,wcn6750-bt
       - qcom,wcn6855-bt
+      - qcom,wcn7850-bt
 
   enable-gpios:
     maxItems: 1
@@ -54,6 +55,9 @@ properties:
   vddaon-supply:
     description: VDD_AON supply regulator handle
 
+  vdddig-supply:
+    description: VDD_DIG supply regulator handle
+
   vddbtcxmx-supply:
     description: VDD_BT_CXMX supply regulator handle
 
@@ -69,6 +73,9 @@ properties:
   vddrfa1p2-supply:
     description: VDD_RFA_1P2 supply regulator handle
 
+  vddrfa1p9-supply:
+    description: VDD_RFA_1P9 supply regulator handle
+
   vddrfa2p2-supply:
     description: VDD_RFA_2P2 supply regulator handle
 
@@ -152,6 +159,22 @@ allOf:
         - vddrfa0p8-supply
         - vddrfa1p2-supply
         - vddrfa1p7-supply
+  - if:
+      properties:
+        compatible:
+          contains:
+            enum:
+              - qcom,wcn7850-bt
+    then:
+      required:
+        - enable-gpios
+        - swctrl-gpios
+        - vddio-supply
+        - vddaon-supply
+        - vdddig-supply
+        - vddrfa0p8-supply
+        - vddrfa1p2-supply
+        - vddrfa1p9-supply
 
 examples:
   - |

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-08-16 20:01 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-16  8:06 [PATCH v4 0/3] Bluetooth: qca: enable WCN7850 support Neil Armstrong
2023-08-16  8:06 ` [PATCH v4 1/3] dt-bindings: net: bluetooth: qualcomm: document WCN7850 chipset Neil Armstrong
2023-08-16  8:46   ` Bluetooth: qca: enable WCN7850 support bluez.test.bot
2023-08-16  8:06 ` [PATCH v4 2/3] Bluetooth: qca: use switch case for soc type behavior Neil Armstrong
2023-08-16  8:06 ` [PATCH v4 3/3] Bluetooth: qca: add support for WCN7850 Neil Armstrong
2023-08-16 20:00 ` [PATCH v4 0/3] Bluetooth: qca: enable WCN7850 support patchwork-bot+bluetooth
  -- strict thread matches above, loose matches on Subject: below --
2023-08-03  8:45 [PATCH v3 1/3] dt-bindings: net: bluetooth: qualcomm: document WCN7850 chipset Neil Armstrong
2023-08-03  9:40 ` bluetooth: qca: enable WCN7850 support bluez.test.bot
2023-06-27  8:15 [PATCH v2 1/5] dt-bindings: net: bluetooth: qualcomm: document WCN7850 chipset Neil Armstrong
2023-06-27  8:42 ` bluetooth: qca: enable WCN7850 support bluez.test.bot
2023-07-06 21:01 ` bluez.test.bot
2023-06-20 15:19 [PATCH 1/4] dt-bindings: net: bluetooth: qualcomm: document WCN7850 chipset Neil Armstrong
2023-06-20 15:37 ` bluetooth: qca: enable WCN7850 support bluez.test.bot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.