From: broonie@opensource.wolfsonmicro.com (Mark Brown)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/3] arm: s5pv210: Aquila: add support for MAX8998 PMIC
Date: Thu, 1 Jul 2010 13:24:51 +0100 [thread overview]
Message-ID: <20100701122451.GA17698@sirena.org.uk> (raw)
In-Reply-To: <1277964466-23891-3-git-send-email-m.szyprowski@samsung.com>
On Thu, Jul 01, 2010 at 08:07:45AM +0200, Marek Szyprowski wrote:
> +static struct regulator_consumer_supply aquila_ldo3_consumers[] = {
> + { .supply = "VMIPI_1.1V", },
> +};
> +static struct regulator_consumer_supply aquila_ldo8_consumers[] = {
> + { .supply = "VADC_3.3V", },
> +};
Almost all of these regulator supplies should be removed. Except in
some exceptional cases all supplies should specify a struct device (the
only one that really exists at the minute is CPU core due to lack of
devices for CPUfreq). In general if you're defining a supply name that
is the same as the rail on the board rather than a pin on a chip you're
not using the API correctly.
If you want to label the supply for userspace do so in the constraints.
> + .constraints = {
> + .name = "VALIVE_1.1V",
> + .min_uV = 1100000,
> + .max_uV = 1100000,
> + .apply_uV = 1,
> + .always_on = 1,
> + .boot_on = 0,
No need to explicitly set stuff to zero.
next prev parent reply other threads:[~2010-07-01 12:24 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-01 6:07 [PATCH] Samsung Aquila & GONI update Marek Szyprowski
2010-07-01 6:07 ` [PATCH 1/3] arm: s5pv210: GONI: add support for framebuffer Marek Szyprowski
2010-07-01 6:07 ` [PATCH 2/3] arm: s5pv210: Aquila: add support for MAX8998 PMIC Marek Szyprowski
2010-07-01 12:24 ` Mark Brown [this message]
2010-07-01 13:32 ` Marek Szyprowski
2010-07-01 14:05 ` Mark Brown
2010-07-01 6:07 ` [PATCH 3/3] arm: s5pv210: GONI: " Marek Szyprowski
2010-07-01 12:25 ` Mark Brown
-- strict thread matches above, loose matches on Subject: below --
2010-07-05 9:16 [PATCH v2] Samsung Aquila & GONI update Marek Szyprowski
2010-07-05 9:16 ` [PATCH 2/3] arm: s5pv210: Aquila: add support for MAX8998 PMIC Marek Szyprowski
2010-07-14 4:56 ` Kukjin Kim
2010-07-14 7:30 ` Marek Szyprowski
2010-07-14 8:16 [PATCH v3] Samsung Aquila & GONI update Marek Szyprowski
2010-07-14 8:16 ` [PATCH 2/3] ARM: S5PV210: Aquila: add support for MAX8998 PMIC Marek Szyprowski
2010-07-14 8:33 ` Mark Brown
2010-07-14 9:42 ` Kukjin Kim
2010-07-14 9:42 ` Kukjin Kim
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=20100701122451.GA17698@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