linux/drivers/pinctrl/mediatek
Sean Wang d6ed935513 pinctrl: mediatek: add pinctrl driver for MT7622 SoC
Add support for pinctrl on MT7622 SoC. The IO core found on the SoC has
the registers for pinctrl, pinconf and gpio mixed up in the same register
range. However, the IO core for the MT7622 SoC is completely distinct from
anyone of previous MediaTek SoCs which already had support, such as
the hardware internal, register address map and register detailed
definition for each pin.

Therefore, instead, the driver is being newly implemented by reusing
generic methods provided from the core layer with GENERIC_PINCONF,
GENERIC_PINCTRL_GROUPS, and GENERIC_PINMUX_FUNCTIONS for the sake of code
simplicity and rid of superfluous code. Where the function of pins
determined by groups is utilized in this driver which can help developers
less confused with what combinations of pins effective on the SoC and even
reducing the mistakes during the integration of those relevant boards.

As the gpio_chip handling is also only a few lines, the driver also
implements the gpio functionality directly through GPIOLIB.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Reviewed-by: Biao Huang <biao.huang@mediatek.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2017-12-20 08:49:41 +01:00
..
Kconfig pinctrl: mediatek: add pinctrl driver for MT7622 SoC 2017-12-20 08:49:41 +01:00
Makefile pinctrl: mediatek: add pinctrl driver for MT7622 SoC 2017-12-20 08:49:41 +01:00
pinctrl-mt2701.c pinctrl: mediatek: reuse pinctrl driver for mt7623 2017-05-22 10:39:25 +02:00
pinctrl-mt6397.c pinctrl: mediatek: use builtin_platform_driver 2016-11-22 10:17:28 +01:00
pinctrl-mt7622.c pinctrl: mediatek: add pinctrl driver for MT7622 SoC 2017-12-20 08:49:41 +01:00
pinctrl-mt8127.c pinctrl: mediatek: mt8* make driver explicitly non-modular 2016-01-27 14:59:31 +01:00
pinctrl-mt8135.c pinctrl: mediatek: mt8* make driver explicitly non-modular 2016-01-27 14:59:31 +01:00
pinctrl-mt8173.c pinctrl: mediatek: mt8* make driver explicitly non-modular 2016-01-27 14:59:31 +01:00
pinctrl-mtk-common.c pinctrl / gpio: Introduce .set_config() callback for GPIO chips 2017-01-26 15:27:37 +01:00
pinctrl-mtk-common.h pinctrl: mediatek: Add Pinctrl/GPIO/EINT driver for mt2701 2016-01-28 11:12:03 +01:00
pinctrl-mtk-mt2701.h pinctrl: mediatek: update PCIe mux data for MT7623 2017-08-31 09:13:03 +02:00
pinctrl-mtk-mt6397.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pinctrl-mtk-mt8127.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pinctrl-mtk-mt8135.h pinctrl: mediatek: Fix include directive 2015-03-18 10:58:21 +01:00
pinctrl-mtk-mt8173.h pinctrl: mt8173: set GPIO16 to usb iddig mode 2016-12-07 15:27:01 +01:00