[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140613071820.GI17845@atomide.com>
Date: Fri, 13 Jun 2014 00:18:21 -0700
From: Tony Lindgren <tony@...mide.com>
To: Roger Quadros <rogerq@...com>
Cc: dwmw2@...radead.org, computersforpeace@...il.com,
kyungmin.park@...sung.com, pekon@...com,
ezequiel.garcia@...e-electrons.com, javier@...hile0.org,
nsekhar@...com, linux-omap@...r.kernel.org,
linux-mtd@...ts.infradead.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 05/36] mtd: nand: omap: Move IRQ handling from GPMC to
NAND driver
* Roger Quadros <rogerq@...com> [140611 01:58]:
> 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.
>
> Let's manage the interrupt registers directly in the NAND driver
> and get rid of irqchip model from GPMC driver.
>
> Get rid of IRQ commands and unused commands from gpmc_configure() in
> the GPMC driver.
This seems like a step backward to me. The GPMC interrupt enable
register can do edge detection on the wait pins, how is that
limited to NAND?
Further, let's not start mixing GPMC hardware module register
access with the NAND driver register access. They can be clocked
separately. And bugs in the NAND driver can cause issues in other
GPMC using drivers.
Regards,
Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists