Skip to content
Commit 1964bf08 authored by Peter Bigot's avatar Peter Bigot Committed by Carles Cufi
Browse files

lib: os: onoff: add API for on-off service request and release management



There are various situations where it's necessary to support turning
devices on or off at runtime, includin power rails, clocks, other
peripherals, and binary device power management.  The complexity of
properly managing multiple consumers of a device in a multithreaded
system suggests that a shared implementation is desirable.  This
commit provides an API that supports managing on-off resources.

Signed-off-by: default avatarPeter A. Bigot <pab@pabigot.com>
parent cd2ff16a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment