diff options
author | Archit Taneja <archit@ti.com> | 2012-08-13 05:58:15 -0400 |
---|---|---|
committer | Archit Taneja <archit@ti.com> | 2012-08-16 08:30:54 -0400 |
commit | 475989b763668f0794d6a8ee34a1ca0e784831e2 (patch) | |
tree | 29034bc47a822f28326b62b3e6523a931c6294f1 /include/video | |
parent | b02875be08fd2ca7a195154c9f1c538508ca0d5a (diff) |
OMAPDSS: RFBI: Maintain copy of number of data lines in driver data
The RFBI driver currently relies on the omap_dss_device struct to configure the
number of data lines as specified by the panel. This makes the RFBI interface
driver dependent on the omap_dss_device struct.
Make the RFBI driver data maintain it's own data lines field. A panel driver
is expected to call omapdss_rfbi_set_data_lines() to configure the pixel format
before enabling the interface or calling omap_rfbi_configure().
Signed-off-by: Archit Taneja <archit@ti.com>
Diffstat (limited to 'include/video')
-rw-r--r-- | include/video/omapdss.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h index d03244a59db4..2e8bb087feff 100644 --- a/include/video/omapdss.h +++ b/include/video/omapdss.h | |||
@@ -753,9 +753,11 @@ int omapdss_rfbi_display_enable(struct omap_dss_device *dssdev); | |||
753 | void omapdss_rfbi_display_disable(struct omap_dss_device *dssdev); | 753 | void omapdss_rfbi_display_disable(struct omap_dss_device *dssdev); |
754 | int omap_rfbi_update(struct omap_dss_device *dssdev, void (*callback)(void *), | 754 | int omap_rfbi_update(struct omap_dss_device *dssdev, void (*callback)(void *), |
755 | void *data); | 755 | void *data); |
756 | int omap_rfbi_configure(struct omap_dss_device *dssdev, int data_lines); | 756 | int omap_rfbi_configure(struct omap_dss_device *dssdev); |
757 | void omapdss_rfbi_set_size(struct omap_dss_device *dssdev, u16 w, u16 h); | 757 | void omapdss_rfbi_set_size(struct omap_dss_device *dssdev, u16 w, u16 h); |
758 | void omapdss_rfbi_set_pixel_size(struct omap_dss_device *dssdev, | 758 | void omapdss_rfbi_set_pixel_size(struct omap_dss_device *dssdev, |
759 | int pixel_size); | 759 | int pixel_size); |
760 | void omapdss_rfbi_set_data_lines(struct omap_dss_device *dssdev, | ||
761 | int data_lines); | ||
760 | 762 | ||
761 | #endif | 763 | #endif |