aboutsummaryrefslogtreecommitdiff
path: root/lib/parser.c
diff options
context:
space:
mode:
authorAndre Przywara <[email protected]>2022-02-11 12:26:30 +0000
committerAlexandre Belloni <[email protected]>2022-03-23 19:58:38 +0100
commit7878fec4b5445b708f5aa068bbc600e59308a165 (patch)
treec75c2eb299b8c06a22fa69de51ce7801774439f6 /lib/parser.c
parent648c151ab5d8b05bf1c539c92fcb080f475f20b9 (diff)
rtc: sun6i: Add support for broken-down alarm registers
Newer versions of the Allwinner RTC, for instance as found in the H616 SoC, not only store the current day as a linear number, but also change the way the alarm is handled: There are now two registers, that explicitly store the wakeup time, in the same format as the current time. Add support for that variant by writing the requested wakeup time directly into the registers, instead of programming the seconds left, as the old SoCs required. Reviewed by: Jernej Skrabec <[email protected]> Signed-off-by: Andre Przywara <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions