]> asedeno.scripts.mit.edu Git - linux.git/commit
pinctrl: mediatek: add pinctrl-moore that implements the generic pinctrl dt-bindings
authorSean Wang <sean.wang@mediatek.com>
Sat, 8 Sep 2018 11:07:18 +0000 (19:07 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 18 Sep 2018 21:52:37 +0000 (14:52 -0700)
commite78d57b2f87c053c224a612121fc842ebe511ad2
treecd509c33947205979c1ad8c2d4e0b4c4c96dbb07
parenta1a503a8c33204963f20594c723060baee3acbb2
pinctrl: mediatek: add pinctrl-moore that implements the generic pinctrl dt-bindings

Add a generic driver pinctrl-moore.c for MT762x SoC and any other SoC
that would like to use generic dt-binding. The patch is furtherly
refactored from pinctrl-mt7622.c that totally uses the functions back by
the generic pinctrl core such as GENERIC_PINCONF, GENERIC_PINCTRL_GROUPS,
and GENERIC_PINMUX_FUNCTIONS and its binding also completely follows up
pinctrl-bindings.txt in Documentation/devicetree/bindings/pinctrl/ to
implement.

Signed-off-by: Ryder.Lee <ryder.lee@mediatek.com>
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/mediatek/Kconfig
drivers/pinctrl/mediatek/Makefile
drivers/pinctrl/mediatek/pinctrl-moore.c [new file with mode: 0644]
drivers/pinctrl/mediatek/pinctrl-moore.h [new file with mode: 0644]
drivers/pinctrl/mediatek/pinctrl-mt7622.c