diff options
| author | 2022-03-08 18:09:53 +0800 | |
|---|---|---|
| committer | 2022-03-15 01:24:16 +0100 | |
| commit | e5fabbe43f3f58c40c081dbe982431a088a68d9d (patch) | |
| tree | 7e7623c2a6ee9a8ef51d6f20af2c5f19f9cada3c /tools/include/trace/git:/ssh:/git@git.zx2c4.com | |
| parent | pinctrl: mediatek: paris: Rework mtk_pinconf_{get,set} switch/case logic (diff) | |
| download | linux-dev-e5fabbe43f3f58c40c081dbe982431a088a68d9d.tar.xz linux-dev-e5fabbe43f3f58c40c081dbe982431a088a68d9d.zip | |
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>
Diffstat (limited to 'tools/include/trace/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
