twl_gpio_config
error = twl_gpio_config(sc, pin, flags);
twl_gpio_config(sc, gpin->pin_num, GPIO_PIN_INPUT);