Re: [PATCH 1/4] pinctrl: imx: detect uninitialized pins

2014-09-23 Thread Linus Walleij
On Sat, Sep 6, 2014 at 6:25 PM, Stefan Agner wrote: > The pinctrl driver initialized the register offsets for the pins > with 0. On Vybrid an offset of 0 is a valid offset for the pinctrl > mux register. So far, this was solved using the ZERO_OFFSET_VALID > flag which allowed offsets of 0.

Re: [PATCH 1/4] pinctrl: imx: detect uninitialized pins

2014-09-23 Thread Linus Walleij
On Sat, Sep 6, 2014 at 6:25 PM, Stefan Agner ste...@agner.ch wrote: The pinctrl driver initialized the register offsets for the pins with 0. On Vybrid an offset of 0 is a valid offset for the pinctrl mux register. So far, this was solved using the ZERO_OFFSET_VALID flag which allowed offsets

[PATCH 1/4] pinctrl: imx: detect uninitialized pins

2014-09-06 Thread Stefan Agner
The pinctrl driver initialized the register offsets for the pins with 0. On Vybrid an offset of 0 is a valid offset for the pinctrl mux register. So far, this was solved using the ZERO_OFFSET_VALID flag which allowed offsets of 0. However, this does not allow to verify whether a pins struct

[PATCH 1/4] pinctrl: imx: detect uninitialized pins

2014-09-06 Thread Stefan Agner
The pinctrl driver initialized the register offsets for the pins with 0. On Vybrid an offset of 0 is a valid offset for the pinctrl mux register. So far, this was solved using the ZERO_OFFSET_VALID flag which allowed offsets of 0. However, this does not allow to verify whether a pins struct