dt-bindings: iommu: renesas,ipmmu-vmsa: Make 'power-domains' conditionally required
authorRob Herring <robh@kernel.org>
Tue, 2 Feb 2021 19:49:41 +0000 (13:49 -0600)
committerRob Herring <robh@kernel.org>
Thu, 4 Feb 2021 15:08:08 +0000 (09:08 -0600)
commit49ec0686b3e8f3afde4af9f906c672069a46c55e
tree22d2e3134776493afd12b22239ac22cdfe914964
parent91f93c3839929e44dd70aa05c4e199d89c36188f
dt-bindings: iommu: renesas,ipmmu-vmsa: Make 'power-domains' conditionally required

Fixing the compatible string typos results in an error in the example:

Documentation/devicetree/bindings/iommu/renesas,ipmmu-vmsa.example.dt.yaml:
  iommu@fe951000: 'power-domains' is a required property

Based on the dts files, a 'power-domains' property only exists on Gen 3
which can be conditioned on !renesas,ipmmu-vmsa.

Cc: Joerg Roedel <joro@8bytes.org>
Cc: Will Deacon <will@kernel.org>
Cc: iommu@lists.linux-foundation.org
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20210202205544.24812-2-robh@kernel.org
Documentation/devicetree/bindings/iommu/renesas,ipmmu-vmsa.yaml