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 MT8186

The MT8186 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: 8b483bda1e46 ("pinctrl: add pinctrl driver on mt8186")
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-1-wenst@chromium.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Chen-Yu Tsai and committed by
Linus Walleij
3a29c875 1a7a7aa1

-1
-1
drivers/pinctrl/mediatek/pinctrl-mt8186.c
··· 1198 1198 [PINCTRL_PIN_REG_DIR] = MTK_RANGE(mt8186_pin_dir_range), 1199 1199 [PINCTRL_PIN_REG_DI] = MTK_RANGE(mt8186_pin_di_range), 1200 1200 [PINCTRL_PIN_REG_DO] = MTK_RANGE(mt8186_pin_do_range), 1201 - [PINCTRL_PIN_REG_SR] = MTK_RANGE(mt8186_pin_dir_range), 1202 1201 [PINCTRL_PIN_REG_SMT] = MTK_RANGE(mt8186_pin_smt_range), 1203 1202 [PINCTRL_PIN_REG_IES] = MTK_RANGE(mt8186_pin_ies_range), 1204 1203 [PINCTRL_PIN_REG_PU] = MTK_RANGE(mt8186_pin_pu_range),