[PATCH v2] dt-bindings: spi: zynqmp-qspi: Add power-domains and iommus properties

From: Michal Simek
Date: Wed May 03 2023 - 04:20:54 EST


ZynqMP QSPI IP core has own power domain and also iommu ID that's why
describe optional power-domains and iommus properties.

Signed-off-by: Michal Simek <michal.simek@xxxxxxx>
---

Changes in v2:
- rewrite commit message - requested by Krzysztof

The commit 8ac47837f0e0 ("arm64: dts: zynqmp: Add missing iommu IDs") and
the commit 959b86ae37c6 ("arm64: dts: xilinx: Add the power nodes for
zynqmp") described these properties long time ago in Linux that's why the
patch is also fixing dts_check warnings.

---
Documentation/devicetree/bindings/spi/spi-zynqmp-qspi.yaml | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/spi/spi-zynqmp-qspi.yaml b/Documentation/devicetree/bindings/spi/spi-zynqmp-qspi.yaml
index 20f77246d365..226d8b493b57 100644
--- a/Documentation/devicetree/bindings/spi/spi-zynqmp-qspi.yaml
+++ b/Documentation/devicetree/bindings/spi/spi-zynqmp-qspi.yaml
@@ -32,6 +32,12 @@ properties:
clocks:
maxItems: 2

+ iommus:
+ maxItems: 1
+
+ power-domains:
+ maxItems: 1
+
required:
- compatible
- reg
--
2.36.1