Re: [PATCHv2] Input: omap4-keypad: Add pinctrl support
From: Mitch Bradley
Date: Tue Oct 23 2012 - 13:02:14 EST
On 10/23/2012 12:03 AM, Felipe Balbi wrote:
> I much prefer having drivers explicitly manage all their resources,
> which would mean that pinctrl calls need to be done on probe() and, if
> necessary, during suspend()/resume().
Per-driver resource management is certainly convenient when you are
dealing with a single system, but it becomes difficult to maintain for
drivers that are shared among many platforms.
The industry trend for many years has been consolidation around a single
programming model per class of device. For example, SDHCI, EHCI, ATA.
This trend will only accelerate, as the cost of developing controller IP
and associated drivers increases. Such drivers need to be as
platform-agnostic as possible.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/