Skip to content

Switch internal registers address to 0xF1 on Armada 370/XP

Thomas Petazzoni linux-arm-kernel 1 version New

Get series with b4
b4 am 20130523164736.610fc55d@skate

Versions newest first

  1. v1 Latest0 of 9 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 9 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/9] Switch internal registers address to 0xF1 on Armada 370/XP

Dear Arnd Bergmann,

Quoted 11 lines · Arnd Bergmann
Quoted 6 lines · Thomas Petazzoni

But that's not the case. Neither the old nor the new bootloaders are changing the Device Tree in any way that allows us to know whether registers are mapped at 0xd0 and 0xf1. Those bootloaders are already in the field, and we have little control over that. Even if we had control, what we would tell Marvell to implement in their U-Boot, today?

We would tell Marvell that changing the base address was a horrible mistake and that they have to revert to 0xd0 in order to make sure the mistake does not spread any further and all users would update.

The longer we wait to switch from 0xd0 to 0xf1, the more complex and painful the migration will be.

Honestly, from Marvell perspective, switching to 0xf1 and dropping support for the old platforms is not a problem. I insisted quite a lot to be given time to find a reasonable solution, that is entirely self-contained in SoC-specific code, to provide a transition path for people who are using old bootloaders.

I'm humbly asking you to be pragmatic on this one, and understand that the goal is to have the kernel assumes it's being booted with registers configured at 0xf1 and that all the rest is a temporary workaround.

Quoted 8 lines
Quoted 4 lines

The DT binding of the mbus driver is not complete, and therefore the mechanism to specify the location of the internal registers is going to change when we introduce the DT binding for the mbus driver.

Right. It should not be hard to agree on the binding at least, but you are correct that we don't have that today and we shouldn't rush things here.

Agreed. We are currently working on this, but it will take some time to get sorted out properly.

Best regards,

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com