Re: [PATCH v2 04/11] pinctrl: mediatek: add mtk_pctrl_spec_pull_set_samereg common code

2015-05-19 Thread Linus Walleij
On Tue, May 19, 2015 at 8:11 AM, Hongzhou Yang wrote: > From: Yingjoe Chen > > 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

[PATCH v2 04/11] pinctrl: mediatek: add mtk_pctrl_spec_pull_set_samereg common code

2015-05-18 Thread Hongzhou Yang
From: Yingjoe Chen 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-b