Re: question about ranges length element

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



> On Sep 19, 2018, at 6:30 PM, David Gibson <david@xxxxxxxxxxxxxxxxxxxxx> wrote:
> 
> On Wed, Sep 19, 2018 at 05:15:35PM -0700, Kumar Gala wrote:
>> How is the length element expected to be used w/ranges.  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.

If we update the spec, we should clarify these things for ranges.

- k



[Index of Archives]     [Device Tree]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Photos]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]

  Powered by Linux