[Linux-Xtensa] [PATCH v3 11/17] xtensa: move built-in PIC to drivers/irqchip

Baruch Siach baruch at tkos.co.il
Sun Dec 1 08:18:22 UTC 2013


Hi Max,

On Sun, Dec 01, 2013 at 12:04:56PM +0400, Max Filippov wrote:
> Extract xtensa built-in interrupt controller implementation from
> xtensa/kernel/irq.c and move it to other irqchips, providing way to
> instantiate it from the device tree.
> 
> Signed-off-by: Max Filippov <jcmvbkbc at gmail.com>
> ---
> Changes v1 -> v3:
> - update compatible string for PIC irqchip

[...]

>  #ifdef CONFIG_OF
> -	/* The interrupt controller device node is mandatory */
> -	intc = of_find_compatible_node(NULL, NULL, "xtensa,pic");

[...]

> +IRQCHIP_DECLARE(xtensa_irq_chip, "cdns,xtensa-pic", xtensa_pic_init);

This changes the binding for an existing in-tree user 
(arch/xtensa/boot/dts/xtfpga.dtsi). I think this user should also be updated.

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -


More information about the linux-xtensa mailing list