From: broonie@opensource.wolfsonmicro.com (Mark Brown)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v1] regulator: i.MX35-PDK Add regulator support
Date: Mon, 26 Mar 2012 15:47:12 +0100 [thread overview]
Message-ID: <20120326144712.GA8579@sirena.org.uk> (raw)
In-Reply-To: <1332772593-13313-1-git-send-email-alexg@meprolight.com>
On Mon, Mar 26, 2012 at 04:36:33PM +0200, Alex Gershgorin wrote:
> +static struct regulator_init_data sw1_init = {
> + .constraints = {
> + .name = "SW1",
> + .min_uV = 600000,
> + .max_uV = 1375000,
> + .valid_ops_mask = REGULATOR_CHANGE_VOLTAGE,
> + .valid_modes_mask = 0,
> + .always_on = 1,
> + .boot_on = 1,
> + }
> +};
These constraints don't make sense, you've got a voltage range and the
ability to change voltages but no consumers so nothing that could ever
change the voltage...
> +static struct regulator_init_data vpll_init = {
> + .constraints = {
> + .name = "VPLL",
> + .min_uV = 1050000,
> + .max_uV = 1800000,
> + .valid_ops_mask = REGULATOR_CHANGE_VOLTAGE,
> + .boot_on = 1,
> + }
> +};
...and in many cases the supply names don't look like things I'd expect
to be varying too much at runtime. It looks like you just typed the
maximum datasheet ranges in, not things that make sense for the board.
next prev parent reply other threads:[~2012-03-26 14:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-26 14:36 [PATCH v1] regulator: i.MX35-PDK Add regulator support Alex Gershgorin
2012-03-26 14:47 ` Mark Brown [this message]
2012-03-26 15:28 ` Alex Gershgorin
2012-03-26 15:34 ` Mark Brown
2012-03-26 18:56 ` Alex Gershgorin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120326144712.GA8579@sirena.org.uk \
--to=broonie@opensource.wolfsonmicro.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox