Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify ranges property #23

Open
galak opened this issue Sep 20, 2018 · 0 comments
Open

Clarify ranges property #23

galak opened this issue Sep 20, 2018 · 0 comments

Comments

@galak
Copy link
Contributor

galak commented Sep 20, 2018

From a conversation on the devicetree-spec mailing list, I asked about how the length element in the ranges property is suppose to be used. A few questions asked (quoted response is from David Gibson):

If a child has a reg outside of the length is it not translated via the range?

Yes.

What if the reg size of a child node overlaps the length? Do we translate up to the point the length specifies?

I believe so, yes.

If #size-cells of the node is 0, does that mean no length element?

I think so, yes, although I don't think I've ever seen a 'ranges'
property on a #size-cells = 0 node.

So if we update the spec, we should clarify such concerns w/ranges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant