mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Philipp Zabel <p.zabel@pengutronix.de>
To: Dinh Nguyen <dinguyen@kernel.org>
Cc: linux-kernel <linux-kernel@vger.kernel.org>, Marek Vasut <marex@denx.de>
Subject: Re: [RFC] reset: make reset controller driver initialize early
Date: Tue, 11 Sep 2018 10:31:00 +0200	[thread overview]
Message-ID: <1536654660.3453.1.camel@pengutronix.de> (raw)
In-Reply-To: <9854fd68-14e3-aed3-ca35-8e259baa0348@kernel.org>

Hi Dinh,

On Mon, 2018-09-10 at 14:59 -0500, Dinh Nguyen wrote:
> Hi Philipp,
> 
> I need to make the reset controller on the SoCFPGA platform initialize
> early.

What does early mean in this context?

> I have one solution which is similar to what reset-sunxi is
> doing, making the "altr,rst-mgr" initialize early in a separate
> reset-socfpga.c but using the reset-simple operations.

That's what I would have gone for as well.

> I'm guessing SoCFPGA may not be the only platform that needs the reset
> driver early, would it make sense to have a solution in reset-simple
> that is capable of an early init?

I suppose you could share sunxi_reset_init if you pass it a struct
reset_simple_devdata as an argument.

regards
Philipp

  reply	other threads:[~2018-09-11  8:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-10 19:59 Dinh Nguyen
2018-09-11  8:31 ` Philipp Zabel [this message]
2018-09-11  9:46   ` Marek Vasut

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=1536654660.3453.1.camel@pengutronix.de \
    --to=p.zabel@pengutronix.de \
    --cc=dinguyen@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marex@denx.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®