Re: [PATCH v4 1/2] gpio/omap: don't create an IRQ mapping for every GPIO on DT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 29, 2013 at 1:11 PM, Javier Martinez Canillas
<javier.martinez@xxxxxxxxxxxxxxx> wrote:

> A different "GPIO hogs" approach will be used to pre-define which GPIO
> are going to be used as IRQ so the core can request them and setup as input.
>
> I expect you will have the same issue with this new approach though since
> the omap hsmmc driver will try to call gpio_request() on a previously
> requested GPIO.

This should not happen.

I've realized that GPIO interrupt hogs will just redefine information
that already exist in the device tree.

The right way is to traverse the tree, find all references to the GPIO
based interrupt-controller, and request each of these lines as
GPIO (i.e. hog them) in the gpiolib OF core.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux