th1520_padcfg_shift
unsigned int shift = th1520_padcfg_shift(pin);
value = (value >> th1520_padcfg_shift(pin)) & GENMASK(9, 0);