You've already forked android_kernel_samsung_ot8
mirror of
https://github.com/gta7lite/android_kernel_samsung_ot8.git
synced 2026-02-08 17:24:41 -08:00
Sleep driver needs to program the absolute clock value for next expiry into pdc register for system wake up. Add an API to read the cval low and high counters. Signed-off-by: Channagoud Kadabi <ckadabi@codeaurora.org> Bug: 152635062 Test: build (cherry picked from commit ee514e9083c5d9f3312a54fd317786da7c9abdb1) [surenb: replaced out-of-tree readl_relaxed_no_log with functionally identical in-tree readl_relaxed] Signed-off-by: Suren Baghdasaryan <surenb@google.com> Change-Id: I1244c31c8a2717a6f2002cac3b26ee3526409058 Merged-In: I1244c31c8a2717a6f2002cac3b26ee3526409058