From: "Miguel Ángel Álvarez" <caronteycerbero-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: MMC/SD, SPI and IXP4XX
Date: Fri, 8 Aug 2008 17:20:42 +0200 [thread overview]
Message-ID: <df996e0c0808080820m4ecaf7e3o7b140e70edd3ee6c@mail.gmail.com> (raw)
In-Reply-To: <16987.216.207.242.34.1218206865.squirrel-9hn5j+WQJqK63hpG0/mJ51aTQe2KTcn/@public.gmane.org>
[-- Attachment #1.1: Type: text/plain, Size: 4930 bytes --]
Oooppps... It seems that I have been replying to Kbb instead of the list.
Let me send this mail with previous ones attached so that it can be useful
to anyone in my situation.
Hi Kbb
Perhaps I am not explaining myself correctly due to my English. My default
platform setup (which is arc/arm/mach-ixp4xx/ixdp425-setup.c), does not seem
to register a platform driver for SSP (not even in 2.6.26). That is why I
suppose that:
- No one has ever work in Linux with an IXP4XX and SSP.
- The work has not been submitted to the kernel.
As it seems there is not a platform driver for SSP in IXP4XX, I am trying to
figure how to build one (and of course, connect it to mmc_spi as you have
suggested me). I could have tried to build it from scratch, but I found that
pxa2xx_spi was quite similar to what I tried to do, and that is why I am
asking this mailing list if this is the correct way to do this.
Thanks again for your answer and time.
Miguel Ángel
On Fri, Aug 8, 2008 at 4:47 PM, <kbb-DU79CLUmun8xNU+NZBVoVw@public.gmane.org> wrote:
> No I am not familiar with the ixp465. Look in the init file discussed
> earlier and look for the platform driver with SSP use. Verify the resource
> addresses.
>
> open the mmc_spi and make sure it can connect to the last step. and then
> go from there.
>
> Good luck.
>
> Kbb
>
>
> > Hi
> >
> > I see... Ok... I will have to figure if I can backport mmc_spi to
> 2.6.18.
> > So
> > mmc_spi is somekind of "protocol driver"?
> >
> > Thanks for your answers... Are you familiar with ixp4xx? I cannot see an
> > driver for the host SPI so I am trying to port the one of pxa2xx. Do you
> > know if this is the best alternative?
> >
> > Things start to be more clear (or more dark, because it seems there is
> > quite
> > a lot of code to rewrite...)
> >
> > Miguel Ángel
> >
> >
> > On Fri, Aug 8, 2008 at 3:39 PM, <kbb-DU79CLUmun8xNU+NZBVoVw@public.gmane.org> wrote:
> >
> >> You are right it does not support direct MMC.
> >>
> >> First enable the mmc_spi choice and the spi in the config file.
> >>
> >> I then had to go into the init file "/arch/arm/mach-???/????" that your
> >> system is using and fix the platform driver so that it recognizes the
> >> hardware attached. This then should give you the use of the mmc_spi
> >> driver.
> >>
> >> Kbb
> >>
> >>
> >> > Hi Kbb
> >> >
> >> > Thanks for your answer.
> >> >
> >> > As far as I know, IXP465 has not an MMC/SD port. That is why I think I
> >> > must
> >> > use the SPI port.
> >> >
> >> > Am I wrong?
> >> >
> >> > Miguel Ángel
> >> >
> >> > On Fri, Aug 8, 2008 at 1:47 PM, <kbb-DU79CLUmun8xNU+NZBVoVw@public.gmane.org> wrote:
> >> >
> >> >> How is your hardware attached? Is it only through the MMC/SD port?
> >> >>
> >> >> If so then you do not really need the MMC over SPI, just the pxamci
> >> >> driver.
> >> >>
> >> >> Kbb
> >> >>
> >> >>
> >> >>
> >> >> > Hi.
> >> >> >
> >> >> > Some days ago I have sent a mail about using an SD card through SPI
> >> in
> >> >> an
> >> >> > IXP4XX system.
> >> >> >
> >> >> > Let me ask again for some help.
> >> >> > - I have seen pxa2xx_spi driver, and as it seems quite interesting
> >> for
> >> >> me,
> >> >> > I
> >> >> > have beginned to port it to my platform. I attach the preliminary
> >> >> patch,
> >> >> > just in case it is useful for somebody... It is not tested yet,
> >> >> however.
> >> >> > - To test it I am trying to read information about using an SD
> >> card,
> >> >> but
> >> >> I
> >> >> > am quite confussed by now... It seems there is some kind of mmc_spi
> >> >> driver
> >> >> > in latest kernels, but I do not know how all the pieces oz the
> >> puzzle
> >> >> mach
> >> >> > together. Any help would be appreciated.
> >> >> >
> >> >> > In my case I am using kernel 2.6.18 (trying to migrate to newer
> >> >> releases,
> >> >> > but not quite successfull yet), but if the help comes "explaining
> >> the
> >> >> > concept" in 2.6.24 or other kernels, it will also be quite useful.
> >> >> >
> >> >> > Thanks a lot.
> >> >> >
> >> >> > Miguel Ángel Álvarez
> >> >> >
> >>
> -------------------------------------------------------------------------
> >> >> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> >> >> > challenge
> >> >> > Build the coolest Linux based applications with Moblin SDK & win
> >> great
> >> >> > prizes
> >> >> > Grand prize is a trip for two to an Open Source event anywhere in
> >> the
> >> >> > world
> >> >> >
> >> >>
> >>
> http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
> >> >> > spi-devel-general mailing list
> >> >> > spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> >> >> > https://lists.sourceforge.net/lists/listinfo/spi-devel-general
> >> >> >
> >> >
> >>
> >
>
[-- Attachment #1.2: Type: text/html, Size: 7000 bytes --]
[-- Attachment #2: Type: text/plain, Size: 363 bytes --]
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
[-- Attachment #3: Type: text/plain, Size: 210 bytes --]
_______________________________________________
spi-devel-general mailing list
spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/spi-devel-general
next prev parent reply other threads:[~2008-08-08 15:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-08 9:11 MMC/SD, SPI and IXP4XX Miguel Ángel Álvarez
[not found] ` <55147.216.207.242.34.1218196029.squirrel@www.texascellnet.com>
[not found] ` <df996e0c0808080614g27b4eafaha073eb714b7f344a@mail.gmail.com>
[not found] ` <6927.216.207.242.34.1218202757.squirrel@www.texascellnet.com>
[not found] ` <df996e0c0808080737i22cf6a8dx7085457aed02e449@mail.gmail.com>
[not found] ` <16987.216.207.242.34.1218206865.squirrel@www.texascellnet.com>
[not found] ` <16987.216.207.242.34.1218206865.squirrel-9hn5j+WQJqK63hpG0/mJ51aTQe2KTcn/@public.gmane.org>
2008-08-08 15:20 ` Miguel Ángel Álvarez [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-11-04 14:11 Miguel Ángel Álvarez
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=df996e0c0808080820m4ecaf7e3o7b140e70edd3ee6c@mail.gmail.com \
--to=caronteycerbero-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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.