pl031_stv2_tm_to_time
ret = pl031_stv2_tm_to_time(dev, tm, &time, &bcd_year);
ret = pl031_stv2_tm_to_time(dev, &alarm->time,