[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120123193122.GB26409@opensource.wolfsonmicro.com>
Date: Mon, 23 Jan 2012 19:31:22 +0000
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: Linus Walleij <linus.walleij@...aro.org>
Cc: "Kim, Milo" <Milo.Kim@...com>,
"shreshthakumar.sahu@...ricsson.com"
<shreshthakumar.sahu@...ricsson.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"rpurdie@...ys.net" <rpurdie@...ys.net>
Subject: Re: [PATCH 3/7] leds-lm3530: add 'is_vin_always_on' in the
lm3530_platform_data
On Mon, Jan 23, 2012 at 08:13:18PM +0100, Linus Walleij wrote:
> As far as I know we want to get rid of different design patterns
> avoiding the regulator interface. The way forward for this is
> either:
> (A) Provide a fixed voltage regulator in your platform for this
> device (AFAIK the voltage does not even have to be correct)
> (B) Enable dummy regulators in your platform
> (A) is more elegant.
Yeah, regulator usage should essentially never be conditional at a
driver level unless there's actual optional supplies in the hardware.
The situation has never been any different to that.
--
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