This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM8168 McBSP application under Linux

Hi,

 We are now testing DM8168 McBSP functionality. We already connected a serial device to the 8168 McBSP interface by ourselves. Now we try to download some data to the device through McBSP , with software interfaces provided by arch/arm/plat-omap/mcbsp.c. The problem is when we called omap_mcbsp_request to request the usage of a McBSP host device, it failed with any id parameter we passed to omap_mcbsp_request.

 We checked arch/arm/mach-omap2/mcbsp.c and found the following code snippet

    if (cpu_is_omap2420()) {
        omap_mcbsp_count = OMAP2420_MCBSP_PDATA_SZ;
        omap_mcbsp_cache_size = OMAP2420_MCBSP_REG_NUM * sizeof(u16);
    } else if (cpu_is_omap2430()) {
        omap_mcbsp_count = OMAP2430_MCBSP_PDATA_SZ;
        omap_mcbsp_cache_size = OMAP2430_MCBSP_REG_NUM * sizeof(u32);
    } else if (cpu_is_omap34xx()) {
        omap_mcbsp_count = OMAP34XX_MCBSP_PDATA_SZ;
        omap_mcbsp_cache_size = OMAP34XX_MCBSP_REG_NUM * sizeof(u32);
    } else if (cpu_is_omap44xx()) {
        omap_mcbsp_count = OMAP44XX_MCBSP_PDATA_SZ;
        omap_mcbsp_cache_size = OMAP44XX_MCBSP_REG_NUM * sizeof(u32);
    }

It seems omap_mcbsp_count is zero when codes are running for TI8168, and thus no mcbsp devices could be allocated.

My question is :  Are there any McBSP codes for DM8168 EVM in TI-released linux kernel? If not , Is there anywhere I can find them?