From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from antispam.messung.com (outbond.messung.com [210.212.173.45]) by ozlabs.org (Postfix) with ESMTP id 986B32C007C for ; Thu, 17 Jan 2013 00:31:02 +1100 (EST) In-Reply-To: Subject: SD Card over SPI, not working for MPC8313 From: R.Patil@mei-india.com To: linuxppc-dev@lists.ozlabs.org Message-ID: Date: Wed, 16 Jan 2013 19:00:58 +0530 Content-Type: multipart/alternative; boundary="=_alternative 004A3F3E65257AF5_=" References: MIME-Version: 1.0 List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --=_alternative 004A3F3E65257AF5_= Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1 MIME-Version: 1.0 Hello, We are working on board based on Freescale MPC8313ERDB. We have ported linu= x 3.0.46 kernel on it. We have to use SD card over SPI. We are trying to us= e 'mmc=5Fspi' driver for the same. We are able to detect SD card insertion = by the interrupt (gpio interrupt is used to detect card insertion). But we = are not able to initialise the card. Is the 'mmc=5Fspi' support for MPC8313= ERDB broken?=20 If no, what could be the reason we are getting timeout error by function 'm= mc=5Fspi=5Fresponse=5Fget()'? =20 If anybody could just give a hint to solve or debug the problem. =20 Thanks and Regards, Rahul Patil Email Disclaimer: --------------------------- This e-mail and any files transmitted with it are for the sole use of the i= ntended recipient(s) and may contain confidential and privileged informati= on. Computer viruses can be transmitted via email.The recipient should chec= k this email and any attachments for the presence of viruses. The company = accepts no liability for any damage caused by any virus transmitted by this= email. --=_alternative 004A3F3E65257AF5_= Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1
Hello,=

We are working on board based on Freescale MPC8313ERDB. We have por= ted linux 3.0.46 kernel on it. We have to use SD card over SPI. We are tryi= ng to use 'mmc=5Fspi' driver for the same. We are able to detect SD card in= sertion by the interrupt (gpio interrupt is used to detect card insertion).= But we are not able to initialise the card. Is the 'mmc=5Fspi' support for= MPC8313ERDB broken?

If no, what could be the reason we are getting= timeout error by function 'mmc=5Fspi=5Fresponse=5Fget()'? 

If= anybody could just give a hint to solve or debug the problem. 
Thanks and Regards,
Rahul Patil

Email Discl= aimer:
---------------------------

This e-mail and any files transmitted with it are for the sole use of the i= ntended recipient(s) and may contain confidential and privileged informati= on. Computer viruses can be transmitted via email.The recipient should chec= k this email and any attachments for the presence of viruses. The company = accepts no liability for any damage caused by any virus transmitted by this= email.
--=_alternative 004A3F3E65257AF5_=--