[PATCHv2] Input: omap4-keypad: Add pinctrl support
Felipe Balbi
balbi at ti.com
Wed Oct 24 04:20:35 EST 2012
HI,
On Tue, Oct 23, 2012 at 07:02:09AM -1000, Mitch Bradley wrote:
> On 10/23/2012 12:03 AM, Felipe Balbi wrote:
> > Hi,
> >
> > 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.
why ? look at drivers/usb/dwc3/, we're using that on OMAP, exynos, PCIe
and a couple of different FPGA implementations inside TI. Not to mention
what other licensees of that IP core might have internally.
So far no problesm with resources at all.
We have frameworks exactly to hide the differences.
> 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.
that's why we have pinctrl framework to abstract the details about pin
muxing.
--
balbi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.ozlabs.org/pipermail/devicetree-discuss/attachments/20121023/250eec5a/attachment-0001.sig>
More information about the devicetree-discuss
mailing list