Re: How to describe a device that sits across two busses.

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

 



Hi Rob,

On Tue, 1 Dec 2020 at 04:11, Rob Herring <robh@xxxxxxxxxx> wrote:

> > Is there a good way to describe this? I think maybe the memory mapped
> > area should be another node (syscon?) and that should be referenced in
> > the driver node and the driver node itself nested in the riu simple
> > bus where the registers are.
>
> There's not really a better way. I would stick with 'reg' and not a
> syscon. Unless you restrict the address space with 'ranges' nothing
> prevents having the above. The main thing we want to avoid is having
> the same address used (in 'reg') by multiple nodes.

Ok, I'll go for a node with 'reg' that the driver node references. The
simple bus
the registers are in does now have a range that doesn't include where the
memory mapped region is.

Thank you for the input.

Daniel



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


  Powered by Linux