Re: [PATCH v3 02/10] rtc: add dm_rtc_write() helper

2020-06-02 Thread Heiko Schocher
Hello Rasmus, Am 02.06.2020 um 21:13 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 v3 02/10] rtc: add dm_rtc_write() helper

2020-06-02 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 Signed-off-by: Rasmus Villemoes --- drivers/rtc/rtc-uclas