diff options
author | Konrad Dybcio <[email protected]> | 2023-02-08 10:13:32 +0100 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2023-03-13 12:59:44 -0700 |
commit | 0932e565ba7c828d5ec59f872cb3ad6b070dc003 (patch) | |
tree | be2b23a18add6fec0a26a2580bfb7feafff00b62 /lib/mpi/mpi-internal.h | |
parent | b594e6f6605311785171b8d4600fe96e35625530 (diff) |
clk: qcom: branch: Add helper functions for setting SLEEP/WAKE bits
HLOS-controlled branch clocks on non-ancient Qualcomm platforms
feature SLEEP and WAKE fields which can be written to to configure
how long the clock hardware should wait internally before being
(un)gated. Some very sensitive clocks need to have these values
programmed to prevent putting the hardware in a not-exactly-good
state. Add definitions of these fields and introduce helpers for
setting them inside clock drivers.
Reviewed-by: Dmitry Baryshkov <[email protected]>
Signed-off-by: Konrad Dybcio <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions