All of lore.kernel.org
 help / color / mirror / Atom feed
From: andrew@lunn.ch (Andrew Lunn)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm: kirkwood: register DT devices earlier
Date: Tue, 18 Dec 2012 15:19:02 +0100	[thread overview]
Message-ID: <20121218141902.GI3392@lunn.ch> (raw)
In-Reply-To: <1355839667-1487-1-git-send-email-thomas.petazzoni@free-electrons.com>

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

  reply	other threads:[~2012-12-18 14:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-18 14:07 [PATCH] arm: kirkwood: register DT devices earlier Thomas Petazzoni
2012-12-18 14:19 ` Andrew Lunn [this message]
2012-12-18 14:33   ` Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121218141902.GI3392@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.