devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: PCI: apple: Add missing 'power-domains' property
@ 2022-05-26  1:41 Rob Herring
  2022-05-26 12:40 ` Rob Herring
  2022-05-26 13:48 ` Sven Peter
  0 siblings, 2 replies; 4+ messages in thread
From: Rob Herring @ 2022-05-26  1:41 UTC (permalink / raw)
  To: Hector Martin, Sven Peter, Alyssa Rosenzweig, Bjorn Helgaas,
	Krzysztof Kozlowski, Mark Kettenis
  Cc: linux-arm-kernel, linux-pci, devicetree, linux-kernel

The 'unevaluatedProperties' schema checks is not fully working and doesn't
catch some cases where there's a $ref to another schema. A fix is pending,
but results in new warnings in examples.

The Apple PCIe host has 3 power domains at least according to the example.
Add the 'power-domains' property to the schema.

Signed-off-by: Rob Herring <robh@kernel.org>
---
Ideally, we'd define what each power domain is, but I don't know what
they are.
---
 Documentation/devicetree/bindings/pci/apple,pcie.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/pci/apple,pcie.yaml b/Documentation/devicetree/bindings/pci/apple,pcie.yaml
index daf602ac0d0f..2cf6b4586071 100644
--- a/Documentation/devicetree/bindings/pci/apple,pcie.yaml
+++ b/Documentation/devicetree/bindings/pci/apple,pcie.yaml
@@ -68,6 +68,9 @@ properties:
   iommu-map: true
   iommu-map-mask: true
 
+  power-domains:
+    maxItems: 3
+
 required:
   - compatible
   - reg
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-05-26 21:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-26  1:41 [PATCH] dt-bindings: PCI: apple: Add missing 'power-domains' property Rob Herring
2022-05-26 12:40 ` Rob Herring
2022-05-26 13:48 ` Sven Peter
2022-05-26 21:45   ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).