[PATCH v2 16/22] pinctrl: mediatek: extend struct mtk_pin_desc which per-pin driver depends on

Linus Walleij linus.walleij at linaro.org
Tue Sep 18 12:58:40 PDT 2018


On Sat, Sep 8, 2018 at 4:08 AM <sean.wang at mediatek.com> wrote:

> From: Sean Wang <sean.wang at mediatek.com>
>
> Because the pincrl-mtk-common.c is an implementation for per-pin binding,
> its pin descriptor includes more information than pinctrl-mtk-common-v2
> so far can support. So, we complement these data before writing a driver
> using pincrl-mtk-common-v2.c for per-pin binding. By the way, the size of
> struct mtk_pin_desc would be larger than struct pinctrl_pin_desc can hold,
> so it's necessary to have a copy before the pins information is being
> registered into the core.
>
> Signed-off-by: Sean Wang <sean.wang at mediatek.com>

Patch applied.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list