From: Mythri P K <mythripk@ti.com>
To: linux-omap@vger.kernel.org, tomi.valkeinen@ti.com
Cc: Mythri P K <mythripk@ti.com>
Subject: [PATCH v3 0/9] OMAP4 : DSS2 : HDMI support on OMAP4
Date: Fri, 4 Mar 2011 13:18:18 +0530 [thread overview]
Message-ID: <1299224907-11354-1-git-send-email-mythripk@ti.com> (raw)
Adding HDMI support on OMAP4.
HDMI is a driver that is similar to the VENC or the DSI driver to support
HDMI/DVI sink device.
The current design adheres to the DSS2 architecture.
It is split into the HDMI DSS driver and HDMI panel driver.
HDMI DSS driver (hdmi.c) is responsible for
1.OMAP related configuration such as
1.Listening to the DSS_HDMI irq which signals changes such as hot-plug
detect,physical attach/detach.
2.calculate the PLL values based on the TV resolution that is selected
3.configuration of the Mux/GPIO settings.
2.HDMI configuration based on the parameters read from the EDID of the
sink device such as:
1. Configuration of the PHY registers.
2. Configuration of the PLL registers and setting of the TMDS clock.
3. Configuration of the DDC to read the EDID data when available.
4. Configuration of the core registers to set:
a. set the video registers to the timing and format that
is selected.
b. set the audio registers based on the EDID value read and
user selected parameters.
c. Set the AVI info frame registers to configure the auxilary
info frame which are repeated.
HDMI Panel Driver (hdmi_omap4_panel.c) . This is a panel driver which acts
as the controlling device which synchronizes the audio and video portion of the
driver.[enable ,disable , notification to audio on suspend etc].
It registers hdmi driver to the omap_dss bus and calls the functionality
of the HDMI DSS driver.
It is also provides the interface for users
1.To read the EDID contents and also confiure the timings based on EDID.
2.To configure AVI Inforframe based on the the EDID(sink capability).
Note : Mux handling with hwmod is dependent on pm_runtime_sync ,so mux with hwmod
will be posted once patch series with pm_runtime_sync is done.
verified on 4430 SDP ES2.1 - Penguins on HDMI and DVI TV.
verified on PANDA ES2.1 - Penguins on HDMI and DVI TV.
1. v10 of omap2,3 hwmod DSS adaptation:
http://www.mail-archive.com/linux-omap@vger.kernel.org/msg42914.html
2. v3 of OMAP2PLUS: DSS: Generalize clock names
http://www.mail-archive.com/linux-omap@vger.kernel.org/msg43338.html
3. v3 of OMAP4: hwmod DSS support:
http://www.mail-archive.com/linux-omap@vger.kernel.org/msg43177.html
4. OMAP: DSS2: Adding dss_features for independent core clk divider
https://patchwork.kernel.org/patch/529561/
5. OMAP2PLUS-DSS2-Make-members-of-dss_clk_source-generic
Changes from V2:
1. separated the gamma function from venc/hdmi clock source switch function.
2. Mutex lock fixed.
3. Removed some enum to be used later from the header file.
4. global variables in hdmi.c moved to hdmi structure.
Changes from V1:
1. HDMI to call dss_get_dispc_clock_source instead of directly setting register.
2. All HDMI enumerators are added HDMI prefix.
3. Fixed the mutex position.
Mythri P K (9):
OMAP4 : DSS2 : Add display type HDMI to DSS2
OMAP4 : DSS2 : HDMI: Select between HDMI VENC clock source.
OMAP4 : DSS2 : HDMI: HDMI dispc gamma table disable.
OMAP4 : DSS2 : HDMI: HDMI driver header file addition
OMAP4 : DSS2 : HDMI: HDMI driver header file addition
OMAP4 : DSS2 : HDMI: HDMI panel driver addition in the DSS
OMAP4 : DSS : HDMI: Call to HDMI module init to register driver.
OMAP4 : HDMI : Add HDMI structure in the board file for OMAP4 SDP
OMAP4 : HDMI : Add HDMI structure in the board file for OMAP4 PANDA
arch/arm/mach-omap2/board-4430sdp.c | 75 ++
arch/arm/mach-omap2/board-omap4panda.c | 74 ++
arch/arm/plat-omap/include/plat/display.h | 1 +
drivers/video/omap2/dss/Kconfig | 16 +
drivers/video/omap2/dss/Makefile | 2 +
drivers/video/omap2/dss/core.c | 8 +
drivers/video/omap2/dss/dispc.c | 10 +
drivers/video/omap2/dss/display.c | 8 +
drivers/video/omap2/dss/dss.c | 5 +
drivers/video/omap2/dss/dss.h | 39 +-
drivers/video/omap2/dss/dss_features.c | 2 +-
drivers/video/omap2/dss/hdmi.c | 1332 ++++++++++++++++++++++++++++
drivers/video/omap2/dss/hdmi.h | 449 ++++++++++
drivers/video/omap2/dss/hdmi_omap4_panel.c | 206 +++++
drivers/video/omap2/dss/manager.c | 9 +-
drivers/video/omap2/dss/overlay.c | 6 +-
16 files changed, 2236 insertions(+), 6 deletions(-)
create mode 100644 drivers/video/omap2/dss/hdmi.c
create mode 100644 drivers/video/omap2/dss/hdmi.h
create mode 100644 drivers/video/omap2/dss/hdmi_omap4_panel.c
next reply other threads:[~2011-03-04 7:48 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-04 7:48 Mythri P K [this message]
2011-03-04 7:48 ` [PATCH v3 1/9] OMAP4 : DSS2 : Add display type HDMI to DSS2 Mythri P K
2011-03-04 7:48 ` [PATCH v3 2/9] OMAP4 : DSS2 : HDMI: Select between HDMI VENC clock source Mythri P K
2011-03-04 7:48 ` [PATCH v3 3/9] OMAP4 : DSS2 : HDMI: HDMI dispc gamma table disable Mythri P K
2011-03-04 7:48 ` [PATCH v3 4/9] OMAP4 : DSS2 : HDMI: HDMI driver header file addition Mythri P K
2011-03-07 8:54 ` Tomi Valkeinen
2011-03-04 7:48 ` [PATCH v3 5/9] " Mythri P K
2011-03-07 9:46 ` Tomi Valkeinen
2011-03-08 8:17 ` K, Mythri P
2011-03-08 8:24 ` Tomi Valkeinen
2011-03-04 7:48 ` [PATCH v3 6/9] OMAP4 : DSS2 : HDMI: HDMI panel driver addition in the DSS Mythri P K
2011-03-07 10:12 ` Tomi Valkeinen
2011-03-04 7:48 ` [PATCH v3 7/9] OMAP4 : DSS : HDMI: Call to HDMI module init to register driver Mythri P K
2011-03-04 7:48 ` [PATCH v3 8/9] OMAP4 : HDMI : Add HDMI structure in the board file for OMAP4 SDP Mythri P K
2011-03-04 7:48 ` [PATCH v3 9/9] OMAP4 : HDMI : Add HDMI structure in the board file for OMAP4 PANDA Mythri P K
2011-03-07 8:40 ` [PATCH v3 0/9] OMAP4 : DSS2 : HDMI support on OMAP4 Tomi Valkeinen
2011-03-08 8:08 ` K, Mythri P
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1299224907-11354-1-git-send-email-mythripk@ti.com \
--to=mythripk@ti.com \
--cc=linux-omap@vger.kernel.org \
--cc=tomi.valkeinen@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).