CDNS_RTC_CAL_DAY
tm->tm_wday = bcd2bin(FIELD_GET(CDNS_RTC_CAL_DAY, reg)) - 1;
| FIELD_PREP(CDNS_RTC_CAL_DAY, tm->tm_wday + 1);