linux/drivers/pinctrl/mediatek
Chen-Yu Tsai e5fabbe43f pinctrl: mediatek: paris: Support generic PIN_CONFIG_DRIVE_STRENGTH_UA
Some of the MediaTek chips that utilize the Paris pinctrl driver library
support a lower drive strength (<= 1mA) than the standard drive strength
settings (2~16 mA) on certain pins. This was previously supported by the
custom MTK_PIN_CONFIG_DRV_ADV parameter along with the
"mediatek,drive-strength-adv" device tree property.

The drive strength values for this hardware are 125, 250, 500, and 1000 mA,
and can be readily described by the existing "drive-strength-microamp"
property, which then gets parsed by the generic pinconf library into the
parameter PIN_CONFIG_DRIVE_STRENGTH_UA.

Add support for PIN_CONFIG_DRIVE_STRENGTH_UA while keeping the old
custom parameter around for backward compatibility.

Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20220308100956.2750295-9-wenst@chromium.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2022-03-15 01:24:16 +01:00
..
Kconfig pinctrl: add pinctrl driver on mt8186 2022-03-15 01:00:03 +01:00
Makefile pinctrl: add pinctrl driver on mt8186 2022-03-15 01:00:03 +01:00
mtk-eint.c pinctrl: Bulk conversion to generic_handle_domain_irq() 2021-08-12 11:39:39 +01:00
mtk-eint.h pinctrl: mediatek: mark dummy helpers as 'static inline' 2018-09-28 09:27:04 +02:00
pinctrl-moore.c pinctrl: Get rid of duplicate of_node assignment in the drivers 2021-12-16 04:18:30 +01:00
pinctrl-moore.h
pinctrl-mt2701.c pinctrl: mediatek: don't hardcode mode encoding in common code 2021-05-27 16:50:15 +02:00
pinctrl-mt2712.c pinctrl: mediatek: don't hardcode mode encoding in common code 2021-05-27 16:50:15 +02:00
pinctrl-mt6397.c pinctrl: mediatek: don't hardcode mode encoding in common code 2021-05-27 16:50:15 +02:00
pinctrl-mt6765.c pinctrl: mediatek: make MediaTek MT6765 pinctrl ready for buiding loadable module 2020-04-16 09:59:11 +02:00
pinctrl-mt6779.c pinctrl: mediatek: add mt6779 eint support 2020-08-04 01:29:10 +02:00
pinctrl-mt6797.c pinctrl: mediatek: Add initial pinctrl driver for MT6797 SoC 2018-11-15 11:05:54 +01:00
pinctrl-mt7622.c pinctrl: mt7622: drop pwm ch7 as mt7622 only has 6 channels 2020-11-10 14:58:14 +01:00
pinctrl-mt7623.c
pinctrl-mt7629.c pinctrl: mediatek: add pinctrl support for MT7629 SoC 2018-11-19 15:40:26 +01:00
pinctrl-mt7986.c pinctrl: mediatek: add support for MT7986 SoC 2021-10-24 23:06:32 +02:00
pinctrl-mt8127.c pinctrl: mediatek: don't hardcode mode encoding in common code 2021-05-27 16:50:15 +02:00
pinctrl-mt8135.c pinctrl: mediatek: don't hardcode mode encoding in common code 2021-05-27 16:50:15 +02:00
pinctrl-mt8167.c pinctrl: mediatek: don't hardcode mode encoding in common code 2021-05-27 16:50:15 +02:00
pinctrl-mt8173.c pinctrl: mediatek: don't hardcode mode encoding in common code 2021-05-27 16:50:15 +02:00
pinctrl-mt8183.c pinctrl: mediatek: Backward compatible to previous Mediatek's bias-pull usage 2020-02-14 11:36:49 +01:00
pinctrl-mt8186.c pinctrl: add pinctrl driver on mt8186 2022-03-15 01:00:03 +01:00
pinctrl-mt8192.c pinctrl: mediatek: Add pinctrl driver for mt8192 2020-08-27 10:50:57 +02:00
pinctrl-mt8195.c pinctrl: mediatek: add rsel setting on MT8195 2021-10-03 00:43:36 +02:00
pinctrl-mt8365.c pinctrl: mediatek: fix platform_no_drv_owner.cocci warnings 2021-07-23 18:11:30 +02:00
pinctrl-mt8516.c pinctrl: mediatek: don't hardcode mode encoding in common code 2021-05-27 16:50:15 +02:00
pinctrl-mtk-common-v2.c Pin control bulk changes for the v5.17 kernel cycle 2022-01-12 10:56:08 -08:00
pinctrl-mtk-common-v2.h pinctrl: mediatek: support rsel feature 2021-10-03 00:43:36 +02:00
pinctrl-mtk-common.c pinctrl: mediatek: Fix missing of_node_put() in mtk_pctrl_init 2022-03-15 01:21:27 +01:00
pinctrl-mtk-common.h pinctrl: mediatek: don't hardcode mode encoding in common code 2021-05-27 16:50:15 +02:00
pinctrl-mtk-mt2701.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
pinctrl-mtk-mt2712.h pinctrl: mediatek: Use the correct style for SPDX License Identifier 2019-12-12 11:30:33 +01:00
pinctrl-mtk-mt6397.h
pinctrl-mtk-mt6765.h
pinctrl-mtk-mt6779.h pinctrl: mediatek: add pinctrl support for MT6779 SoC 2020-08-04 01:29:09 +02:00
pinctrl-mtk-mt6797.h pinctrl: mediatek: Add initial pinctrl driver for MT6797 SoC 2018-11-15 11:05:54 +01:00
pinctrl-mtk-mt8127.h
pinctrl-mtk-mt8135.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
pinctrl-mtk-mt8167.h pinctrl: mediatek: Add MT8167 Pinctrl driver 2020-09-27 11:20:09 +02:00
pinctrl-mtk-mt8173.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
pinctrl-mtk-mt8183.h
pinctrl-mtk-mt8186.h pinctrl: add pinctrl driver on mt8186 2022-03-15 01:00:03 +01:00
pinctrl-mtk-mt8192.h pinctrl: mediatek: Add pinctrl driver for mt8192 2020-08-27 10:50:57 +02:00
pinctrl-mtk-mt8195.h pinctrl: add pinctrl driver on mt8195 2021-04-22 01:53:02 +02:00
pinctrl-mtk-mt8365.h pinctrl: mediatek: add support for mt8365 SoC 2021-05-27 16:50:15 +02:00
pinctrl-mtk-mt8516.h pinctrl: mediatek: Add MT8516 Pinctrl driver 2019-05-03 07:53:13 +01:00
pinctrl-paris.c pinctrl: mediatek: paris: Support generic PIN_CONFIG_DRIVE_STRENGTH_UA 2022-03-15 01:24:16 +01:00
pinctrl-paris.h pinctrl: mediatek: Add support for pin configuration dump via debugfs. 2020-02-14 11:38:26 +01:00