Re: [PATCH v4 02/11] rtc: add dm_rtc_write() helper

2020-07-09 Thread Heiko Schocher
Hello Rasmus, Am 06.07.2020 um 22:01 schrieb Rasmus Villemoes: 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

[PATCH v4 02/11] rtc: add dm_rtc_write() helper

2020-07-06 Thread Rasmus Villemoes
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 Reviewed-by: Heiko Schocher Signed-off-by: Rasmus Villemoe