Re: [PATCH] export of_irq_count

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

 




On Wed, Feb 12, 2014 at 12:32 PM, Rob Herring <robherring2@xxxxxxxxx> wrote:
> On Wed, Feb 12, 2014 at 11:34 AM, delicious quinoa
> <delicious.quinoa@xxxxxxxxx> wrote:
>> From: Alan Tull <atull@xxxxxxxxxx>
>>
>> export of_irq_count so it can be used in drivers that are built
>> as modules.
>
> What drivers? Drivers generally should be using resources rather than
> this function directly.

It's for the DesignWare GPIO driver I've been upstreaming.  The
DesignWare IP can be configured to be one irq for all the gpios or one
irq per gpio.  I want to support both cases.  So I need to know how
many irqs are specified in the device tree.

Alan
aka
delicious quinoa
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux