dt: bindings: ath10k: add bindings for wifi iommu node
authorGovind Singh <govinds@codeaurora.org>
Thu, 20 Dec 2018 12:24:23 +0000 (14:24 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 20 Dec 2018 17:07:39 +0000 (19:07 +0200)
WCN3990 wifi module can optionally make use of the IOMMU.
Add binding documentation for phandle to the IOMMU and
the stream id of wifi iommu block.

Signed-off-by: Govind Singh <govinds@codeaurora.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Tested-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt

index 51fcf93d743b75b043a430aa76d2b5a7349aa383..09ae59470f642213636155396b1000774b1c45da 100644 (file)
@@ -71,6 +71,10 @@ Optional properties:
        Value type: <phandle>
        Definition: reference to the reserved-memory for the msa region
                    used by the wifi firmware running in Q6.
+- iommus:
+       Usage: optional
+       Value type: <prop-encoded-array>
+       Definition: A list of phandle and IOMMU specifier pairs.
 
 Example (to supply the calibration data alone):
 
@@ -168,4 +172,5 @@ wifi@18000000 {
                vdd-1.3-rfa-supply = <&vreg_l17a_1p3>;
                vdd-3.3-ch0-supply = <&vreg_l25a_3p3>;
                memory-region = <&wifi_msa_mem>;
+               iommus = <&apps_smmu 0x0040 0x1>;
 };