Rasmus Villemoes 09381829a2 rtc: add dm_rtc_write() helper
Similar to dm_rtc_read(), introduce a helper that allows the caller to
write multiple consecutive 8-bit registers with one call. If the
driver provides the ->write method, use that, otherwise loop using
->write8.

Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
2020-07-09 06:02:44 +02:00
..
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-04-24 16:40:09 -04:00
2020-05-18 21:19:18 -04:00
2020-01-10 10:25:13 -05:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-01-10 10:25:13 -05:00
2018-07-30 16:02:29 -04:00
2018-06-05 20:19:09 -04:00
2020-05-18 21:19:18 -04:00
2019-05-31 23:27:12 +02:00
2020-07-09 06:02:44 +02:00
2019-07-29 09:32:12 -04:00
2020-05-18 21:19:18 -04:00