linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: "Michał Mirosław" <mirqus@gmail.com>
Cc: Cory Maccarrone <darkstar6262@gmail.com>,
	linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] [OMAP] HTCHERALD: MMC, I2C, HTCPLD, SPI, TSC2046
Date: Fri, 24 Sep 2010 15:52:55 -0700	[thread overview]
Message-ID: <20100924225254.GK4211@atomide.com> (raw)
In-Reply-To: <AANLkTikNLn-VuCQb2q7wZVbYORxV6uhia_oOBsQg3ZiJ@mail.gmail.com>

* Michał Mirosław <mirqus@gmail.com> [100924 09:03]:
> W dniu 24 września 2010 17:38 użytkownik Cory Maccarrone
> <darkstar6262@gmail.com> napisał:
> > 2010/9/24 Michał Mirosław <mirqus@gmail.com>:
> >> 2010/8/18 Cory Maccarrone <darkstar6262@gmail.com>:
> >>> This change adds in MMC and I2C support to the HTC Herald board, as well
> >>> as adding the HTCPLD driver for the PLD used on this phone.  It also
> >>> adds in the gpio-keys entries for the front directional keys and
> >>> selector and the cursor keys on the slide-out keyboard, and gpio-leds
> >>> support for the LEDs attached to the htcpld.
> >>>
> >>> Additionally, SPI bus support (using the spi100k driver) and
> >>> touchscreen support (using the ads7846 driver) were added.
> >>>
> >>> Signed-off-by: Cory Maccarrone <darkstar6262@gmail.com>
> >>> ---
> >> [...]
> >>> +/* MMC Card */
> >>> +#if defined(CONFIG_MMC_OMAP) || defined(CONFIG_MMC_OMAP_MODULE)
> >>> +static struct omap_mmc_platform_data htc_mmc1_data = {
> >>> +       .nr_slots                       = 1,
> >>> +       .switch_slot                    = NULL,
> >>> +       .slots[0]       = {
> >>> +               .ocr_mask               = MMC_VDD_28_29 | MMC_VDD_30_31 |
> >>> +                                         MMC_VDD_32_33 | MMC_VDD_33_34,
> >>> +               .name                   = "mmcblk",
> >>> +               .nomux                  = 1,
> >>> +               .wires                  = 4,
> >>> +               .switch_pin             = -1,
> >>> +       },
> >>> +};
> >> [...]
> >> What voltages can this MMC controller provide? That's a rather unusual OCR mask.
> > Not really sure, I wasn't the one who first came up with that mask.
> > All I know is that it seems to work, and not just for my device, but
> > lots of other HTC OMAP850 devices we've tried it on too.
> >
> > I'm interested though, what in particular makes it unusual?
> 
> It specifies, that device supports voltage ranges:
> 2.8V - 2.9V, 3.0V - 3.1V, 3.2V - 3.4V
> (so: 2.9V - 3.0V and 3.1V - 3.2V are not available).
> Are there really 2.8V, 3.0V, 3.3V VDDs settable?
> 
> If the host supports only VDD = 3.3V for example, then correct OCR
> mask would be: MMC_VDD_32_33 | MMC_VDD_33_34 (or just one flag).

Looks like also board-sx1-mmc.c and board-h[23]-mmc.c have the
same spotty voltage range.

Cory, care to do a patch that fixes it for all of them?

Regards,

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2010-09-24 22:52 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-18  4:34 [PATCH] [OMAP] HTCHERALD: MMC, I2C, HTCPLD, SPI, TSC2046 Cory Maccarrone
2010-08-18  4:35 ` Cory Maccarrone
2010-09-23 17:22   ` Tony Lindgren
2010-09-23 17:26     ` Cory Maccarrone
2010-09-24  0:30       ` Tony Lindgren
2010-09-24  9:23   ` Michał Mirosław
2010-09-24 15:38     ` Cory Maccarrone
2010-09-24 16:00       ` Russell King - ARM Linux
2010-09-24 16:11       ` Michał Mirosław
2010-09-24 22:52         ` Tony Lindgren [this message]
2010-09-30 18:42           ` Cory Maccarrone
2010-09-30 18:48             ` Tony Lindgren
2010-09-30 18:53               ` Cory Maccarrone
2010-09-30 19:05               ` Michał Mirosław
2010-09-30 19:15                 ` Tony Lindgren
2010-09-30 22:11                   ` Tony Lindgren
2010-11-25 15:23                     ` Cory Maccarrone

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=20100924225254.GK4211@atomide.com \
    --to=tony@atomide.com \
    --cc=darkstar6262@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=mirqus@gmail.com \
    /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).