Re: [linux-sunxi] Re: [PATCH 01/11] pinctrl: sunxi: create irq/pin mapping during init

2014-05-28 Thread Linus Walleij
On Tue, May 27, 2014 at 4:21 PM, Chen-Yu Tsai wrote: > On Tue, May 27, 2014 at 10:11 PM, Linus Walleij >> I tried to hack the sunxi driver to even use the gpiolib >> irqchip helpers but exactly this complex map thing in >> ->irq_array[] git me stuck. If any of you guys could be so >> nice to take

Re: [linux-sunxi] Re: [PATCH 01/11] pinctrl: sunxi: create irq/pin mapping during init

2014-05-27 Thread Chen-Yu Tsai
On Tue, May 27, 2014 at 10:11 PM, Linus Walleij wrote: > On Mon, May 26, 2014 at 9:47 AM, Hans de Goede wrote: > >> From: Chen-Yu Tsai >> >> The irq/pin mapping is used to lookup the pin to mux to the irq >> function when the irq is enabled. It is created when gpio_to_irq >> is called. Creating

Re: [linux-sunxi] Re: [PATCH 01/11] pinctrl: sunxi: create irq/pin mapping during init

2014-05-27 Thread Chen-Yu Tsai
On Tue, May 27, 2014 at 4:02 PM, Maxime Ripard wrote: > Hi, > > On Mon, May 26, 2014 at 09:47:56AM +0200, Hans de Goede wrote: >> From: Chen-Yu Tsai >> >> The irq/pin mapping is used to lookup the pin to mux to the irq >> function when the irq is enabled. It is created when gpio_to_irq >> is call