meson_pinconf_get_gpio_bit
int ret = meson_pinconf_get_gpio_bit(pc, pin, MESON_REG_DIR);
return meson_pinconf_get_gpio_bit(pc, pin, MESON_REG_OUT);