]> git.dujemihanovic.xyz Git - u-boot.git/commit
pinctrl: mediatek: mt7981: init device before relocation
authorChristian Marangi <ansuelsmth@gmail.com>
Mon, 24 Jun 2024 21:03:37 +0000 (23:03 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 8 Jul 2024 17:45:50 +0000 (11:45 -0600)
commit63d0f683efb70399a93ea7f95eeb78062cc613f0
tree44e61022baf52d1bdfbf9b6b519bd1cff9ede0d9
parente499d5d430edc69acfee8023d104c389d752ed56
pinctrl: mediatek: mt7981: init device before relocation

Upstream kernel linux define pinctrl for uart0, hence this pin group
and pinctrl driver is needed before relocation. Add DM_FLAG_PRE_RELOC
flag to init and mute mtk_serial error on early serial init.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
drivers/pinctrl/mediatek/pinctrl-mt7981.c