Hello all;
I have some problems with my mcbsp again about its region and
memory allocation. I wrote like this.
static int mcbsp_drv_init (void)
{
int ret;
int chk;
printk("mcbsp_drv registering init start... \n");
ret = register_chrdev(MCBSP_DRV_MAJOR,"mcbsp_drv",&
mcbsp_drv_fops); /
chk=check_region (OMAP34XX_MCBSP1_BASE,0x64);
printk("check is :%d",chk);
chk=request_region (OMAP34XX_MCBSP1_BASE,0x64,"mcbsp_drv");
printk("request is :%d",chk);
chk=check_mem_region (OMAP34XX_MCBSP1_BASE,0x64);
printk("check memory is :%d",chk);
chk=request_mem_region (OMAP34XX_MCBSP1_BASE,0x64,"mcbsp_drv");
printk("request memory is :%d",chk);
then call
omap_mcbsp_request(OMAP_MCBSP1);
but i couldnot communicate with my mcbsp. (i couldnot see any clock
activation on oscilloscope). How can i handle it?
Fatih