DaVinci: DM646x - platform changes for vpif capture and display drivers
authorMuralidharan Karicheri <m-karicheri2@ti.com>
Wed, 16 Sep 2009 17:15:30 +0000 (13:15 -0400)
committerKevin Hilman <khilman@deeprootsystems.com>
Wed, 16 Sep 2009 17:28:46 +0000 (10:28 -0700)
commit85609c1ccda64af7d7c277469183f20e4f3b69c3
treea9d7ca458764fc0b8bb4f4f23736b9cf861e3974
parent51e68e27d310034332b67a6762914af9589b3db5
DaVinci: DM646x - platform changes for vpif capture and display drivers

VPIF display changes (Chaithrika)

Add platform device and resource structures. Also define a platform specific
clock setup function that can be accessed by the driver to configure the clock
and CPLD.

VPIF caputure changes (Murali)

1) Modify vpif_subdev_info to add board_info, routing information and
   vpif interface configuration. Remove addr since it is part of
   board_info

2) Add code to setup channel mode and input decoder path for vpif
   capture driver

Also incorporated comments against version v0 of the patch series and
added a spinlock to protect writes to common registers

Tested on DM6467 on channel 0 using TVP514x. Following bootargs used
for drivers:

   vpif_capture.ch0_bufsize=829440 vpif_display.ch2_bufsize=829440

Signed-off-by: Manjunath Hadli <mrh@ti.com>
Signed-off-by: Brijesh Jadav <brijesh.j@ti.com>
Signed-off-by: Chaithrika U S <chaithrika@ti.com>
Reviewed-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Muralidharan Karicheri <m-karicheri2@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-davinci/board-dm646x-evm.c
arch/arm/mach-davinci/dm646x.c
arch/arm/mach-davinci/include/mach/dm646x.h