linux-stable/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
mtk-eint.h
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-mt2712.c
pinctrl-mt6397.c
pinctrl-mt6765.c
pinctrl-mt6779.c
pinctrl-mt6797.c
pinctrl-mt7622.c
pinctrl-mt7623.c
pinctrl-mt7629.c
pinctrl-mt7986.c pinctrl: mediatek: add support for MT7986 SoC 2021-10-24 23:06:32 +02:00
pinctrl-mt8127.c
pinctrl-mt8135.c
pinctrl-mt8167.c
pinctrl-mt8173.c
pinctrl-mt8183.c
pinctrl-mt8186.c pinctrl: add pinctrl driver on mt8186 2022-03-15 01:00:03 +01:00
pinctrl-mt8192.c
pinctrl-mt8195.c pinctrl: mediatek: add rsel setting on MT8195 2021-10-03 00:43:36 +02:00
pinctrl-mt8365.c
pinctrl-mt8516.c
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-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-mtk-mt2701.h
pinctrl-mtk-mt2712.h
pinctrl-mtk-mt6397.h
pinctrl-mtk-mt6765.h
pinctrl-mtk-mt6779.h
pinctrl-mtk-mt6797.h
pinctrl-mtk-mt8127.h
pinctrl-mtk-mt8135.h
pinctrl-mtk-mt8167.h
pinctrl-mtk-mt8173.h
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-mtk-mt8195.h
pinctrl-mtk-mt8365.h
pinctrl-mtk-mt8516.h
pinctrl-paris.c pinctrl: mediatek: paris: Support generic PIN_CONFIG_DRIVE_STRENGTH_UA 2022-03-15 01:24:16 +01:00
pinctrl-paris.h