Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

pinctrl: mediatek: Drop bogus slew rate register range for MT8192

The MT8192 does not support configuring pin slew rate. This is evident
from both the datasheet, and the fact that the driver points the slew
rate register range at the GPIO direction register range.

Drop the bogus setting.

Fixes: d32f38f2a8fc ("pinctrl: mediatek: Add pinctrl driver for mt8192")
Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20240131071910.3950450-2-wenst@chromium.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Chen-Yu Tsai and committed by
Linus Walleij
e15ab05a 3a29c875

-1
-1
drivers/pinctrl/mediatek/pinctrl-mt8192.c
··· 1379 1379 [PINCTRL_PIN_REG_DIR] = MTK_RANGE(mt8192_pin_dir_range), 1380 1380 [PINCTRL_PIN_REG_DI] = MTK_RANGE(mt8192_pin_di_range), 1381 1381 [PINCTRL_PIN_REG_DO] = MTK_RANGE(mt8192_pin_do_range), 1382 - [PINCTRL_PIN_REG_SR] = MTK_RANGE(mt8192_pin_dir_range), 1383 1382 [PINCTRL_PIN_REG_SMT] = MTK_RANGE(mt8192_pin_smt_range), 1384 1383 [PINCTRL_PIN_REG_IES] = MTK_RANGE(mt8192_pin_ies_range), 1385 1384 [PINCTRL_PIN_REG_PU] = MTK_RANGE(mt8192_pin_pu_range),