lkml.org 
[lkml]   [2018]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC] reset: make reset controller driver initialize early
From
Date
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

\
 
 \ /
  Last update: 2018-09-11 10:31    [W:0.048 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site