[Solved] SD Card over SPI, not working for MPC8313

2013-01-24 Thread R . Patil
. Thanks and Regards, Rahul Patil -R Patil/SW HW Dev/Pune EL2/R N D/Messung wrote: - To: linuxppc-dev@lists.ozlabs.org From: R Patil/SW HW Dev/Pune EL2/R N D/Messung Date: 01/16/2013 07:00PM Subject: SD Card over SPI, not working for MPC8313 Hello, We are working on board based

SD Card over SPI, not working for MPC8313

2013-01-16 Thread R . Patil
Hello, We are working on board based on Freescale MPC8313ERDB. We have ported linux 3.0.46 kernel on it. We have to use SD card over SPI. We are trying to use 'mmc_spi' driver for the same. We are able to detect SD card insertion by the interrupt (gpio interrupt is used to detect card

Re: [Solved] Interrupt handler not executed

2013-01-14 Thread R . Patil
Hello Scott, Thanks for your immediate response. The problem has been resolved. Actually, I was wrong in pointing out the problem. The problem was lying in interrupt handler. The first statement in interrupt handler was disable_irq() which was leading into a deadlock. I replaced

Interrupt handler not executed

2013-01-10 Thread R . Patil
Hello, We are working on board based on Freescale MPC8313ERDB. We have ported linux 3.0.46 kernel on it. In one of device driver written by us, we need to take some action upon asserting IRQ0 interrupt. For this we have written interrupt handler which takes care of this. We are able register

Adding 'of_platform' bus support to the platform driver

2012-12-20 Thread R . Patil
Hello, We are working on one of the platform drivers for our board (based on MPC8313ERDB). Previously, this driver was supporting platform bus but now we want to change it to support 'of_platform' bus. While supporting platform bus, the platform device structure is initialised in board setup