Kernel McSPI
From OMAPpedia
Welcome to the McSPI webpage.
Introduction
This webpage describes the McSPI switch software development effort for OMAP4 platforms.
The multichannel serial port interface (McSPI) is a master/slave synchronous serial bus. There are four
separate McSPI modules (SPI1, SPI2, SPI3, and SPI4) in the device
Features supported
McSPI supports McSPI1, McSPI2 , McSPI3 and McSPI4.
- Supports DMA for data transfer operations
- Supports full duplex data transfer operations
- Supports configuration of number of wordlength.
- Supports configuration of phase and polarity of the device functional clock.
- Support configuration of the bitrate.
Design
Fig1: Overview of the McSPI Architecture
The McSPI lib interfaces with the hardware and uses the DMA library.
Applications can use the McSPI through one of the McSPI client drivers like audio driver.
Feature Status Summary
Here is the summary of completed, ongoing and planned features in the McSPI driver.
McSPI Driver
| ID | Title | Target Week | Upstream Status | Link to Patches | Priority | Owner | Dev Status | Comments & Link to Details |
| McSPI01 | McSPI | NA | Under External Review | TBD | NA | TBD | Supported in L24.x | See details |
Defect Status Summary
Here is the summary of completed, ongoing and planned defect fixes in the McSPI driver.
McSPI Driver
| ID | Title | Target Week | Upstream Status | Link to Patches | Features Impacted | Priority | Owner | Dev Status | Comments & Link to Details |
| Nothing to Report | NA | NA | NA | NA | NA | NA | NA | NA | NA |
FAQ
Feature Status Details
Support for McSPI
Supported in kernel.
Defect Status Details
None reported so far
Future Development Plan
None at present
Information on Testing Procedures/ideas
1.MISO and MOSI lines can be connected and a loopback executed.
Feature Status Details
McSPI01 Support for McSPI
Support for the McSPI is already in the kernel.
However some features are getting discussed in the mailing list.
Defect Status Details
None reported so far
Future Development Plan
None at present
Submit Your Ideas Here
Please list them as separate subsections (use ===title===). Please include your name, email ID and date for easy processing.
Owner
Contributors
Shubrajyoti Datta, Hemanth V, Syed Rafiuddin.
Patches Merged in kernel.org
https://patchwork.kernel.org/patch/36825/
Recent Submissions/Discussions on Open Source
| Patch title | commit ID | Author | Creation Date | Status in Open-source | Comments | Plan |
| OMAP4: SPI: Clock Speed | 64ab682 | Abraham Arce | 2/3/2010 | SubmittedButNotYetAccepted | Sent latest version, waiting for comments | |
| McSPI slave support | 45127af | Shubhro | 1/15/2010 | SubmittedButNotYetAccepted | slave mode not used by any entity…resistance from community…we use for loop back tests | |
| Configuration of McSPI | 67cd33b | Shubhro | 1/13/2010 | SubmittedButNotYetAccepted | slave mode not used by any entity…resistance from community…we use for loop back tests | |
| Fix directory changes to prevent compilation` | f502f42 | Shubhro | 1/20/2010 | Not submited | Dependent on above patches | |
