[PATCH 02/10] pinctrl: mediatek: add mtk_pctrl_spec_pull_set_samereg common code

Linus Walleij linus.walleij at linaro.org
Tue May 19 01:50:41 PDT 2015

On Thu, May 14, 2015 at 3:35 AM, Hongzhou Yang
<hongzhou.yang at mediatek.com> wrote:

> From: Yingjoe Chen <yingjoe.chen at mediatek.com>
> Several mediatek soc use similar pull setting procedure as mt8173,
> the pupd enable and resistance setting are in the same register.
> Add common code mtk_pctrl_spec_pull_set_samereg out of spec_pull_set
> in mt8173 to handle this case, so future soc driver can use it.
> Signed-off-by: Yingjoe Chen <yingjoe.chen at mediatek.com>
> Signed-off-by: Hongzhou Yang <hongzhou.yang at mediatek.com>

Patch applied.

Linus Walleij

More information about the Linux-mediatek mailing list