[linux-sunxi] Re: [PATCH v2] pinctrl: sunxi: H3 requires irq_read_needs_mux

2016-02-11 Thread Linus Walleij
On Fri, Feb 5, 2016 at 2:51 PM, Chen-Yu Tsai wrote: > On Fri, Feb 5, 2016 at 9:39 PM, Linus Walleij > wrote: >> On Wed, Feb 3, 2016 at 8:57 AM, Krzysztof Adamski wrote: >> >>> It seems that on H3, just like on A10, when GPIOs are configured as >>> external interrupt data registers does not cont

[linux-sunxi] Re: [PATCH v2] pinctrl: sunxi: H3 requires irq_read_needs_mux

2016-02-05 Thread Chen-Yu Tsai
On Fri, Feb 5, 2016 at 9:39 PM, Linus Walleij wrote: > On Wed, Feb 3, 2016 at 8:57 AM, Krzysztof Adamski wrote: > >> It seems that on H3, just like on A10, when GPIOs are configured as >> external interrupt data registers does not contain their value. When >> value is read, GPIO function must be

[linux-sunxi] Re: [PATCH v2] pinctrl: sunxi: H3 requires irq_read_needs_mux

2016-02-05 Thread Krzysztof Adamski
On Fri, Feb 05, 2016 at 02:39:23PM +0100, Linus Walleij wrote: On Wed, Feb 3, 2016 at 8:57 AM, Krzysztof Adamski wrote: It seems that on H3, just like on A10, when GPIOs are configured as external interrupt data registers does not contain their value. When value is read, GPIO function must be

[linux-sunxi] Re: [PATCH v2] pinctrl: sunxi: H3 requires irq_read_needs_mux

2016-02-05 Thread Linus Walleij
On Wed, Feb 3, 2016 at 8:57 AM, Krzysztof Adamski wrote: > It seems that on H3, just like on A10, when GPIOs are configured as > external interrupt data registers does not contain their value. When > value is read, GPIO function must be temporary switched to input for > reads. > > Signed-off-by: