pinctrl: mediatek: extend pinctrl-moore to support new bias functions
authorSam Shih <sam.shih@mediatek.com>
Sun, 6 Nov 2022 08:01:12 +0000 (09:01 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 10 Nov 2022 08:19:43 +0000 (09:19 +0100)
commitfae82621ac33e2a4a96220c56e90d1ec6237d394
tree09e1442b00cbf13111c978f34780f6f7d58f26be
parent3476b354c65db442580ef355885c69e60c546ef0
pinctrl: mediatek: extend pinctrl-moore to support new bias functions

Commit fb34a9ae383a ("pinctrl: mediatek: support rsel feature")
introduced SoC specify 'pull_type' attribute to mtk_pinconf_bias_set_combo
and mtk_pinconf_bias_get_combo, and make the functions able to support
almost all Mediatek SoCs that use pinctrl-mtk-common-v2.c.

This patch enables pinctrl_moore to support these functions.

Signed-off-by: Sam Shih <sam.shih@mediatek.com>
Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20221106080114.7426-6-linux@fw-web.de
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/mediatek/pinctrl-moore.c