All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Philip Balister <philip@balister.org>
Cc: Kevin Hilman <khilman@deeprootsystems.com>,
	"Menon, Nishanth" <nm@ti.com>,
	Cory Maccarrone <darkstar6262@gmail.com>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: Re: mux strategy (was RE: [PATCH] [OMAP1] mux: Add MMC mux pins for omap7xx)
Date: Thu, 8 Oct 2009 09:51:26 -0700	[thread overview]
Message-ID: <20091008165125.GE7417@atomide.com> (raw)
In-Reply-To: <4ACD4F40.5020707@balister.org>

* Philip Balister <philip@balister.org> [091007 19:32]:
> On 10/07/2009 10:47 AM, Tony Lindgren wrote:
>> * Kevin Hilman<khilman@deeprootsystems.com>  [091006 15:18]:
>>> "Menon, Nishanth"<nm@ti.com>  writes:
>>>
>>>>> -----Original Message-----
>>>>> From: linux-omap-owner@vger.kernel.org [mailto:linux-omap-
>>>>> owner@vger.kernel.org] On Behalf Of Kevin Hilman
>>>>>
>>>>>>>>         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?
>>>>>>>
>>>>>>
>>>>>> 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.
>>>>>
>>>> Probably opening up a can of worms.. Are the rules different for OMAP3?
>>>> Should'nt we have all mux done at kernel so that kernel is loader
>>>> independent?
>>>
>>> Yes, we should.  My preference is to always have muxing in the kernel.
>>
>> Agreed. We still should support bootloader only muxing too.
>>
>> BTW, I've been thinking about the following sets of patches for the next
>> merge window:
>>
>> 1. Do the include directories for mach-omap1 and mach-omap2 as suggested
>>     by Russell earlier
>
> Does anyone have a reference to Russell's suggestion?

Here's a link to the thread discussing the earlier header changes:

http://www.mail-archive.com/linux-omap@vger.kernel.org/msg15087.html

Regards,

Tony


> Philip
>
>
>>
>> 2. Move all mux code to only live under arch/arm/*omap*/ and make sure
>>     drivers don't call omap_cfg_reg() any longer
>>
>> 3. Remove the enumeration for the mux and require all the boards to
>>     register the pins they'll use
>>
>> After these it should be trivial to improve the mux code further. The
>> steps 2&  3 above will be most likely breaking things for some boards,
>> so help will be needed with testing.
>>
>> 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:[~2009-10-08 16:52 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
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 [this message]
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=20091008165125.GE7417@atomide.com \
    --to=tony@atomide.com \
    --cc=darkstar6262@gmail.com \
    --cc=khilman@deeprootsystems.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=nm@ti.com \
    --cc=philip@balister.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.