[PATCH 03/12] mtd: nand: omap: Move IRQ handling from GPMC to NAND driver

Tony Lindgren tony at atomide.com
Mon Jul 13 00:10:09 PDT 2015


* Roger Quadros <rogerq at ti.com> [150710 05:26]:
> Since the Interrupt Events are used only by the NAND driver,
> there is no point in managing the Interrupt registers
> in the GPMC driver and complicating it with irqchip modeling.

I don't think it's a good idea to allow external drivers to
tinker directly with GPMC registers. How about just set up GPMC
as an irqchip for the edge detection interrupts?

I think we already have devices with multiple NAND chips. And
there's nothing stopping other drivers from using the edge
detection interrupts.

Regards,

Tony



More information about the linux-mtd mailing list