Re: [PATCH v6] irq: add irq_domain support to generic-chip

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

Hi Rob,

On 9 February 2012 04:25, Rob Herring <robherring2@xxxxxxxxx> wrote:
> From: Rob Herring <rob.herring@xxxxxxxxxxx>
>
> Add irq domain support to irq generic-chip. This enables users of
> generic-chip to support dynamic irq assignment needed for DT interrupt
> binding.
>
> Thanks to Shawn Guo for fixes and testing.
>
> Signed-off-by: Rob Herring <rob.herring@xxxxxxxxxxx>
> Cc: Grant Likely <grant.likely@xxxxxxxxxxxx>
> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> ---
> Here's the latest version. This has fixes from Shawn Guo, so should be
> working. This version is also available here:
>
> git://sources.calxeda.com/kernel/linux.git pl061-domain-v6.
>
>  include/linux/irq.h       |   15 +++++
>  kernel/irq/generic-chip.c |  152 ++++++++++++++++++++++++++++++++++++++-------
>  2 files changed, 145 insertions(+), 22 deletions(-)
>

[...]

> diff --git a/kernel/irq/generic-chip.c b/kernel/irq/generic-chip.c
> index c89295a..3ac7fa1 100644
> --- a/kernel/irq/generic-chip.c
> +++ b/kernel/irq/generic-chip.c

[...]

> +static const struct irq_domain_ops irq_gc_irq_domain_ops = {
> +       .map = irq_gc_irq_domain_map,
> +       .xlate = irq_domain_xlate_onetwocell,
> +};

Is there anyway to use a custom xlate function instead of the fixed
'irq_domain_xlate_onetwocell' xlate function. I am using this patchset
with Exynos4 interrupt combiner controller whose interrupt specifier
format is two cell but has different meaning. The first cell is the
interrupt combiner number and the second cell is the interrupt number
within that combiner.

Thanks,
Thomas.

[...]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel



[Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [PDAs]     [Linux]     [Linux MIPS]     [Yosemite Campsites]     [Photos]

Add to Google Follow linuxarm on Twitter