linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/11] omapdss: HDMI: Refactor driver for easier addition of OMAP5/DRA7 hdmi IP
@ 2013-09-17  7:18 Archit Taneja
  2013-09-17  7:18 ` [PATCH 01/11] omapdss: HDMI: create a hdmi wrapper library Archit Taneja
                   ` (9 more replies)
  0 siblings, 10 replies; 15+ messages in thread
From: Archit Taneja @ 2013-09-17  7:18 UTC (permalink / raw)
  To: tomi.valkeinen; +Cc: linux-omap, linux-fbdev, Archit Taneja

The HDMI IP in OMAP4 DSS is present in a few other TI SoCs which don't have a
Display Subsystem similar to what's in OMAP. The original driver was designed
to provide ops such that it could be plugged into a different display subsytem
in some other SoC. These other SoCs, however, never got their baseport code
upstreamed, and the HDMI IP remains exclusive to OMAP DSS.

Refactor the code such that HDMI sub blocks(wrapper, PLL, PHY) are made into
libraries. The HDMI core IP(the encoder) is the only block which varies between
OMAP4 and OMAP5/DRA7 IPs. The rest can be shared by the 2 HDMI drivers.

This will allow more code reuse between the 2 HDMI drivers, and allow easier
addition of the OMAP5/DRA7 HDMI driver. The driver is also simplified now as it
doesn't need to provide ops to different display subsystems.

The new driver needs an address space split according to the HDMI sub blocks.
This requires us to change the OMAP4 hwmod data, or ensure that we add a split
address space when we add support for DSS in DT.

The last patch in the series splits the address space in omap4 hwmod data. If
hwmod changes are disregarded. The driver can temporarily be hacked to contain
the base addresses.

Archit Taneja (11):
  omapdss: HDMI: create a hdmi wrapper library
  omapdss: HDMI: create a HDMI PLL library
  omapdss: HDMI: create a PHY library
  omapdss: HDMI: Use OMAP4 HDMI core functions directly and remove
    hdmi_ip_ops
  omapdss: HDMI: remove hdmi_ip_data struct
  omapdss: HDMI: Clean up the header files
  omapdss: HDMI: add HDMI wrapper IRQ flags
  omapdss: HDMI: Rename hdmi driver files to nicer names
  omapdss: OMAP4: HDMI: remove unnecessary edid macros
  omapdss: HDMI: move common functions to a separate file
  [experimental] arm: omap: omap4 hwmod data: Split hdmi address space

 arch/arm/mach-omap2/omap_hwmod_44xx_data.c |   19 +
 drivers/video/omap2/dss/Makefile           |    3 +-
 drivers/video/omap2/dss/core.c             |    4 +-
 drivers/video/omap2/dss/dss.h              |    4 +-
 drivers/video/omap2/dss/dss_features.c     |   44 -
 drivers/video/omap2/dss/dss_features.h     |    8 -
 drivers/video/omap2/dss/hdmi.c             | 1184 ----------------------
 drivers/video/omap2/dss/hdmi4.c            |  696 +++++++++++++
 drivers/video/omap2/dss/hdmi4_core.c       | 1016 +++++++++++++++++++
 drivers/video/omap2/dss/hdmi4_core.h       |  278 ++++++
 drivers/video/omap2/dss/hdmi_common.c      |  423 ++++++++
 drivers/video/omap2/dss/hdmi_phy.c         |  142 +++
 drivers/video/omap2/dss/hdmi_pll.c         |  212 ++++
 drivers/video/omap2/dss/hdmi_wp.c          |  254 +++++
 drivers/video/omap2/dss/ti_hdmi.h          |  403 ++++++--
 drivers/video/omap2/dss/ti_hdmi_4xxx_ip.c  | 1477 ----------------------------
 drivers/video/omap2/dss/ti_hdmi_4xxx_ip.h  |  488 ---------
 17 files changed, 3377 insertions(+), 3278 deletions(-)
 delete mode 100644 drivers/video/omap2/dss/hdmi.c
 create mode 100644 drivers/video/omap2/dss/hdmi4.c
 create mode 100644 drivers/video/omap2/dss/hdmi4_core.c
 create mode 100644 drivers/video/omap2/dss/hdmi4_core.h
 create mode 100644 drivers/video/omap2/dss/hdmi_common.c
 create mode 100644 drivers/video/omap2/dss/hdmi_phy.c
 create mode 100644 drivers/video/omap2/dss/hdmi_pll.c
 create mode 100644 drivers/video/omap2/dss/hdmi_wp.c
 delete mode 100644 drivers/video/omap2/dss/ti_hdmi_4xxx_ip.c
 delete mode 100644 drivers/video/omap2/dss/ti_hdmi_4xxx_ip.h

-- 
1.8.1.2


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2013-09-18  7:00 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-17  7:18 [PATCH 00/11] omapdss: HDMI: Refactor driver for easier addition of OMAP5/DRA7 hdmi IP Archit Taneja
2013-09-17  7:18 ` [PATCH 01/11] omapdss: HDMI: create a hdmi wrapper library Archit Taneja
2013-09-17  7:18 ` [PATCH 02/11] omapdss: HDMI: create a HDMI PLL library Archit Taneja
2013-09-17  9:38   ` Mike Turquette
2013-09-17 10:02     ` Tomi Valkeinen
2013-09-17 19:40       ` Mike Turquette
2013-09-18  7:00         ` Tomi Valkeinen
2013-09-17  7:18 ` [PATCH 03/11] omapdss: HDMI: create a PHY library Archit Taneja
2013-09-17  7:18 ` [PATCH 04/11] omapdss: HDMI: Use OMAP4 HDMI core functions directly and remove hdmi_ip_ops Archit Taneja
2013-09-17  7:18 ` [PATCH 05/11] omapdss: HDMI: remove hdmi_ip_data struct Archit Taneja
2013-09-17  7:18 ` [PATCH 06/11] omapdss: HDMI: Clean up the header files Archit Taneja
2013-09-17  7:18 ` [PATCH 07/11] omapdss: HDMI: add HDMI wrapper IRQ flags Archit Taneja
2013-09-17  7:18 ` [PATCH 09/11] omapdss: OMAP4: HDMI: remove unnecessary edid macros Archit Taneja
2013-09-17  7:18 ` [PATCH 10/11] omapdss: HDMI: move common functions to a separate file Archit Taneja
2013-09-17  7:18 ` [PATCH 11/11] [experimental] arm: omap: omap4 hwmod data: Split hdmi address space Archit Taneja

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).