[PATCH 0/4] pinctrl: mediatek: fix mt8189 MSDC and I2C pins
David Lechner
dlechner at baylibre.com
Fri Mar 13 22:55:32 CET 2026
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 <dlechner at baylibre.com>
---
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 <dlechner at baylibre.com>
More information about the U-Boot
mailing list