summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/mediatek/pinctrl-mt2701.c
diff options
context:
space:
mode:
authorSean Wang <sean.wang@mediatek.com>2017-05-01 10:54:34 +0300
committerLinus Walleij <linus.walleij@linaro.org>2017-05-22 11:39:25 +0300
commitceba43834d1059b460cd05f92eff08c3fe5627f4 (patch)
treef9e2b548cce3c9f5af03fb99c2e028d356dd0951 /drivers/pinctrl/mediatek/pinctrl-mt2701.c
parentc21b4327426ee914a1b5a4cd46ca36f2119888d3 (diff)
downloadlinux-ceba43834d1059b460cd05f92eff08c3fe5627f4.tar.xz
pinctrl: mediatek: reuse pinctrl driver for mt7623
mt7623 pinctrl hardware can be compatible with mt2701 driver, so the patch lets the pinctrl on mt7623 SoC reuse the driver and deletes those redundant ones. Signed-off-by: Sean Wang <sean.wang@mediatek.com> Acked-by: John Crispin <john@phrozen.org> Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/mediatek/pinctrl-mt2701.c')
-rw-r--r--drivers/pinctrl/mediatek/pinctrl-mt2701.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/mediatek/pinctrl-mt2701.c b/drivers/pinctrl/mediatek/pinctrl-mt2701.c
index 8d802fa7decd..f86f3b379607 100644
--- a/drivers/pinctrl/mediatek/pinctrl-mt2701.c
+++ b/drivers/pinctrl/mediatek/pinctrl-mt2701.c
@@ -565,6 +565,7 @@ static int mt2701_pinctrl_probe(struct platform_device *pdev)
static const struct of_device_id mt2701_pctrl_match[] = {
{ .compatible = "mediatek,mt2701-pinctrl", },
+ { .compatible = "mediatek,mt7623-pinctrl", },
{}
};
MODULE_DEVICE_TABLE(of, mt2701_pctrl_match);