> + if (rate != 32768) > + use_scmp = RZN1_RTC_CTL0_SLSB_SCMP; > + } > + > + if (use_scmp) { > + writel(rate - 1, rtc->base + RZN1_RTC_SCMP); We need to stop the RTC before writing to this register and setting the RZN1_RTC_CTL0_SLSB_SCMP bit. I will include this in the next version. Does not affect the big picture for these changes, though.
Attachment:
signature.asc
Description: PGP signature