summaryrefslogtreecommitdiff
path: root/drivers/mxc/mlb
AgeCommit message (Collapse)Author
2013-07-17ENGR00269623 mlb150: fix compile warningDong Aisheng
CC [M] drivers/gpu/drm/drm_global.o drivers/mxc/mlb/mxc_mlb150.c: In function 'mxc_mlb150_open': drivers/mxc/mlb/mxc_mlb150.c:1910: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'void *' .... Signed-off-by: Dong Aisheng <b29396@freescale.com>
2013-06-24ENGR00258998: mlb unit test should exit after click stop on mitbTerry Lv
This patch will do the following: 1. For mlb will not be able to know whether the final package is completely sent, add a delay for final package to be sent. 2. Adjust MLB's iram buffer usage. Old code will add addtional usage of iram buffer. 3. Code format change. 4. In resume function, calling init function after clock is enabled. Signed-off-by: Terry Lv <r65388@freescale.com>
2013-04-16ENGR00259008: mlb: reduce iram usage amount in async modeTerry Lv
In testing async mode on mx6q ard and mx6dl ard, driver always said "can not alloc rx buffer". Change async's ring buffer size from 2048 to 1536(MEP package size) and reduce the extra ring buffer for drop package, now the iram usage amount in async mode reduced from 34816 to 24576. Signed-off-by: Terry Lv <r65388@freescale.com>
2013-04-15ENGR00258357-5: mlb: Use circle buf macros to replace old ringbuf mechanismTerry Lv
Use circle buf to replace old ringbuf mechanism. Change to use circle buffer in read, write, rx isr and tx isr functions. In first design of MLB, it's using it's own mechanism to manage ring buffer, like in mxc_mlb.c. And then, I saw that kernel already had a serials of circ buffer macros which can be used to manage ring buffers. This patch is to use circle buffer macros to manage mlb internal ring buffers. For detail of circle buffers, you can refer to linux-2.6-imx/Documentation/circular-buffers.txt. Signed-off-by: Terry Lv <r65388@freescale.com>
2013-04-15ENGR00258357-4: mlb: Group static variables to structure mlb_dataTerry Lv
Group static variables to structure mlb_data. Use mlb_data as platform data to be passed to file operation functions. Change accordingly functions for this change. Signed-off-by: Terry Lv <r65388@freescale.com>
2013-04-15ENGR00258357-3: mlb: Reset whole CDR in init functionTerry Lv
Reset whole CDR in init function. This will make mlb connection to MITB more stable. This is a missed part in mx6 rm's mlb section, but new in mlb's latest spec DS62420AP2.pdf 12.1.1-1. Without this patch, mlb may receive irq from MITB during initialization. It might cause some connection issue that mlb can't receive data sometimes. It was treat to be MITB's fault before we get the latest spec. Signed-off-by: Terry Lv <r65388@freescale.com>
2013-04-15ENGR00258357-2: mlb: Add more debug msgs in DEBUG modeTerry Lv
Changes are: 1. Use print_hex_dump to print buffer in DEBUG mode. 2. Add more debug msgs. Signed-off-by: Terry Lv <r65388@freescale.com>
2013-04-15ENGR00258357-1: mlb: Remove MLB150_ from macro define namesTerry Lv
Remove MLB150_ from macro define names to make code clean. Signed-off-by: Terry Lv <r65388@freescale.com>
2012-07-20ENGR00176469-5: Remove build warnings in mxc_mlb150.cTerry Lv
Remove build warnings in mxc_mlb150.c. Signed-off-by: Terry Lv <r65388@freescale.com>
2012-07-20ENGR00176469-2: Improve the performance of MLBTerry Lv
Main changes: 1. Directly use ring buffer to read. 2. Trival code clean for improvement. Signed-off-by: Terry Lv <r65388@freescale.com>
2012-07-20ENGR00172374-6: fix the mlb modules build errorsJason Liu
/home/r64343/work_space/linux-2.6/drivers/mxc/mlb/mxc_mlb150.c: In function 'mlb_tx_isr': /home/r64343/work_space/linux-2.6/drivers/mxc/mlb/mxc_mlb150.c:1351: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function) /home/r64343/work_space/linux-2.6/drivers/mxc/mlb/mxc_mlb150.c:1351: error: (Each undeclared identifier is reported only once /home/r64343/work_space/linux-2.6/drivers/mxc/mlb/mxc_mlb150.c:1351: error: for each function it appears in.) /home/r64343/work_space/linux-2.6/drivers/mxc/mlb/mxc_mlb150.c: In function 'mlb_rx_isr': /home/r64343/work_space/linux-2.6/drivers/mxc/mlb/mxc_mlb150.c:1400: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function) /home/r64343/work_space/linux-2.6/drivers/mxc/mlb/mxc_mlb150.c: In function 'mxc_mlb150_read': /home/r64343/work_space/linux-2.6/drivers/mxc/mlb/mxc_mlb150.c:1828: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function) /home/r64343/work_space/linux-2.6/drivers/mxc/mlb/mxc_mlb150.c:1828: error: implicit declaration of function 'signal_pending' /home/r64343/work_space/linux-2.6/drivers/mxc/mlb/mxc_mlb150.c:1828: error: implicit declaration of function 'schedule' missing one header file: sched.h, add it to fix it. Signed-off-by: Jason Liu <r64343@freescale.com>
2012-07-20ENGR00170969: Remove build warnings in MLB driverTerry Lv
Remove build warnings in MLB driver. Signed-off-by: Terry Lv <r65388@freescale.com>
2012-07-20ENGR00139278-3: Add MLB main driver for mx6qTerry Lv
Add MLB main driver for mx6q. Signed-off-by: Terry Lv <r65388@freescale.com>
2012-07-20ENGR00141217-5 IPU\VPU\GPU: upgrade to 2.6.38Jason Chen
Add drivers/mxc Add drivers/video/mxc Add drivers/media/mxc fb device: change acquire_console_sem to console_lock And release_console_sem to console_unlock Add DMA Zone support Add TVE driver, add regulator Add hdmi support Add VPU Fix build error ioctl --> unlocked_ioctl DECLARE_MUTEX --> DEFINE_SEMAPHORE Signed-off-by: Jason Chen <b02280@freescale.com> Signed-off-by: Richard Zhao <richard.zhao@freescale.com>