diff mbox series

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

Message ID 2afed7285061abbb5d9ad3b1e795b737dcff9693.1683102032.git.michal.simek@amd.com (mailing list archive)
State New, archived
Headers show
Series [v2] dt-bindings: spi: zynqmp-qspi: Add power-domains and iommus properties | expand

Commit Message

Michal Simek May 3, 2023, 8:20 a.m. UTC
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@amd.com>
---

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(+)

Comments

Krzysztof Kozlowski May 4, 2023, 5:01 p.m. UTC | #1
On 03/05/2023 10:20, Michal Simek wrote:
> 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@amd.com>
> ---


Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof
diff mbox series

Patch

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