OMAP: DSS2: Abstract away DSI VC information from dsi panel drivers
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 6 repliesIn review
- v13 patches 5 repliesSuperseded
Changes in v2 from the cover letter
-Fix the request_vc/release_vc functions to correctly allocate Virtual Channels -Add function omap_dsi_set_vc_id to set the VC_ID for a given Virtual Channel
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | OMAP: DSS2: Functions to request/release DSI VCsarch/ drivers/ | +56 | 3 replies | |
| 2/3 | OMAP: DSS2: Use request / release calls in Taal for DSI Virtual Channels.drivers/ drivers/ | +71 | 0 replies | |
| 2/3 | OMAP: DSS2: Use request / release calls in Taal for DSI Virtual Channels.drivers/ drivers/ | +71 | 1 reply | |
| 3/3 | OMAP: DSS2: Taal: Use 2 DSI Virtual Channels for Taaldrivers/ | +47 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/3]OMAP: DSS2: Abstract away DSI VC information from dsi panel drivers
The current DSI driver design requires the DSI panel driver to specify the DSI Virtual Channel and the Panel Virtual Channel ID for the transfer of commands and frame data. Out of these, only the second parameter is a property of the Panel.
The DSI Virtual Channel in use by the panel driver ideally shouldn't be provided by the panel driver. The current design leads to the following issues:
-Multiple panels connected to the same DSI interface would be unaware of the VC's in use.
-Hard coded Virtual Channel numbers in panel drivers which is not generic. -No clean way of configuring DSI for panels which need atleast 2 DSI Virtual Channels.
-No clean way of configuring DSI for the special case where a panel may have 2 or VC ID's corresponding to it.
The panel driver should, instead, request for, and release DSI Virtual Channels through calls to the DSI driver. The DSI driver should return VC numbers which the panel can use. The panel driver then uses this VC to either send pixel data, send commands and receive data from the panel. The DSI driver then automatically configures the Virtual Channel source to either Video Port or L4 Slave Port.
This patch set tries to achieve the above design, and make Panel Taal driver use this approach.
Archit Taneja (3):
OMAP: DSS2: Functions to request/release DSI VCs
OMAP: DSS2: Taal: Use 2 DSI Virtual Channels for Taal
OMAP: DSS2: Taal: Use 2 DSI Virtual Channels for Taal
arch/arm/plat-omap/include/plat/display.h | 3 + drivers/video/omap2/displays/panel-taal.c | 145 ++++++++++++++++++---------- drivers/video/omap2/dss/dsi.c | 61 +++++++++++-- 3 files changed, 149 insertions(+), 60 deletions(-)
--
v2:
-Fix the request_vc/release_vc functions to correctly allocate Virtual Channels -Add function omap_dsi_set_vc_id to set the VC_ID for a given Virtual Channel