Skip to content

Commit fe3f70e

Browse files
committed
dt-bindings: PCI: apple: Add missing 'power-domains' property
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 schema is missing 'power-domains' in the schema. The example has 3 power domains. However, this is wrong too as actual dts files have a single power domain and Sven confirmed 1 is correct. Cc: Sven Peter <[email protected]> Signed-off-by: Rob Herring <[email protected]> Reviewed-by: Sven Peter <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent f5f1a97 commit fe3f70e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Documentation/devicetree/bindings/pci/apple,pcie.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ properties:
6868
iommu-map: true
6969
iommu-map-mask: true
7070

71+
power-domains:
72+
maxItems: 1
73+
7174
required:
7275
- compatible
7376
- reg
@@ -134,7 +137,7 @@ examples:
134137
ranges = <0x43000000 0x6 0xa0000000 0x6 0xa0000000 0x0 0x20000000>,
135138
<0x02000000 0x0 0xc0000000 0x6 0xc0000000 0x0 0x40000000>;
136139
137-
power-domains = <&ps_apcie>, <&ps_apcie_gp>, <&ps_pcie_ref>;
140+
power-domains = <&ps_apcie_gp>;
138141
pinctrl-0 = <&pcie_pins>;
139142
pinctrl-names = "default";
140143

0 commit comments

Comments
 (0)