Re: [PATCH v2] Input: Make ADS7846 independent on regulator

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mark Brown
Date: Tuesday, October 5, 2010 - 9:40 am

On Tue, Oct 05, 2010 at 09:16:08AM -0700, Dmitry Torokhov wrote:


It's a pretty good fit for most current systems - with current hardware
you will normally have some software control for the vast majority of
the regulators on the board if you have regulator control at all since
that's the way PMICs have gone.  Having a complete map of the regulator
usage in the system is useful since it allows us to do optimisations
like powering down idle regulators much more readily.


I really don't think it's a good idea to add this code to every single
regulator using driver - this seems like an enormous waste of time and
code complexity cost.  I have suggested several times that we should
extend the dummy regulator mode so that boards can enable it from code
as well as users enable it from Kconfig, I'm not sure why everyone is so
keen on bodging this in drivers.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH v2] Input: Make ADS7846 independent on regulator, Marek Vasut, (Sat Jul 31, 12:09 am)
Re: [PATCH v2] Input: Make ADS7846 independent on regulator, Mark Brown, (Tue Oct 5, 9:40 am)
Re: [PATCH v2] Input: Make ADS7846 independent on regulator, Dmitry Torokhov, (Tue Oct 5, 11:07 am)