Re: [PATCH v2 5/8] pinctrl: add pinctrl driver for Rockchip SoCs

2013-06-07 Thread Heiko Stübner
Am Samstag, 8. Juni 2013, 01:13:48 schrieb Heiko Stübner: > Am Freitag, 7. Juni 2013, 14:53:51 schrieb Linus Walleij: > > On Thu, Jun 6, 2013 at 9:11 PM, Heiko Stübner wrote: > > > + for (i = 0, j = 0; i < size; i += 4, j++) { > > > + unsigned long pinconf; > > > + > > > +

Re: [PATCH v2 5/8] pinctrl: add pinctrl driver for Rockchip SoCs

2013-06-07 Thread Heiko Stübner
Am Freitag, 7. Juni 2013, 14:53:51 schrieb Linus Walleij: > On Thu, Jun 6, 2013 at 9:11 PM, Heiko Stübner wrote: > > + for (i = 0, j = 0; i < size; i += 4, j++) { > > + unsigned long pinconf; > > + > > + num = be32_to_cpu(*list++); > > + bank = bank_

Re: [PATCH v2 5/8] pinctrl: add pinctrl driver for Rockchip SoCs

2013-06-07 Thread Linus Walleij
On Thu, Jun 6, 2013 at 9:11 PM, Heiko Stübner wrote: > This driver adds support the Cortex-A9 based SoCs from Rockchip, > so at least the RK2928, RK3066 (a and b) and RK3188. > Earlier Rockchip SoCs seem to use similar mechanics for gpio > handling so should be supportable with relative small cha

[PATCH v2 5/8] pinctrl: add pinctrl driver for Rockchip SoCs

2013-06-06 Thread Heiko Stübner
This driver adds support the Cortex-A9 based SoCs from Rockchip, so at least the RK2928, RK3066 (a and b) and RK3188. Earlier Rockchip SoCs seem to use similar mechanics for gpio handling so should be supportable with relative small changes. Pull handling on the rk3188 is currently a stub, due to i