[PATCH v2 16/22] pinctrl: mediatek: extend struct mtk_pin_desc which per-pin driver depends on
From: Linus Walleij <hidden>
Date: 2018-09-18 19:58:56
Also in:
linux-gpio, linux-mediatek, lkml
From: Linus Walleij <hidden>
Date: 2018-09-18 19:58:56
Also in:
linux-gpio, linux-mediatek, lkml
On Sat, Sep 8, 2018 at 4:08 AM [off-list ref] wrote:
From: Sean Wang <sean.wang@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@mediatek.com>
Patch applied. Yours, Linus Walleij