Commit 1d5952a868c3059dd0d431ffde357f1506823f5e

Authored by Tomi Valkeinen
1 parent 5be685faff

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>

Showing 2 changed files with 9 additions and 1 deletions Side-by-side Diff

drivers/video/omap2/dss/rfbi.c
... ... @@ -851,7 +851,13 @@
851 851  
852 852 return 0;
853 853 }
854   -EXPORT_SYMBOL(rfbi_configure);
  854 +
  855 +int 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 +}
  860 +EXPORT_SYMBOL(omap_rfbi_configure);
855 861  
856 862 int omap_rfbi_prepare_update(struct omap_dss_device *dssdev,
857 863 u16 *x, u16 *y, u16 *w, u16 *h)
include/video/omapdss.h
... ... @@ -625,6 +625,8 @@
625 625 int omap_rfbi_update(struct omap_dss_device *dssdev,
626 626 u16 x, u16 y, u16 w, u16 h,
627 627 void (*callback)(void *), void *data);
  628 +int omap_rfbi_configure(struct omap_dss_device *dssdev, int pixel_size,
  629 + int data_lines);
628 630  
629 631 #endif