aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2011-04-29 08:57:01 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2011-05-12 12:39:50 -0400
commit1d5952a868c3059dd0d431ffde357f1506823f5e (patch)
treec7639df6089f6aee63781c1486f28aea066ecae9
parent5be685faff2b75fa015832c5137bbb5513965104 (diff)
OMAP: DSS2: RFBI: add omap_rfbi_configure
Add omap_rfbi_configure() which the panel driver can use to reconfigure the data element size and the number of data lines in the RFBI bus. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
-rw-r--r--drivers/video/omap2/dss/rfbi.c8
-rw-r--r--include/video/omapdss.h2
2 files changed, 9 insertions, 1 deletions
diff --git a/drivers/video/omap2/dss/rfbi.c b/drivers/video/omap2/dss/rfbi.c
index 1c19d174facb..155caf02bcad 100644
--- a/drivers/video/omap2/dss/rfbi.c
+++ b/drivers/video/omap2/dss/rfbi.c
@@ -851,7 +851,13 @@ int rfbi_configure(int rfbi_module, int bpp, int lines)
851 851
852 return 0; 852 return 0;
853} 853}
854EXPORT_SYMBOL(rfbi_configure); 854
855int omap_rfbi_configure(struct omap_dss_device *dssdev, int pixel_size,
856 int data_lines)
857{
858 return rfbi_configure(dssdev->phy.rfbi.channel, pixel_size, data_lines);
859}
860EXPORT_SYMBOL(omap_rfbi_configure);
855 861
856int omap_rfbi_prepare_update(struct omap_dss_device *dssdev, 862int omap_rfbi_prepare_update(struct omap_dss_device *dssdev,
857 u16 *x, u16 *y, u16 *w, u16 *h) 863 u16 *x, u16 *y, u16 *w, u16 *h)
diff --git a/include/video/omapdss.h b/include/video/omapdss.h
index 943c0e85f2fc..b1b5ba55976e 100644
--- a/include/video/omapdss.h
+++ b/include/video/omapdss.h
@@ -625,5 +625,7 @@ int omap_rfbi_prepare_update(struct omap_dss_device *dssdev,
625int omap_rfbi_update(struct omap_dss_device *dssdev, 625int omap_rfbi_update(struct omap_dss_device *dssdev,
626 u16 x, u16 y, u16 w, u16 h, 626 u16 x, u16 y, u16 w, u16 h,
627 void (*callback)(void *), void *data); 627 void (*callback)(void *), void *data);
628int omap_rfbi_configure(struct omap_dss_device *dssdev, int pixel_size,
629 int data_lines);
628 630
629#endif 631#endif