From: tony@atomide.com (Tony Lindgren)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/4] ARM: OMAP3: cm-t35: add regulator supply for ads7846
Date: Fri, 4 Nov 2011 16:39:38 -0700 [thread overview]
Message-ID: <20111104233938.GF31337@atomide.com> (raw)
In-Reply-To: <1319017160-20391-2-git-send-email-grinberg@compulab.co.il>
* Igor Grinberg <grinberg@compulab.co.il> [111019 02:05]:
>
> Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
> ---
> arch/arm/mach-omap2/board-cm-t35.c | 18 ++++++++++++++++++
> 1 files changed, 18 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/board-cm-t35.c b/arch/arm/mach-omap2/board-cm-t35.c
> index e15d39b..6d93db0 100644
> --- a/arch/arm/mach-omap2/board-cm-t35.c
> +++ b/arch/arm/mach-omap2/board-cm-t35.c
> @@ -343,6 +343,10 @@ static struct regulator_consumer_supply cm_t35_vdvi_supply[] = {
> REGULATOR_SUPPLY("vdvi", "omapdss"),
> };
>
> +static struct regulator_consumer_supply cm_t35_vio_supplies[] = {
> + REGULATOR_SUPPLY("vcc", "spi1.0"),
> +};
> +
> /* VMMC1 for MMC1 pins CMD, CLK, DAT0..DAT3 (20 mA, plus card == max 220 mA) */
> static struct regulator_init_data cm_t35_vmmc1 = {
> .constraints = {
> @@ -373,6 +377,19 @@ static struct regulator_init_data cm_t35_vsim = {
> .consumer_supplies = cm_t35_vsim_supply,
> };
>
> +static struct regulator_init_data cm_t35_vio = {
> + .constraints = {
> + .min_uV = 1800000,
> + .max_uV = 1800000,
> + .apply_uV = true,
> + .valid_modes_mask = REGULATOR_MODE_NORMAL
> + | REGULATOR_MODE_STANDBY,
> + .valid_ops_mask = REGULATOR_CHANGE_MODE,
> + },
> + .num_consumer_supplies = ARRAY_SIZE(cm_t35_vio_supplies),
> + .consumer_supplies = cm_t35_vio_supplies,
> +};
> +
> static uint32_t cm_t35_keymap[] = {
> KEY(0, 0, KEY_A), KEY(0, 1, KEY_B), KEY(0, 2, KEY_LEFT),
> KEY(1, 0, KEY_UP), KEY(1, 1, KEY_ENTER), KEY(1, 2, KEY_DOWN),
> @@ -456,6 +473,7 @@ static struct twl4030_platform_data cm_t35_twldata = {
> .gpio = &cm_t35_gpio_data,
> .vmmc1 = &cm_t35_vmmc1,
> .vsim = &cm_t35_vsim,
> + .vio = &cm_t35_vio,
> };
>
> static void __init cm_t35_init_i2c(void)
Applying to board branch for v3.3 merge window.
Tony
next prev parent reply other threads:[~2011-11-04 23:39 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-19 9:39 [PATCH 0/4] ARM: OMAP3: cm-t35/cm-t3730 fixes Igor Grinberg
2011-10-19 9:39 ` [PATCH 1/4] ARM: OMAP3: cm-t35: add regulator supply for ads7846 Igor Grinberg
2011-11-04 23:39 ` Tony Lindgren [this message]
2011-11-04 23:57 ` Tony Lindgren
2011-11-06 13:19 ` Igor Grinberg
2011-11-07 20:31 ` Tony Lindgren
2011-11-08 13:21 ` Igor Grinberg
2011-11-19 0:14 ` Tony Lindgren
2011-11-20 8:38 ` Igor Grinberg
2011-10-19 9:39 ` [PATCH 2/4] ARM: OMAP3: cm-t35: fix DSS regulator supply Igor Grinberg
2011-10-19 9:39 ` [PATCH 3/4] ARM: OMAP3: cm-t35: fix audio Igor Grinberg
2011-10-19 11:03 ` Sergei Shtylyov
2011-10-19 13:56 ` Igor Grinberg
2011-10-19 14:01 ` [PATCH 3/4 v2] " Igor Grinberg
2011-10-19 9:39 ` [PATCH 4/4] arm: omap3: cm-t35: add reset for sb-t35 usb hub Igor Grinberg
2011-10-19 9:56 ` [PATCH 4/4 v2] ARM: OMAP3: " Igor Grinberg
2011-11-06 14:13 ` [PATCH v2 0/4] ARM: OMAP3: cm-t35/cm-t3730 fixes Igor Grinberg
2011-11-06 14:16 ` [PATCH v2 1/4] ARM: OMAP3: cm-t35: fix ads7846 touchscreen Igor Grinberg
2011-11-06 14:16 ` [PATCH v2 2/4] ARM: OMAP3: cm-t35: fix DSS regulator supply Igor Grinberg
2011-11-06 14:16 ` [PATCH v2 3/4] ARM: OMAP3: cm-t35: fix audio Igor Grinberg
2011-11-06 14:16 ` [PATCH v2 4/4] ARM: OMAP3: cm-t35: fix USB hub Igor Grinberg
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=20111104233938.GF31337@atomide.com \
--to=tony@atomide.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;
as well as URLs for NNTP newsgroup(s).