Rasmus Villemoes d8be08805b rtc: add dm_rtc_read helper and ->read method
Some users may want to read multiple consecutive 8-bit
registers. Instead of each caller having to implement the loop,
provide a dm_rtc_read() helper. Also, allow a driver to provide a
->read method, which can be more efficient than reading one register
at a time.

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
2019-07-29 09:32:12 -04:00
2020-05-18 21:19:18 -04:00