From: Kevin Hilman <khilman@deeprootsystems.com>
To: Cory Maccarrone <darkstar6262@gmail.com>
Cc: linux-omap@vger.kernel.org
Subject: Re: [PATCH] [OMAP1] mux: Add MMC mux pins for omap7xx
Date: Tue, 06 Oct 2009 14:13:55 -0700 [thread overview]
Message-ID: <87hbucp6ng.fsf@deeprootsystems.com> (raw)
In-Reply-To: <6cb013310910061244q40b78c0ubad1932578e75bd3@mail.gmail.com> (Cory Maccarrone's message of "Tue\, 6 Oct 2009 12\:44\:21 -0700")
Cory Maccarrone <darkstar6262@gmail.com> writes:
> On Tue, Oct 6, 2009 at 10:30 AM, Nishanth Menon <nm@ti.com> wrote:
>> Cory Maccarrone had written, on 10/06/2009 08:53 AM, the following:
>>>
>>> There are three mux pins needed for omap7xx that differ
>>> from the other omap configurations. This change adds the
>>> declarations into mux.c and mux.h.
>>>
>>> Signed-off-by: Cory Maccarrone <darkstar6262@gmail.com>
>>> ---
>>> arch/arm/mach-omap1/mux.c | 5 +++++
>>> arch/arm/plat-omap/include/mach/mux.h | 5 +++++
>>> 2 files changed, 10 insertions(+), 0 deletions(-)
>>>
>>> diff --git a/arch/arm/mach-omap1/mux.c b/arch/arm/mach-omap1/mux.c
>>> index d59899d..feb6d8c 100644
>>> --- a/arch/arm/mach-omap1/mux.c
>>> +++ b/arch/arm/mach-omap1/mux.c
>>> @@ -51,6 +51,11 @@ MUX_CFG_7XX("E3_7XX_KBC4", 13, 25, 0,
>>> 24, 1, 0)
>>> MUX_CFG_7XX("AA17_7XX_USB_DM", 2, 21, 0, 20, 0, 0)
>>> MUX_CFG_7XX("W16_7XX_USB_PU_EN", 2, 25, 0, 24, 0, 0)
>>> MUX_CFG_7XX("W17_7XX_USB_VBUSI", 2, 29, 0, 28, 0, 0)
>>> +
>>> +/* MMC Pins */
>>> +MUX_CFG_7XX("MMC_7XX_CMD", 2, 9, 0, 8, 1, 0)
>>> +MUX_CFG_7XX("MMC_7XX_CLK", 2, 13, 0, 12, 1, 0)
>>> +MUX_CFG_7XX("MMC_7XX_DAT0", 2, 17, 0, 16, 1, 0)
>>> };
>>> #define OMAP7XX_PINS_SZ ARRAY_SIZE(omap7xx_pins)
>>> #else
>>> diff --git a/arch/arm/plat-omap/include/mach/mux.h
>>> b/arch/arm/plat-omap/include/mach/mux.h
>>> index f3c1d8a..56e357e 100644
>>> --- a/arch/arm/plat-omap/include/mach/mux.h
>>> +++ b/arch/arm/plat-omap/include/mach/mux.h
>>> @@ -219,6 +219,11 @@ enum omap7xx_index {
>>> AA17_7XX_USB_DM,
>>> W16_7XX_USB_PU_EN,
>>> W17_7XX_USB_VBUSI,
>>> +
>>> + /* MMC */
>>> + MMC_7XX_CMD,
>>> + MMC_7XX_CLK,
>>> + MMC_7XX_DAT0,
>>
>> probably a dumb question -> but should'nt these go off to bootloader
>> perhaps?
>>
>> --
>> Regards,
>> Nishanth Menon
>>
>
> Perhaps, although we use either EOL (for HTC Wizard) or Haret to boot,
> and they don't set up the right mux configuration for our board.
>
> This way though, we don't have to worry about the boot loader -- we
> can set it up right regardless of who boots us.
I agree with Cory.
I prefer that mux settings go into the kernel, even if they are setup
in the bootloader already. It's better to have redundancy than wonder
what to do if changing boot loaders.
Kevin
--
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
next prev parent reply other threads:[~2009-10-06 21:14 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-06 13:53 [PATCH] [OMAP1] mux: Add MMC mux pins for omap7xx Cory Maccarrone
2009-10-06 17:30 ` Nishanth Menon
2009-10-06 19:44 ` Cory Maccarrone
2009-10-06 21:13 ` Kevin Hilman [this message]
2009-10-06 21:52 ` mux strategy (was RE: [PATCH] [OMAP1] mux: Add MMC mux pins for omap7xx) Menon, Nishanth
2009-10-06 21:54 ` Kevin Hilman
2009-10-07 17:47 ` Tony Lindgren
2009-10-07 18:33 ` Kevin Hilman
2009-10-07 18:48 ` Cory Maccarrone
2009-10-08 2:32 ` Philip Balister
2009-10-08 16:51 ` Tony Lindgren
2009-10-08 6:27 ` Mike Rapoport
2009-10-14 14:28 ` Kevin Hilman
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=87hbucp6ng.fsf@deeprootsystems.com \
--to=khilman@deeprootsystems.com \
--cc=darkstar6262@gmail.com \
--cc=linux-omap@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.