History

dt-bindings: PCI: socionext,uniphier-pcie: Add missing child interrupt controller

The Socionext interrupt controller internal to the the PCI block isn't documented which causes warnings when unevaluatedProperties check is also fixed. Add the 'interrupt-controller' child node and properties and fixup the example so that interrupt properties can be parsed.

Rob Herring committed 4 years ago

Commit bcd7ec21 parent cdc46fa1 file · +22 −1Browse files

Unified · Split

Documentation/devicetree/bindings/pci/socionext,uniphier-pcie.yaml+22−1
@@ -51,6 +51,19 @@ properties: · 50 unmodified lines
5151 phy-names:
5252 const: pcie-phy
5353
54+ interrupt-controller:
55+ type: object
56+ additionalProperties: false
57+
58+ properties:
59+ interrupt-controller: true
60+
61+ '#interrupt-cells':
62+ const: 1
63+
64+ interrupts:
65+ maxItems: 1
66+
5467 required:
5568 - compatible
5669 - reg
@@ -62,6 +75,13 @@ unevaluatedProperties: false · 5 unmodified lines
6275
6376 examples:
6477 - |
78+ bus {
79+ gic: interrupt-controller {
80+ interrupt-controller;
81+ #interrupt-cells = <3>;
82+ };
83+ };
84+
6585 pcie: pcie@66000000 {
6686 compatible = "socionext,uniphier-pcie";
6787 reg-names = "dbi", "link", "config";
@@ -80,6 +100,7 @@ examples: · 12 unmodified lines
80100 phys = <&pcie_phy>;
81101 #interrupt-cells = <1>;
82102 interrupt-names = "dma", "msi";
103+ interrupt-parent = <&gic>;
83104 interrupts = <0 224 4>, <0 225 4>;
84105 interrupt-map-mask = <0 0 0 7>;
85106 interrupt-map = <0 0 0 1 &pcie_intc 0>,
@@ -87,7 +108,7 @@ examples: · 1 unmodified line
87108 <0 0 0 3 &pcie_intc 2>,
88109 <0 0 0 4 &pcie_intc 3>;
89110
90− pcie_intc: legacy-interrupt-controller {
111+ pcie_intc: interrupt-controller {
91112 interrupt-controller;
92113 #interrupt-cells = <1>;
93114 interrupt-parent = <&gic>;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t