[PATCH] video: da8xx: Register IRQ as last thing in driver probing.

2010-11-30 Thread caglarakyuz
From: Caglar Akyuz Following commit exposed a bug in driver: "fbdev: da8xx/omap-l1xx: implement double buffering" Bug is, if interrupt handler is called before initialization is finished, raster controller is enabled and following register modifications causes hardware to stay in a brok

[PATCH 3/3] davinci: Adding Kconfig and Makefile entries for dm644x resizer driver.

2009-06-24 Thread caglarakyuz
From: Yusuf Caglar Akyuz Signed-off-by: Yusuf Caglar Akyuz --- arch/arm/mach-davinci/Kconfig |7 +++ arch/arm/mach-davinci/Makefile |1 + 2 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-davinci/Kconfig b/arch/arm/mach-davinci/Kconfig index a8ce2dd..99c

[PATCH 2/3] davinci: Fixing compilation errors for dm644x hardware resizer driver.

2009-06-24 Thread caglarakyuz
From: Yusuf Caglar Akyuz 2.6.10 driver mostly usable but there are some compile errors: * Header inclusions updated for newer kernels. * Old driver uses devfs, this has changed as well class interfaces. * dev_dbg statements changed. Signed-off-by: Yusuf Caglar Akyuz --- arch/arm/mach-davin

[PATCH 0/3] davinci: Porting dm644x resizer driver from 2.6.10 tree.

2009-06-24 Thread caglarakyuz
From: Yusuf Caglar Akyuz IMPORTANT: This driver is not ready for upstream inclusion. I'm posting it just in case somebody wants to use it. This patch series port dm644x hardware resizer driver from 2.6.10 tree. According to [1] this driver must be converted to use V4l2 interfaces. I'm not expe

[PATCH 8/9] Adding missing patches for DaVinci VPBE drivers.

2009-06-24 Thread caglarakyuz
From: Yusuf Caglar Akyuz I realized that I dropped some headers while preparing patches while updating to latest Davinci head. Let's add them. These are needed for build process to succeed. Signed-off-by: Yusuf Caglar Akyuz --- include/media/davinci/vid_encoder_if.h| 287 +

[PATCH 2/9] Fixing build errors for DaVinci VPBE drivers.

2009-06-24 Thread caglarakyuz
From: Yusuf Caglar Akyuz This commit fixes build errors related to VPBE drivers previously ported from 2.6.10 tree. Main changes are for: * New header structure * Interrupt function definition changes. * Removing devfs calls and new class interface compatibility. Signed-off-by: Yusuf Caglar Aky

[PATCH 4/9] Adding LCD support to VPBE encoder driver.

2009-06-24 Thread caglarakyuz
From: Yusuf Caglar Akyuz Current VPBE encoder code do not include for support for LCD driving capabilities of dm644x and dm355. It is possible to use LCD output via logicpd encoder code but I think vpbe encoder code must support this feature as well. Signed-off-by: Yusuf Caglar Akyuz --- drive

[PATCH 6/9] Fixing compile errors for DaVinci V4l2 display.

2009-06-24 Thread caglarakyuz
From: Yusuf Caglar Akyuz This commit fixes build errors for V4l2 driver previously ported from 2.6.10 tree. Signed-off-by: Yusuf Caglar Akyuz --- drivers/media/video/davinci/davinci_display.c | 90 + include/media/davinci/davinci_display.h |3 +- 2 files cha

[PATCH 7/9] Adding new pinmux definitions for dm355.

2009-06-24 Thread caglarakyuz
From: Yusuf Caglar Akyuz These mux definition are needed for VPBE drivers to work on dm355 hardware. This patch also adds 2 GPIO pinmux definition which are present on DC5 connector of dm355 evm. Signed-off-by: Yusuf Caglar Akyuz --- arch/arm/mach-davinci/dm355.c|9 + a

[PATCH 5/9] Add davinci_read/write macro definition to the VPBE drivers.

2009-06-24 Thread caglarakyuz
From: Yusuf Caglar Akyuz VPBE drivers heavly depend on davinci_read/write macros and these are removed from latest kernels. This commit defines theses macros locally in each file using them. Signed-off-by: Yusuf Caglar Akyuz --- drivers/media/video/davinci/davinci_osd.c |8 d

[PATCH 0/9] This patch series ports VPBE drivers from 2.6.10 tree.

2009-06-24 Thread caglarakyuz
From: Yusuf Caglar Akyuz IMPORTANT: These drivers by no means for upstream inclusion. I'm posting these just in case somebody wants to use them. This patch series forward port VPBE drivers from 2.6.10 tree into current DaVinci tree. These drivers are sitting locally from 2.6.27 version in my

[PATCH 3/9] Changing clock handling of VPBE drivers for newer kernels.

2009-06-24 Thread caglarakyuz
From: Yusuf Caglar Akyuz Davinci clock handling is changed between somewhere 2.6.28 and 2.6.30-rc6 so VPBE drivers no longer works with latest kernels. This commit updates clock handling. Signed-off-by: Yusuf Caglar Akyuz --- drivers/media/video/davinci/davinci_osd.c |5 + 1 files chan

[PATCH 9/9] Adding Kconfig and Makefile entries for DaVinci VPBE drivers.

2009-06-24 Thread caglarakyuz
From: Yusuf Caglar Akyuz Signed-off-by: Yusuf Caglar Akyuz --- drivers/media/video/Kconfig | 20 drivers/media/video/Makefile |3 +++ 2 files changed, 23 insertions(+), 0 deletions(-) diff --git a/drivers/media/video/Kconfig b/drivers/media/video/Kconfig index 9d48

[PATCH 5/5] davinci: This commit fixes checkpatch warnings for DaVinci PWM driver.

2009-06-24 Thread caglarakyuz
From: Yusuf Caglar Akyuz In addition to fixing checkpatch warnings, this patch also changes clock names used in the driver to current DaVinci tree names. Signed-off-by: Yusuf Caglar Akyuz --- arch/arm/mach-davinci/Kconfig|2 +- arch/arm/mach-davinci/include/mach/pwm.h |9 +-

[PATCH 2/5] davinci: This commit fixes DaVinci PWM driver build errors and warnings.

2009-06-24 Thread caglarakyuz
From: Yusuf Caglar Akyuz DaVinci PWM driver was previously imported from 2.6.10 tree. This commit updates driver for recent kernels. Signed-off-by: Yusuf Caglar Akyuz --- arch/arm/mach-davinci/include/mach/pwm.h |2 + arch/arm/mach-davinci/pwm.c | 33 +---

[PATCH 3/5] davinci: Adding a simple sysfs interface for DaVinci PWM driver.

2009-06-24 Thread caglarakyuz
From: Yusuf Caglar Akyuz With the aid of simple sysfs interface driver, functionality can be verified easily without writing a test program. Signed-off-by: Yusuf Caglar Akyuz --- arch/arm/mach-davinci/pwm.c | 91 +++ 1 files changed, 91 insertions(+),

[PATCH 4/5] davinci: Adding Kconfig and Makefile entries for DaVinci PWM driver.

2009-06-24 Thread caglarakyuz
From: Yusuf Caglar Akyuz Signed-off-by: Yusuf Caglar Akyuz --- arch/arm/mach-davinci/Kconfig |8 arch/arm/mach-davinci/Makefile |1 + 2 files changed, 9 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-davinci/Kconfig b/arch/arm/mach-davinci/Kconfig index 0817adf..6f

[PATCH 1/5] davinci: Importing DaVinci PWM driver from 2.6.10 tree.

2009-06-24 Thread caglarakyuz
From: Yusuf Caglar Akyuz This commit blindly imports existing PWM driver from 2.6.10 tree. Build fixes and other improvements will be added in recpective commits. Signed-off-by: Yusuf Caglar Akyuz --- arch/arm/mach-davinci/include/mach/pwm.h | 69 arch/arm/mach-davinci/pwm.c

[PATCH 0/5] davinci: This patch series ports PWM driver from 2.6.10 tree.

2009-06-24 Thread caglarakyuz
From: Yusuf Caglar Akyuz This patch series imports 2.6.10 PWM driver into recent kernel. No functional changes have been made to the driver itself. However, I added a simple sysfs interface for functionality check. I verified this driver on 2.6.28 using dm6446 EVM. Patch currently applies on t