Code Monkey home page Code Monkey logo

Comments (3)

ulfalizer avatar ulfalizer commented on August 24, 2024

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.

from devicetree-specification.

robherring avatar robherring commented on August 24, 2024

Can you submit a patch to fix this.

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.

from devicetree-specification.

ulfalizer avatar ulfalizer commented on August 24, 2024

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.

from devicetree-specification.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.