[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110709102337.GD9247@sirena.org.uk>
Date: Sat, 9 Jul 2011 11:23:37 +0100
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: Grant Likely <grant.likely@...retlab.ca>
Cc: Linus Walleij <linus.walleij@...ricsson.com>,
linux-kernel@...r.kernel.org,
Martin Persson <martin.persson@...ricsson.com>,
Joe Perches <joe@...ches.com>,
Russell King <linux@....linux.org.uk>,
Linaro Dev <linaro-dev@...ts.linaro.org>,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 1/2] drivers: create a pinmux subsystem v3
On Mon, Jun 13, 2011 at 01:57:36PM -0600, Grant Likely wrote:
> On Mon, Jun 13, 2011 at 10:58 AM, Linus Walleij
> > +This get/enable/disable/put sequence can just as well be handled by bus drivers
> > +if you don't want each and every driver to handle it and you know the
> > +arrangement on your bus.
> I would *strongly* recommend against individual device drivers
> accessing the pinmux api. This is system level configuration code,
> and should be handled at the system level.
There can also be advantages to putting the pin into the designed mode
without the driver being loaded from the electrical point of view. For
example, selecting appropriate pull values for pads can cut down on
power consumption.
--
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