linux/drivers/video/omap2/dss
Archit Taneja f1da39d9ce OMAP: DSS2: DSI: Use platform_device pointer to get dsi data
The dsi related data structure currently creates one global instance of itself
which is accessed by dsi functions. Remove this global structure instance and
declare the struct as dsi_data. Modify dsi_init() to allocate a "dsi_data"
structure for each platform device instance. Link this data with the device's
platform_device pointer. Create the function dsi_get_dsidrv_data() which takes
the pdev and return a pointer to the device's dsi_data.

Make dsi_get_dsidev_id() return only 0 for now, this will be removed once the
name of the DSI platform device is changed to the device instance form, like
"omapdss_dsi.0" and "omapdss_dsi.1" etc.

Signed-off-by: Archit Taneja <archit@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2011-05-12 19:30:26 +03:00
..
core.c OMAP: DSS2: make omap_dss_(un)register_device static 2011-05-11 14:19:26 +03:00
dispc.c OMAP: DSS2: Pass platform_device as an argument in dsi functions 2011-05-12 19:30:26 +03:00
dispc.h OMAP: DSS2: Remove usage of struct dispc_reg 2011-05-11 14:20:53 +03:00
display.c OMAP: DSS2: Convert simple/strict_strto* to kstrto* 2011-05-11 14:20:11 +03:00
dpi.c OMAP: DSS2: Pass platform_device as an argument in dsi functions 2011-05-12 19:30:26 +03:00
dsi.c OMAP: DSS2: DSI: Use platform_device pointer to get dsi data 2011-05-12 19:30:26 +03:00
dss_features.c OMAP: DSS2: FEATURES: Add missing consts 2011-05-11 14:20:49 +03:00
dss_features.h OMAP: DSS2: Pass platform_device as an argument in dsi functions 2011-05-12 19:30:26 +03:00
dss.c OMAP: DSS2: Pass platform_device as an argument in dsi functions 2011-05-12 19:30:26 +03:00
dss.h OMAP: DSS2: Pass platform_device as an argument in dsi functions 2011-05-12 19:30:26 +03:00
hdmi_omap4_panel.c OMAP: DSS2: Move display.h to include/video/ 2011-05-11 14:05:07 +03:00
hdmi.c OMAP: DSS2: HDMI: Use dss_device clock configuration for HDMI PLL parameters 2011-05-11 14:20:10 +03:00
hdmi.h OMAP: DSS2: Move display.h to include/video/ 2011-05-11 14:05:07 +03:00
Kconfig OMAP: DSS2: DSI: enable interface for omap4 2011-05-11 14:20:50 +03:00
Makefile OMAP4: DSS2: HDMI: Add makefile and kconfig changes to enable HDMI in OMAP4 2011-03-16 11:45:50 +05:30
manager.c OMAP: DSS2: Move display.h to include/video/ 2011-05-11 14:05:07 +03:00
overlay.c OMAP: DSS2: Convert simple/strict_strto* to kstrto* 2011-05-11 14:20:11 +03:00
rfbi.c OMAP: DSS2: Move display.h to include/video/ 2011-05-11 14:05:07 +03:00
sdi.c OMAP: DSS2: Move display.h to include/video/ 2011-05-11 14:05:07 +03:00
venc.c OMAP: DSS2: VENC: Add missing start/stop_device calls 2011-05-11 14:19:25 +03:00