[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-omap
Subject:    Re: [PATCHv2 4/6] clk: ti: clkctrl: add API to notify reset status
From:       Tero Kristo <t-kristo () ti ! com>
Date:       2019-08-30 6:06:41
Message-ID: ed1e3868-af4d-8141-2a04-202923715d06 () ti ! com
[Download RAW message or body]

On 29/08/2019 23:05, Stephen Boyd wrote:
> Quoting Tero Kristo (2019-08-27 23:59:27)
> > diff --git a/drivers/clk/ti/clkctrl.c b/drivers/clk/ti/clkctrl.c
> > index e3e0a66a6ce2..47a0d1398c6f 100644
> > --- a/drivers/clk/ti/clkctrl.c
> > +++ b/drivers/clk/ti/clkctrl.c
> > @@ -680,3 +689,38 @@ u32 ti_clk_is_in_standby(struct clk *clk)
> > return false;
> > }
> > EXPORT_SYMBOL_GPL(ti_clk_is_in_standby);
> > +
> > +/**
> > + * ti_clk_notify_resets - Notify the clock driver associated reset status
> 
> This is completely unused in this patch series. What's going on?

This is needed by the OMAP reset driver. See:

https://lwn.net/Articles/797597/

-Tero

> > + * @clk: clock to notify reset status for
> > + * @asserted: true if all HW reset lines are asserted
> > + *
> > + * Some clkctrl clocks have associated resets for them which effectively
> > + * prevent the clock to transition from/to idle if the reset state is not
> > + * in sync. For the clock to transition to idle properly, all associated
> > + * resets must be asserted, and to leave idle, vice versa. To provide the
> > + * current reset status, the reset driver should issue this callback.
> > + */

--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: \
0615521-4. Kotipaikka/Domicile: Helsinki


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic