public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: "Pillai, Manikandan" <mani.pillai@ti.com>
Cc: "Pandita, Vikram" <vikram.pandita@ti.com>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: Re: [PATCH 1/1] Default MUX configuration added - GPIO140-143, GPIO0 and GPIO9
Date: Tue, 16 Dec 2008 08:27:52 -0800	[thread overview]
Message-ID: <20081216162751.GO19551@atomide.com> (raw)
In-Reply-To: <19F8576C6E063C45BE387C64729E739403ECE3AB83@dbde02.ent.ti.com>

* Pillai, Manikandan <mani.pillai@ti.com> [081216 02:24]:
> Hi Vikram,
> 
> Pls find my comments inlined.
> 
> 
> 
> -----Original Message-----
> From: Pandita, Vikram 
> Sent: Tuesday, December 16, 2008 11:08 AM
> To: Pillai, Manikandan; linux-omap@vger.kernel.org
> Subject: RE: [PATCH 1/1] Default MUX configuration added - GPIO140-143, GPIO0 and GPIO9
> 
> 
> >-----Original Message-----
> >From: linux-omap-owner@vger.kernel.org [mailto:linux-omap-owner@vger.kernel.org] On Behalf Of Pillai,
> >Manikandan
> >Sent: Monday, December 15, 2008 11:31 PM
> >To: linux-omap@vger.kernel.org
> >Cc: Pillai, Manikandan
> >Subject: [PATCH 1/1] Default MUX configuration added - GPIO140-143, GPIO0 and GPIO9
> >
> >Default MUX configurations for GPIO on OMAP3 EVM boards are added.
> >Fixed for "_UP" naming convention for GPIOs comment.
> 
> Patch is fine but looks like 
> [Pillai, Manikandan] OK
> Mux framework seems to be not efficient.
> [Pillai, Manikandan] It's not efficient but I have just added the requirments for the new power board in the existing framework. Revamping the whole MUX logic
> would be a good amount of work.
> 
> "There is one GLOBAL table for all omap devices." 
> How maintainable is that? 
> Also care has to be taken to match the enum position with mux.c array location. This is error prone.
> 
> Mux tables should be per device basis.
> Any thoughts.

Yeah, well once we have the custom struct device, we should configure
the pins there. Some of the pins have multiple options and should be
configured in board-*.c files, but some devices have just one working
combination of pins.

So hopefully for most pins,  by selecting the devices that the board has,
the devices would configure the pins for the board.

Regards,

Tony

  reply	other threads:[~2008-12-16 16:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-16  5:31 [PATCH 1/1] Default MUX configuration added - GPIO140-143, GPIO0 and GPIO9 Manikandan Pillai
2008-12-16  5:37 ` Pandita, Vikram
2008-12-16 10:24   ` Pillai, Manikandan
2008-12-16 16:27     ` Tony Lindgren [this message]
2009-01-08 12:06 ` Tony Lindgren

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=20081216162751.GO19551@atomide.com \
    --to=tony@atomide.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=mani.pillai@ti.com \
    --cc=vikram.pandita@ti.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