linux_dsm_epyc7002/include/media/davinci
Lad, Prabhakar caff80c35f [media] davinci: vpbe: pass different platform names to handle different ip's
The vpbe driver can handle different platforms DM644X, DM36X and
DM355. To differentiate between this platforms venc_type/vpbe_type
was passed as part of platform data which was incorrect. The correct
way to differentiate to handle this case is by passing different
platform names.
This patch creates platform_device_id[] array supporting different
platforms and assigns id_table to the platform driver, and finally
in the probe gets the actual device by using platform_get_device_id()
and gets the appropriate driver data for that platform.
Taking this approach will also make the DT transition easier.

Signed-off-by: Lad, Prabhakar <prabhakar.lad@ti.com>
Signed-off-by: Manjunath Hadli <manjunath.hadli@ti.com>
Acked-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-12-21 14:18:50 -02:00
..
ccdc_types.h V4L/DVB (12252): v4l: ccdc types used across ccdc modules for vpfe capture driver 2009-09-19 00:18:18 -03:00
dm355_ccdc.h Fix common misspellings 2011-03-31 11:26:23 -03:00
dm644x_ccdc.h V4L/DVB (12251): v4l: dm644x ccdc module for vpfe capture driver 2009-09-19 00:18:16 -03:00
isif.h Fix common misspellings 2011-03-31 11:26:23 -03:00
vpbe_display.h [media] media: davinci: vpbe: migrate driver to videobuf2 2012-11-21 13:55:10 -02:00
vpbe_osd.h [media] davinci: vpbe: pass different platform names to handle different ip's 2012-12-21 14:18:50 -02:00
vpbe_types.h [media] dm644x: replace the obsolete preset API by the timings API 2012-10-05 14:27:18 -03:00
vpbe_venc.h [media] davinci: vpbe: pass different platform names to handle different ip's 2012-12-21 14:18:50 -02:00
vpbe.h [media] dm644x: replace the obsolete preset API by the timings API 2012-10-05 14:27:18 -03:00
vpfe_capture.h V4L/DVB: V4L: vpfe_capture: Add call back function for interrupt clear for vpfe_cfg 2010-05-18 00:52:43 -03:00
vpfe_types.h V4L/DVB (12248): v4l: vpfe capture bridge driver for DM355 and DM6446 2009-09-19 00:18:12 -03:00
vpif_types.h [media] media: davinci: vpif: display: separate out subdev from output 2012-10-05 22:12:27 -03:00
vpss.h [media] davinci/vpss: add helper functions for setting hw params 2012-12-21 14:07:20 -02:00