[1/3] pinctrl: mediatek: rewrite mtk_pinconf_set and related functions

Tom Rini trini at konsulko.com
Fri Mar 25 21:42:27 CET 2022


On Thu, Mar 10, 2022 at 12:31:43PM +0800, Sam Shih wrote:

> There are many pins in a SoCs, and different pin may belong
> to different "io_type", For example: some pins of MT7622 belongs
> to "io_type A", the other belongs to "io_type B", and pinctrl "V0"
> means handle pinconf via "io_type A" or "io_type B", so SoCs that
> contain "io_type A" and "io_type B" pins, use "V0" in pinctrl driver.
> 
> This patch separates the implementation of register operations
> (e.g: "bias-pull-up/down", "driving" and "input-enable") into
> different functions, and lets the original V0/V1
> ops to call the new functions.
> 
> Signed-off-by: Sam Shih <sam.shih at mediatek.com>

This series breaks mt7623a_unielec_u7623_02 and other mediatek
platforms, please retest and resubmit, thanks.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220325/e98e6486/attachment.sig>


More information about the U-Boot mailing list