Re: [PATCH 2/3] clocksource: Add Low Power STM32 timers driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le jeu. 16 janv. 2020 à 10:07, Linus Walleij
<linus.walleij@xxxxxxxxxx> a écrit :
>
> On Thu, Jan 9, 2020 at 3:54 PM Benjamin Gaignard
> <benjamin.gaignard@xxxxxx> wrote:
>
> > Implement clock event driver using low power STM32 timers.
> > Low power timers counter s running even in when CPU is in stop mode.
> > It could be used as clock event broadcaster to wake up CPUs but not like
> > a clocksource because each it rise an interrupt the counter restart from 0.
> >
> > Signed-off-by: Benjamin Gaignard <benjamin.gaignard@xxxxxx>
> > Signed-off-by: Pascal Paillet <p.paillet@xxxxxx>
>
> Looks good to me:
> Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Hi Linus,

Thanks for your review. I had to rework a bit the driver to solve the
bindings issues
so I haven't put your RB on version 2.

>
> If you have a spare always-on timer (and it looks like you have) which
> you can set as free-running, you could register it with
> CLOCK_SOURCE_SUSPEND_NONSTOP so it

The driver only implement clock event feature so I don't think that is
flag is applicable.

Regards,
Benjamin
> keeps the system clock ticking also during suspend as
> alternative clock source.
>
> Yours,
> Linus Walleij
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux