linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Fabio Tosetto <tosettofabio83@libero.it>
To: linuxppc-dev@ozlabs.org
Cc: dbrownell@users.sourceforge.net, garyj@denx.de,
	linux-kernel@vger.kernel.org,
	spi-devel-general@lists.sourceforge.net, g.liakhovetski@gmx.de,
	drzeus-mmc@drzeus.cx
Subject: SD-MMC over SPI on PSC6
Date: Thu, 22 May 2008 12:42:51 +0200	[thread overview]
Message-ID: <48354E2B.8010003@libero.it> (raw)

Hello, I have an embedded system with an on-board processor powerpc 
MPC5200B
and Linux kernel 2.6.22,
I must turn over to MMC SPI on the PSC6.

The MMC over SPI is connected to MPC5200b, here's how:

  MPC5200B
----------------                                        
                       
|                                                                 
|------------------
         PSC1_2 |--->------------Chip_Select (out)---------|      
                       
|                                                                 |
                       |                        
                                         |     SD CARD
         ETH_17 |---<------------IRQ (in)------------------|   MMC over SPI
                       |                                                
                 |
                       
|                                                                 |
         PSC6_0 |---<------------SPI_RXD (in)------------|
                       
|                                                                 |
                       
|                                                                 |
         PSC6_2 |--->------------SPI_TXD (out)-----------|
                       |                                                 
                |
                       |                                                 
                |
         PSC6_3 |--->------------SPI_CLK (out)-----------|
                       
|                                                                 
|------------------
----------------

Now on the menuconfig enabling these options:

$ make ARCH=powerpc CROSS_COMPILE=powerpc-linux-gnu- menuconfig

Platform support  --->
   [*] MPC5200 (L25R) bugfix support
   [*] Freescale Lite5200 Eval Board

Device Drivers  ---> SPI Support --->
   [*] SPI support
  <*> Freescale MPC52xx PSC SPI controller

Now I have applied those patch:
http://www.mail-archive.com/spi-devel-general@lists.sourceforge.net/msg00150.html

Now on the menuconfig enabling these options:

$ make ARCH=powerpc CROSS_COMPILE=powerpc-linux-gnu- menuconfig

Device Drivers  --->  MMC/SD card support --->
 [*] MMC debugging
<*> MMC block device driver
<*> MMC host test driver
<*> MMC/SD over SPI

Is correct applied those patch and enable those options into menuconfig?

thanks Fabio

             reply	other threads:[~2008-05-22 10:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-22 10:42 Fabio Tosetto [this message]
2008-05-23  2:02 ` SD-MMC over SPI on PSC6 David Brownell

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=48354E2B.8010003@libero.it \
    --to=tosettofabio83@libero.it \
    --cc=dbrownell@users.sourceforge.net \
    --cc=drzeus-mmc@drzeus.cx \
    --cc=g.liakhovetski@gmx.de \
    --cc=garyj@denx.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=spi-devel-general@lists.sourceforge.net \
    /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;
as well as URLs for NNTP newsgroup(s).