[PATCH 7/9] dt-bindings: wireless: ath11k: describe QCA6390

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


From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>

Describe the ath11k variant present on the QCA6390 module.

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

diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath11k-pci.yaml b/Documentation/devicetree/bindings/net/wireless/qcom,ath11k-pci.yaml
index 817f02a8b481..c8ec9d313d93 100644
--- a/Documentation/devicetree/bindings/net/wireless/qcom,ath11k-pci.yaml
+++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath11k-pci.yaml
@@ -16,6 +16,7 @@ description: |
properties:
compatible:
enum:
+ - pci17cb,1101 # QCA6390
- pci17cb,1103 # WCN6855

reg:
@@ -27,10 +28,57 @@ properties:
string to uniquely identify variant of the calibration data for designs
with colliding bus and device ids

+ enable-gpios:
+ description: GPIO line enabling the ATH11K module when asserted.
+ maxItems: 1
+
+ vddio-supply:
+ description: VDD_IO supply regulator handle
+
+ vddaon-supply:
+ description: VDD_AON supply regulator handle
+
+ vddpmu-supply:
+ description: VDD_PMU supply regulator handle
+
+ vddpcie1-supply:
+ description: VDD_PCIE1 supply regulator handle
+
+ vddpcie2-supply:
+ description: VDD_PCIE2 supply regulator handle
+
+ vddrfa1-supply:
+ description: VDD_RFA1 supply regulator handle
+
+ vddrfa2-supply:
+ description: VDD_RFA2 supply regulator handle
+
+ vddrfa3-supply:
+ description: VDD_RFA3 supply regulator handle
+
required:
- compatible
- reg

+allOf:
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - pci17cb,1103
+ then:
+ properties:
+ enable-gpios: false
+ vddio-supply: false
+ vddaon-supply: false
+ vddpmu-supply: false
+ vddrfa1-supply: false
+ vddrfa2-supply: false
+ vddrfa3-supply: false
+ vddpcie1-supply: false
+ vddpcie2-supply: false
+
additionalProperties: false

examples:
--
2.40.1