[PATCH] arm: kirkwood: register DT devices earlier

Andrew Lunn andrew at lunn.ch
Tue Dec 18 09:19:02 EST 2012


On Tue, Dec 18, 2012 at 03:07:47PM +0100, Thomas Petazzoni wrote:
> The board-dt.c initialization functions calls the per-board legacy
> init functions (to probe devices that have not yet been converted to
> the Device Tree) before probing the devices declared in the Device
> Tree.
> 
> This unfortunately causes a boot crash on Topkick, because the
> board-specific initialization function sets a GPIO to some
> value. Unfortunately, since the devices declared in the Device Tree
> haven't been probed, the GPIO controllers haven't been probed, and the
> gpio_set_value() call causes the following crash:

Hi Thomas

I have a different fix for this.

The gpio is being used to supply power to SATA. So i turn it into a
fixed-regulator, using DT.

I will send the patch tonight.

  Andrew



More information about the linux-arm-kernel mailing list