EMMA/EMEV2 SDHCI driver
I am currently trying to get a driver going for the SDIO0/1/2 blocks in the EMEV2 device. Using the SDHCI platform driver I've added a sub-driver to get the bus and sclks and then instantiate the sdhci core.
I have checked that the device is out of reset, and that all clocks in to the block are enabled. I have a quick verification that all SDHCI writes are making it to the registers.
Has anyone tried this with any success? Is there something I have missed doing this?
Signature · 2 lines
Ben Dooks http://www.codethink.co.uk/ Senior Engineer Codethink - Providing Genius
Quoted 11 lines · Ben Dooks
I am currently trying to get a driver going for the SDIO0/1/2 blocks in the EMEV2 device. Using the SDHCI platform driver I've added a sub-driver to get the bus and sclks and then instantiate the sdhci core.
I have checked that the device is out of reset, and that all clocks in to the block are enabled. I have a quick verification that all SDHCI writes are making it to the registers.
Has anyone tried this with any success? Is there something I have missed doing this?
I'm pretty sure we are somehow losing the interrupt from the SDIO0 block to the gic, but can't see how as the interrupt seems to be appropriately unmasked.
Signature · 2 lines
Ben Dooks http://www.codethink.co.uk/ Senior Engineer Codethink - Providing Genius
Quoted 10 lines · Ben Dooks
Quoted 9 lines · Ben Dooks
I am currently trying to get a driver going for the SDIO0/1/2 blocks in the EMEV2 device. Using the SDHCI platform driver I've added a sub-driver to get the bus and sclks and then instantiate the sdhci core.
I have checked that the device is out of reset, and that all clocks in to the block are enabled. I have a quick verification that all SDHCI writes are making it to the registers.
Quoted 6 lines
Quoted 2 lines
Has anyone tried this with any success? Is there something I have missed doing this?
I'm pretty sure we are somehow losing the interrupt from the SDIO0 block to the gic, but can't see how as the interrupt seems to be appropriately unmasked.
Argh, this is my only silly fault for adding debug into the sdhci core code and failing to notice i'd broken the irq claim. It is now generating interrupts!
I am now looking in to what quirks may or may not be needed as I am seeing ADMA errors returned.
Signature · 2 lines
Ben Dooks http://www.codethink.co.uk/ Senior Engineer Codethink - Providing Genius