V4L/DVB: vpfe-capture - converting dm355 ccdc driver to a platform driver
authorMuralidharan Karicheri <[email protected]>
Wed, 13 Jan 2010 23:27:06 +0000 (20:27 -0300)
committerMauro Carvalho Chehab <[email protected]>
Fri, 26 Feb 2010 18:10:45 +0000 (15:10 -0300)
commitc70fc2d2ccff1ce4cf0441ed060045022e6cc5c8
tree436259993e9a79231c4a5df386f2a939d687d26c
parent51444ea3d4f5baa0338297aba7065fd695528a36
V4L/DVB: vpfe-capture - converting dm355 ccdc driver to a platform driver

1) clocks are configured using generic clock names;
2) converts the driver to a platform driver;
3) cleanup - consolidate all static variables inside a structure, ccdc_cfg;

The ccdc now uses a generic name for clocks. "master" and "slave". On individual platforms
these clocks will inherit from the platform specific clock. This will allow re-use of
the driver for the same IP across different SoCs.

Updated based on Kevin's comments on clock configuration and error code (v3, v4).

Reviewed-by: Kevin Hilman <[email protected]>
Reviewed-by: Vaibhav Hiremath <[email protected]>
Reviewed-by: Hans Verkuil <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Muralidharan Karicheri <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
drivers/media/video/davinci/dm355_ccdc.c