When trying to use the SD card slot on the Genio 720 EVK, we found that the pin configuration was not working entirely correctly.
It turns out that there are a couple of different ways to set bias depending on the pin. One requires setting an RSEL register, which hasn't been seen before in U-Boot, so we add a new pinctrl-mtk-common function to handle this. Then we can fix the mt8189 driver. Finally, we add some additional debug functionality to print the bias registers when printing out the current pinmux state. This can help with debugging similar issues in the future. Signed-off-by: David Lechner <[email protected]> --- David Lechner (4): pinctrl: mediatek: add handling for RSEL register pinctrl: mediatek: mt8189: fix pinconf bias pinctrl: mediatek: print bias info along with pinmux pinctrl: mediatek: mtk8189: set get_pinconf functions drivers/pinctrl/mediatek/pinctrl-mt8189.c | 416 ++++++++++++++------------ drivers/pinctrl/mediatek/pinctrl-mtk-common.c | 110 ++++++- drivers/pinctrl/mediatek/pinctrl-mtk-common.h | 7 + 3 files changed, 347 insertions(+), 186 deletions(-) --- base-commit: f3bdde84af91b095a3f4ac07232c49b7ff13f7f4 change-id: 20260313-pinctrl-mtk-fix-mt8189-1f7cf61af74a Best regards, -- David Lechner <[email protected]>

