Re: [PATCH 2/3] pinctrl: mediatek: don't hardcode mode encoding in common code

From: Linus Walleij
Date: Thu May 27 2021 - 10:52:09 EST


On Wed, May 19, 2021 at 6:24 PM Fabien Parent <fparent@xxxxxxxxxxxx> wrote:

> MT8365 encode the pins mode differently than other
> MTK pinctrl drivers that use the PINCTRL_MTK common code.
>
> Add 3 new fields in mtk_pinctrl_devdata in order to store how
> pin modes are encoded into the register. At the
> same time update all the pinctrl driver that depends on
> CONFIG_PINCTRL_MTK.
>
> Signed-off-by: Fabien Parent <fparent@xxxxxxxxxxxx>

Patch applied.

Yours,
Linus Walleij