Skip to content

OMAPDSS: Support multiple DPI instances

Archit Taneja linux-fbdev linux-omap 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest7 patches 3 repliesIn review

Changes in v3 from the cover letter

- Make indexes in port lists not depend on DPI and SDI CONFIGs.
- Cleaner code in dss_init_ports/uninit_ports.
- Split up the patch which creates multi DPI instances.
- Switch to a simpler way of extracting DPI driver data from dssdev.
- Change some of the dss-of fucntions, such that omapdss_of_find_source_for_first_ep is simplified.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7OMAPDSS: DPI: Use DPI driver datadrivers/video/fbdev/omap2/dss/dpi.c+107 -800 replies
2/7OMAPDSS: DPI: Allocate driver datadrivers/video/fbdev/omap2/dss/dpi.c drivers/video/fbdev/omap2/dss/dss.c drivers/video/fbdev/omap2/dss/dss.h+36 -180 replies
3/7OMAPDSS: DPI: Store dpi_data pointer in the DT port's datadrivers/video/fbdev/omap2/dss/dpi.c drivers/video/fbdev/omap2/dss/dss.c drivers/video/fbdev/omap2/dss/dss.h+43 -80 replies
4/7OMAPDSS: DSS: init dss ports cleanlydrivers/video/fbdev/omap2/dss/dss.c drivers/video/fbdev/omap2/dss/dss.h drivers/video/fbdev/omap2/dss/sdi.c+93 -161 reply
5/7OMAPDSS: DT: Get source endpoint by matching reg-iddrivers/video/fbdev/omap2/displays-new/encoder-tfp410.c drivers/video/fbdev/omap2/displays-new/encoder-tpd12s015.c drivers/video/fbdev/omap2/dss/dss-of.c +3 more+66 -220 replies
6/7OMAPDSS: DPI: Add support for multiple instancesdrivers/video/fbdev/omap2/dss/dpi.c+23 -31 reply
7/7omapdss: DSS: add reg-id param to dpi_select_sourcedrivers/video/fbdev/omap2/dss/dpi.c drivers/video/fbdev/omap2/dss/dss.c drivers/video/fbdev/omap2/dss/dss.h+8 -80 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/7] OMAPDSS: Support multiple DPI instances

DSS on DRA7x has 3 DPI outputs. In order to get them to work. We need to make the DPI driver support multiple DPI instances. We also need to tweak the DT parsing done to match an encoder/connector/panel driver to find the corresponding omapdss output. This series tries to achieve the above 2 tasks.

Changes in v3:

- Make indexes in port lists not depend on DPI and SDI CONFIGs.
- Cleaner code in dss_init_ports/uninit_ports.
- Split up the patch which creates multi DPI instances.
- Switch to a simpler way of extracting DPI driver data from dssdev.
- Change some of the dss-of fucntions, such that omapdss_of_find_source_for_first_ep is simplified.

Archit Taneja (7):
OMAPDSS: DPI: Use DPI driver data
OMAPDSS: DPI: Allocate driver data
OMAPDSS: DPI: Store dpi_data pointer in the DT port's data
OMAPDSS: DSS: init dss ports cleanly
OMAPDSS: DT: Get source endpoint by matching reg-id
OMAPDSS: DPI: Add support for multiple instances
omapdss: DSS: add reg-id param to dpi_select_source

 .../fbdev/omap2/displays-new/encoder-tfp410.c      |   1 +
 .../fbdev/omap2/displays-new/encoder-tpd12s015.c   |   1 +
 drivers/video/fbdev/omap2/dss/dpi.c                | 259 ++++++++++++++-------
 drivers/video/fbdev/omap2/dss/dss-of.c             |  58 +++--
 drivers/video/fbdev/omap2/dss/dss.c                | 108 +++++++--
 drivers/video/fbdev/omap2/dss/dss.h                |  34 ++-
 drivers/video/fbdev/omap2/dss/output.c             |  19 +-
 drivers/video/fbdev/omap2/dss/sdi.c                |   2 +-
 include/video/omapdss.h                            |   5 +-
 9 files changed, 354 insertions(+), 133 deletions(-)
Signature · 1 line
1.8.3.2