[PATCH 8/9] dt-bindings: wireless: ath11k: describe WCN7850

From: Bartosz Golaszewski
Date: Wed Jan 17 2024 - 11:12:39 EST


From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>

Describe the ath11k variant present on the WCN7850 module.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
---
.../net/wireless/qcom,ath11k-pci.yaml | 41 +++++++++++++++++++
1 file changed, 41 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath11k-pci.yaml b/Documentation/devicetree/bindings/net/wireless/qcom,ath11k-pci.yaml
index c8ec9d313d93..5648c855a122 100644
--- a/Documentation/devicetree/bindings/net/wireless/qcom,ath11k-pci.yaml
+++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath11k-pci.yaml
@@ -18,6 +18,7 @@ properties:
enum:
- pci17cb,1101 # QCA6390
- pci17cb,1103 # WCN6855
+ - pci17cb,1107 # WCN7850

reg:
maxItems: 1
@@ -28,13 +29,25 @@ properties:
string to uniquely identify variant of the calibration data for designs
with colliding bus and device ids

+ clocks:
+ maxItems: 1
+
enable-gpios:
description: GPIO line enabling the ATH11K module when asserted.
maxItems: 1

+ vdd-supply:
+ description: VDD supply regulator handle
+
+ vdddig-supply:
+ description: VDD_DIG supply regulator handle
+
vddio-supply:
description: VDD_IO supply regulator handle

+ vddio12-supply:
+ description: VDD_IO12 supply regulator handle
+
vddaon-supply:
description: VDD_AON supply regulator handle

@@ -61,6 +74,18 @@ required:
- reg

allOf:
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - pci17cb,1101
+ then:
+ properties:
+ clocks: false
+ vdd-supply: false
+ vdddig-supply: false
+ vddio12-supply: false
- if:
properties:
compatible:
@@ -69,7 +94,11 @@ allOf:
- pci17cb,1103
then:
properties:
+ clocks: false
enable-gpios: false
+ vdd-supply: false
+ vddio12-supply: false
+ vdddig-supply: false
vddio-supply: false
vddaon-supply: false
vddpmu-supply: false
@@ -78,6 +107,18 @@ allOf:
vddrfa3-supply: false
vddpcie1-supply: false
vddpcie2-supply: false
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - pci17cb,1107
+ then:
+ properties:
+ vddpmu-supply: false
+ vddrfa3-supply: false
+ vddpcie1-supply: false
+ vddpcie2-supply: false

additionalProperties: false

--
2.40.1