Hi Abhinav,
On Mon, Jun 25, 2018 at 12:17 AM, Abhinav Misra
wrote:
> Hi Guys,
>
> I want to know how the irq number is derived in linux kernel.
> In kernel we are using below function for registering ISR.
>
For platform drivers, usually this information comes from the device tree entry.
which yo
On Mon, Jun 25, 2018 at 12:17:06AM +0530, Abhinav Misra wrote:
> Hi Guys,
>
> I want to know how the irq number is derived in linux kernel.
It all depends on your platform. It either comes from the firmware/bios
or it is in the device tree information. The kernel itself doesn't know
this inform
Hi Guys,
I want to know how the irq number is derived in linux kernel.
In kernel we are using below function for registering ISR.
int *request_threaded_irq*(unsigned int irq, irq_handler_t handler,
irq_handler_t thread_fn, unsigned long irqflags, const char *devname,
void *dev_id)
1st arg is irq