Lines Matching +full:i2c +full:- +full:retry +full:- +full:count
1 // SPDX-License-Identifier: GPL-2.0+
3 * rtc-dm355evm.c - access battery-backed counter in MSP430 firmware
19 * reasonable RTC for applications where alarms and non-NTP drift
23 * counter bytes atomically: the count may increment in the middle
42 * rolling over by re-reading until the value is stable, in dm355evm_rtc_read_time()
93 * REVISIT handle non-atomic writes ... maybe just retry until in dm355evm_rtc_set_time()
120 /*----------------------------------------------------------------------*/
126 rtc = devm_rtc_allocate_device(&pdev->dev); in dm355evm_rtc_probe()
132 rtc->ops = &dm355evm_rtc_ops; in dm355evm_rtc_probe()
133 rtc->range_max = U32_MAX; in dm355evm_rtc_probe()
139 * I2C is used to talk to the MSP430, but this platform device is
140 * exposed by an MFD driver that manages I2C communications.
145 .name = "rtc-dm355evm",