All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] bluetooth: qca: enable WCN7850 support
@ 2023-06-27  8:15 Neil Armstrong
  2023-06-27  8:15 ` [PATCH v2 1/5] dt-bindings: net: bluetooth: qualcomm: document WCN7850 chipset Neil Armstrong
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ 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

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 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 (5):
      dt-bindings: net: bluetooth: qualcomm: document WCN7850 chipset
      bluetooth: qca: use switch case for soc type behavior
      bluetooth: qca: add support for WCN7850
      arm64: dts: qcom: sm8550: add UART14 nodes
      arm64: dts: qcom: sm8550-qrd: add bluetooth support

 .../bindings/net/bluetooth/qualcomm-bluetooth.yaml |  23 ++
 arch/arm64/boot/dts/qcom/sm8550-qrd.dts            |  43 ++++
 arch/arm64/boot/dts/qcom/sm8550.dtsi               |  30 +++
 drivers/bluetooth/btqca.c                          |  82 +++++--
 drivers/bluetooth/btqca.h                          |  30 +--
 drivers/bluetooth/hci_qca.c                        | 250 ++++++++++++++++-----
 6 files changed, 350 insertions(+), 108 deletions(-)
---
base-commit: d4cee89031c80066ec461bb77b5e13a4f37d5fd2
change-id: 20230620-topic-sm8550-upstream-bt-dfc4305f9c14

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


^ permalink raw reply	[flat|nested] 13+ messages in thread
* [PATCH v4 1/3] dt-bindings: net: bluetooth: qualcomm: document WCN7850 chipset
@ 2023-08-16  8:06 Neil Armstrong
  2023-08-16  8:46 ` Bluetooth: qca: enable WCN7850 support bluez.test.bot
  0 siblings, 1 reply; 13+ 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

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] 13+ 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; 13+ 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] 13+ 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; 13+ 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] 13+ messages in thread

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

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-27  8:15 [PATCH v2 0/5] bluetooth: qca: enable WCN7850 support Neil Armstrong
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-27  8:15 ` [PATCH v2 2/5] bluetooth: qca: use switch case for soc type behavior Neil Armstrong
2023-06-27  8:15 ` [PATCH v2 3/5] bluetooth: qca: add support for WCN7850 Neil Armstrong
2023-06-27  8:15 ` [PATCH v2 4/5] arm64: dts: qcom: sm8550: add UART14 nodes Neil Armstrong
2023-06-27  8:18   ` Krzysztof Kozlowski
2023-06-27  8:15 ` [PATCH v2 5/5] arm64: dts: qcom: sm8550-qrd: add bluetooth support Neil Armstrong
2023-07-31  9:18 ` [PATCH v2 0/5] bluetooth: qca: enable WCN7850 support Neil Armstrong
  -- strict thread matches above, loose matches on Subject: below --
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-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-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.