Re: [PATCH] pinctrl: rockchip: Add rk3328 pinctrl support

2017-02-06 Thread David.Wu
Hi Heiko, Sorry for late reply because of the holiday. @@ -355,6 +359,24 @@ struct rockchip_pinctrl { unsigned intnfunctions; }; +/** + * struct rockchip_mux_recalced_data: represent a pin iomux data. + * @num: bank num. + * @bit: index at register or used to calc

Re: [PATCH] pinctrl: rockchip: Add rk3328 pinctrl support

2017-01-27 Thread Heiko Stuebner
Hi David, Am Sonntag, 22. Januar 2017, 16:38:06 CET schrieb David Wu: > From: "david.wu" > > This patch supports 3bit width iomux type. > Note, the iomux of following pins are special, need to > be handled specially. > - gpio2_b0 ~ gpio2_b6 > - gpio2_b7 > - gpio2_c7 > - gpio3_b0 > - gpio3_b

Re: [PATCH] pinctrl: rockchip: Add rk3328 pinctrl support

2017-01-26 Thread Heiko Stübner
Am Donnerstag, 26. Januar 2017, 14:29:17 CET schrieb Linus Walleij: > On Sun, Jan 22, 2017 at 9:38 AM, David Wu wrote: > > From: "david.wu" > > > > This patch supports 3bit width iomux type. > > Note, the iomux of following pins are special, need to > > be handled specially. > > > > - gpio2_b0

Re: [PATCH] pinctrl: rockchip: Add rk3328 pinctrl support

2017-01-26 Thread Linus Walleij
On Sun, Jan 22, 2017 at 9:38 AM, David Wu wrote: > From: "david.wu" > > This patch supports 3bit width iomux type. > Note, the iomux of following pins are special, need to > be handled specially. > - gpio2_b0 ~ gpio2_b6 > - gpio2_b7 > - gpio2_c7 > - gpio3_b0 > - gpio3_b1 ~ gpio3_b7 > And th