Skip to content

OMAP4: DSS2: HDMI: Split hdmi.c in DSS to seperate

[email protected] linux-omap 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10OMAP4: DSS: HDMI: HDMI clean up to pass base_addressdrivers/video/omap2/dss/hdmi.c drivers/video/omap2/dss/hdmi.h+435 -3580 replies
2/10OMAP4: DSS: HDMI: Move pll and video configurationdrivers/video/omap2/dss/dss.h drivers/video/omap2/dss/hdmi.c drivers/video/omap2/dss/hdmi.h+37 -380 replies
3/10OMAP4: DSS: HDMI: Use specific HDMI timings structuredrivers/video/omap2/dss/hdmi.c drivers/video/omap2/dss/hdmi.h+34 -40 replies
4/10OMAP4: DSS: HDMI: Move HDMI IP independent generic headerdrivers/video/omap2/dss/dss.h drivers/video/omap2/dss/hdmi.c drivers/video/omap2/dss/hdmi.h +1 more+95 -710 replies
5/10OMAP4 : DSS : HDMI : Move the EDID definition from HDMIdrivers/video/omap2/dss/hdmi.c drivers/video/omap2/dss/hdmi.h+10 -100 replies
6/10OMAP4: DSS2: HDMI: Split the current HDMI driver to movedrivers/video/omap2/dss/Makefile drivers/video/omap2/dss/hdmi.c drivers/video/omap2/dss/ti_hdmi.h +2 more+780 -7390 replies
7/10OMAP4: DSS2: HDMI: Move the HDMI IP dependent audiodrivers/video/omap2/dss/hdmi.c drivers/video/omap2/dss/ti_hdmi_4xxx_ip.c drivers/video/omap2/dss/ti_hdmi_4xxx_ip.h+283 -2560 replies
8/10OMAP4: DSS: HDMI: Rename the functions in HDMI IP librarydrivers/video/omap2/dss/hdmi.c drivers/video/omap2/dss/ti_hdmi.h drivers/video/omap2/dss/ti_hdmi_4xxx_ip.c+30 -230 replies
9/10OMAP4: DSS2: HDMI: Function pointer approach to calldrivers/video/omap2/dss/dss_features.c drivers/video/omap2/dss/dss_features.h drivers/video/omap2/dss/hdmi.c +1 more+58 -90 replies
10/10OMAP4: DSS: Rename hdmi_omap4_panel.c to hdmi_panel.cdrivers/video/omap2/dss/Makefile drivers/video/omap2/dss/hdmi_panel.c+2 -20 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/10] OMAP4: DSS2: HDMI: Split hdmi.c in DSS to seperate

From: Mythri P K <[email protected]>

HDMI IP block is common between TI OMAP4 Procerssor and Netra processor although the Display subsytem is different. Also the IP block in future OMAP's may differ from the one existing in OMAP4. Thus to reuse the code between these two processors , and maintain the multi omap build functionality in DSS, HDMI IP dependant code is seperated out from hdmi.c and moved to new library file ti_hdmi_4xxx_ip.c. From the DSS dependent HDMI code only the function pointer to functionality/features offered by HDMI is called.

This patch series does the split and also renames hdmi_omap4_panel.c to hdmi_panel.c as that file has nothing specific to OMAP4 and can be reused for other OMAP family of processors as well.

This patch series is based on Tomi's LO-DSS2 master branch.

changes since
V4: Change the description of patch.
Fix the bug to use refsel in the PLL_CFG2.
Pass parameters to copy_hdmi_to_dss_timings by pointer.
V3: Handle the sparse error for set_pll_pwr function
Move audio functions out of hdmi.c to ip file. Rename hdmi_data to ip_data
V2: Rename certain files/function to have standard format.H
Handle scenario when hdmi is disabled.
V1: Add Function pointer approach to call the HDMI IP functions
from DSS HDMI
Mythri P K (10):
OMAP4: DSS: HDMI: HDMI clean up to pass base_address dynamically to
IP dependant functions of HDMI
OMAP4: DSS: HDMI: Move pll and video configuration info to
ip_data structure
OMAP4: DSS: HDMI: Use specific HDMI timings structure instead of
OMAP DSS timings
OMAP4: DSS: HDMI: Move IP independent common header file definition
to generic header file
OMAP4 : DSS : HDMI : Move the EDID portion from HDMI IP header
OMAP4: DSS2: HDMI: Split the HDMI driver to DSS and IP
specific portion.
OMAP4: DSS2: HDMI: Move the HDMI IP dependent audio functions to IP
library
OMAP4: DSS: HDMI: Rename the functions in HDMI IP library to IP
specific name
OMAP4: DSS2: HDMI: Function pointer approach to call HDMI IP
driver function from DSS
OMAP4: DSS: Rename hdmi_omap4_panel.c to hdmi_panel.c

 drivers/video/omap2/dss/Makefile                   |    2 +-
 drivers/video/omap2/dss/dss.h                      |   10 -
 drivers/video/omap2/dss/dss_features.c             |   20 +
 drivers/video/omap2/dss/dss_features.h             |    7 +
 drivers/video/omap2/dss/hdmi.c                     | 1027 ++------------------
 drivers/video/omap2/dss/hdmi.h                     |  631 ------------
 .../omap2/dss/{hdmi_omap4_panel.c => hdmi_panel.c} |    2 +-
 drivers/video/omap2/dss/ti_hdmi.h                  |  123 +++
 drivers/video/omap2/dss/ti_hdmi_4xxx_ip.c          | 1033 ++++++++++++++++++++
 drivers/video/omap2/dss/ti_hdmi_4xxx_ip.h          |  597 +++++++++++
 10 files changed, 1853 insertions(+), 1599 deletions(-)
 delete mode 100644 drivers/video/omap2/dss/hdmi.h
 rename drivers/video/omap2/dss/{hdmi_omap4_panel.c => hdmi_panel.c} (99%)
 create mode 100644 drivers/video/omap2/dss/ti_hdmi.h
 create mode 100644 drivers/video/omap2/dss/ti_hdmi_4xxx_ip.c
 create mode 100644 drivers/video/omap2/dss/ti_hdmi_4xxx_ip.h
Signature · 1 line
1.7.5.4