From: Jon Hunter <jon-hunter@ti.com>
To: "Pandita, Vikram" <vikram.pandita@ti.com>
Cc: Kevin Hilman <khilman@deeprootsystems.com>,
Tony Lindgren <tony@atomide.com>,
Hugo Vincent <hugo.vincent@gmail.com>,
"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
"Chikkature Rajashekar, Madhusudhan" <madhu.cr@ti.com>
Subject: Re: [PATCH] OMAP3: MMC: Add mux for pins
Date: Wed, 17 Jun 2009 19:08:11 -0500 [thread overview]
Message-ID: <4A39856B.1040203@ti.com> (raw)
In-Reply-To: <FCCFB4CDC6E5564B9182F639FC35608702F53D18E7@dbde02.ent.ti.com>
Pandita, Vikram wrote:
>>> The ball/pad numbers may change due to the package, but the registers
>>> used to configure the pin muxing and the pin muxing options will not
>>> change. So from a software standpoint it is the same.
>>>
>>> The OMAP3530 is available in 3 packages, namely CBB, CBC and CUS
>>> according to the data manual [1]. The OMAP3430 is only available in
>>> the CBB package.
>>>
>>> What this means is that the name "N28_3430_MMC1_CLK", which associates
>>> ball N28 with signal MMC1_CLK, is appliable to the OMAP3430 and
>>> OMAP3530 CBB package, but not applicable to the OMAP3530 CBC and CUS
>>> packages
>>> as this ball number does not exist on these packages. This is simply a
>>> difference in naming of the balls between the packages but does not
>>> impact the pin muxing options.
>
> So looks like I should keep the MMC mux under cpu_is_omap3430()
> And not include 3530 as CBC and CUS may not be valid cases for this mux.
Actually, the mux configuration is still valid for the CBC and CUS
packages. The only difference is the balls have different names. Sorry
if this is not clear.
For example, on the OMAP3530 CBB package if you look at ball N28 you
will find:
mux-mode0 --> mmc1_clk
mux-mode4 --> gpio120
mux-mode7 --> safe mode
For the OMAP3530 CBC package you will find the same options on N19 and
for the CUS package the same options on ball M23.
I have been doing a bit more looking at this and we do need to becareful
here. I think that we really need to view the OMAP3430 as a superset of
the OMAP3530. One example being, with the OMAP3530 I don't see support
for peripherals such as DSI, CSI, and MS. Hence, muxing options for the
signals corresponding to these peripherals are not shown in the OMAP3530
data manual.
This just means that there are less muxing options on some of the balls
for the OMAP3530, but the good news is that there will not be any
conflicts between the OMAP3430 and OMAP3530 as far as muxing goes.
>> OK, good. Thanks for the clarification.
>>
>> Tony and I were thinking a few weeks back that we should drop the ball
>> names from these mux options anyways as they don't really add any
>> value, and seem to add more confusion. Sounds like it's the right
>> thing to do in this context.
I was thinking this too. For different applications different packages
make sense. So this is fairly common to see. So dropping the ball name
would make this easier.
I guess the only benefit is knowing the actual ball that you are using
for hardware purposes. However, on OMAP2/3 the register names imply what
is mux-mode0 and so it fairly easy to figure out the ball number from
the data manual.
Cheers
Jon
next prev parent reply other threads:[~2009-06-18 0:08 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-12 22:41 [PATCH] OMAP3: MMC: Add mux for pins Vikram Pandita
2009-06-15 8:12 ` Tony Lindgren
2009-06-15 10:44 ` Hugo Vincent
2009-06-15 11:04 ` Tony Lindgren
2009-06-15 15:46 ` Madhusudhan
2009-06-16 14:56 ` Pandita, Vikram
2009-06-16 15:35 ` Kevin Hilman
2009-06-16 16:50 ` Pandita, Vikram
2009-06-17 8:12 ` Tony Lindgren
2009-06-17 17:44 ` Pandita, Vikram
2009-06-17 18:27 ` Kevin Hilman
2009-06-17 18:38 ` Pandita, Vikram
2009-06-17 21:39 ` Kevin Hilman
2009-06-17 22:48 ` Jon Hunter
2009-06-17 22:57 ` Kevin Hilman
2009-06-17 23:25 ` Pandita, Vikram
2009-06-18 0:08 ` Jon Hunter [this message]
2009-06-18 5:04 ` 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=4A39856B.1040203@ti.com \
--to=jon-hunter@ti.com \
--cc=hugo.vincent@gmail.com \
--cc=khilman@deeprootsystems.com \
--cc=linux-omap@vger.kernel.org \
--cc=madhu.cr@ti.com \
--cc=tony@atomide.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