[PATCH v4 1/3] pinctrl: mediatek: rewrite mtk_pinconf_set and related functions