Message ID | 20241001112512.4861-1-fujita.tomonori@gmail.com (mailing list archive) |
---|---|
Headers | show |
Series | add delay abstraction (sleep functions) | expand |
On Tue, Oct 1, 2024 at 1:27 PM FUJITA Tomonori <fujita.tomonori@gmail.com> wrote: > > Add an abstraction for sleep functions in `include/linux/delay.h` for > dealing with hardware delays. `delay.h` supports sleep and delay (busy > wait). This adds support for sleep functions used by QT2025 PHY driver > to sleep until a PHY becomes ready. > > The old rust branch has the delay abstraction which supports msleep() > with a helper function which rounds a `Duration` up to the nearest > milliseconds. > > This adds fsleep() support instead of msleep(). fsleep() can handle > various lengths of delay by internally calling an appropriate sleep > function including msleep(). Add time keeping maintainers to CC.