You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the PCI interrupt-map example, &open-pic should be &open_pic (with a label added to /soc/open-pic, which can't have - in it), or &{/soc/open-pic}.
Unrelated, and not sure I've read closely enough: Why is the interrupt parent unit address included in interrupt-map? The phandle already points to its node, so it seems redundant.
The text was updated successfully, but these errors were encountered:
Unrelated, and not sure I've read closely enough: Why is the interrupt parent unit address included in interrupt-map? The phandle already points to its node, so it seems redundant.
Hmm... think I get it now. It's just so that the parent specifier can recursively translated with the same logic as for e.g. gpio-map, making it consistent. Might be nice to clarify that.
It's the child address that is part of the interrupt-map. I think the child address was primarily needed for PCI in some cases.
The parent address is included as well, in addition to the parent phandle:
interrupt-map:
...
child unit address: ...
child interrupt specifier: ...
interrupt-parent: <phandle>
parent unit address: The unit address in the domain of the interrupt parent. The number of 32-bit cells required to specify this address is described by the #address-cells property of the node pointed to by the interrupt-parent field.
parent interrupt specifier: ...
In the PCI example, #address-cells = <0> for the parent though, so it disappears.
In the PCI
interrupt-map
example,&open-pic
should be&open_pic
(with a label added to/soc/open-pic
, which can't have-
in it), or&{/soc/open-pic}
.Unrelated, and not sure I've read closely enough: Why is the interrupt parent unit address included in
interrupt-map
? The phandle already points to its node, so it seems redundant.The text was updated successfully, but these errors were encountered: