Re: [PATCH] ARM: dts: turris-omnia: fix hardware buffer management

Marek Behún
2021-02-17T16:28:33Z

On Wed, 17 Feb 2021 17:22:17 +0100
Andrew Lunn <andrew@lunn.ch> wrote:

> On Wed, Feb 17, 2021 at 03:30:38PM +0000, Rui Salvaterra wrote:
> > Hardware buffer management has never worked on the Turris Omnia, as the
> > required MBus window hadn't been reserved. Fix thusly.
>
> Hi Rui
>
> I don't know all the details for the MBus Windows...
>
> Can this be set once in armada-385.dtsi ?
>
> Did you check the other dts files. Do any others have the same
> problem?
>
> Andrew

armada-38x.dtsi defines only
ranges = <0 MBUS_ID(0xf0, 0x01) 0 0x100000>;
for internal-regs.

It probably depends on how the mbus driver works.
If the mbus driver maps every window defined in ranges, regardless
whether they are used, then we do not want to put all windows in .dtsi
file.

Marek