[PATCH v4 3/3] pinctrl: mediatek: add support for different types of IO pins