PMIC_GPIO_REG_PULL_SHIFT
val = pad->pullup << PMIC_GPIO_REG_PULL_SHIFT;
pad->pullup = val >> PMIC_GPIO_REG_PULL_SHIFT;