Refine RTC driver