From: "Madhusudhan Chikkature Rajashekar" <madhu.cr@ti.com>
To: kmpark@infradead.org, "'Syed Mohammed, Khasim'" <x0khasim@ti.com>,
'Linux OMAP' <linux-omap-open-source@linux.omap.com>
Subject: RE: [PATCH 5 / 12] Board 3430 SDP file
Date: Thu, 14 Jun 2007 12:30:32 +0530 [thread overview]
Message-ID: <002601c7ae51$b4068a60$128918ac@ent.ti.com> (raw)
In-Reply-To: <001901c7ae50$23ba5820$e1ac580a@swcenter.sec.samsung.co.kr>
Hi,
>To disable the wire4 mode, you should assign the value 0 instead of -1. The
>"-1" will enable the wire4 mode in the code.
Yes. Ideally it should have been set to 0.
But, note that the mmc_omap_probe you are referring here is of omap1 and
omap2(only 2420) driver. The above is a 3430 board file, so it might not
have that effect.
Regards,
Madhu
-----Original Message-----
From: linux-omap-open-source-bounces@linux.omap.com
[mailto:linux-omap-open-source-bounces@linux.omap.com] On Behalf Of Kyungmin
Park
Sent: Thursday, June 14, 2007 12:19 PM
To: 'Syed Mohammed, Khasim'; 'Linux OMAP'
Subject: RE: [PATCH 5 / 12] Board 3430 SDP file
Hi,
> +static struct omap_mmc_config sdp3430_mmc_config __initdata = {
> + .mmc [0] = {
> + .enabled = 1,
> + .wire4 = -1,
> + .wp_pin = -1,
> + .power_pin = -1,
> + .switch_pin = 0,
> + },
> + .mmc [1] = {
> + .enabled = 1,
> + .wire4 = -1,
> + .wp_pin = -1,
> + .power_pin = -1,
> + .switch_pin = 1,
> + },
> +};
> +
To disable the wire4 mode, you should assign the value 0 instead of -1. The
"-1"
will enable the wire4 mode in the code.
static int __init mmc_omap_probe(struct platform_device *pdev)
{
struct omap_mmc_conf *minfo = pdev->dev.platform_data;
...
if (minfo->wire4)
mmc->caps |= MMC_CAP_4_BIT_DATA;
...
}
Thank you,
Kyungmin Park
_______________________________________________
Linux-omap-open-source mailing list
Linux-omap-open-source@linux.omap.com
http://linux.omap.com/mailman/listinfo/linux-omap-open-source
next prev parent reply other threads:[~2007-06-14 7:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-14 6:21 [PATCH 5 / 12] Board 3430 SDP file Syed Mohammed, Khasim
2007-06-14 6:49 ` Kyungmin Park
2007-06-14 7:00 ` Madhusudhan Chikkature Rajashekar [this message]
2007-06-14 7:09 ` Trilok Soni
2007-06-14 8:04 ` Madhusudhan Chikkature Rajashekar
2007-06-14 19:23 ` Syed Mohammed, Khasim
-- strict thread matches above, loose matches on Subject: below --
2007-06-14 5:01 Syed Mohammed, Khasim
2007-06-14 6:00 ` Trilok Soni
2007-06-14 6:24 ` Syed Mohammed, Khasim
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='002601c7ae51$b4068a60$128918ac@ent.ti.com' \
--to=madhu.cr@ti.com \
--cc=kmpark@infradead.org \
--cc=linux-omap-open-source@linux.omap.com \
--cc=x0khasim@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