pinmux_gpio_direction
ret = pinmux_gpio_direction(pctldev, range, pin, input);
int pinmux_gpio_direction(struct pinctrl_dev *pctldev,