From: Ricardo Neri <ricardo.neri@ti.com>
To: linux-omap@vger.kernel.org, tomi.valkeinen@ti.com, mythripk@ti.com
Cc: Ricardo Neri <ricardo.neri@ti.com>
Subject: [PATCH 2/5] OMAP4: DSS2: HDMI: Add DSS feature for CTS calculation
Date: Thu, 5 May 2011 02:01:31 -0500 [thread overview]
Message-ID: <1304578894-23967-3-git-send-email-ricardo.neri@ti.com> (raw)
In-Reply-To: <1304578894-23967-1-git-send-email-ricardo.neri@ti.com>
CTS and N parameters are used to regenerate the audio clock from
the TMDS clock at the HDMI sink. In OMAP4430 ES1.0 version
the calculation of the CTS parameter is done by the HDMI IP
(hardware mode) while in others it must be done by the HDMI driver
(software mode). A DSS feature is used to indicate the HDMI
driver which mode is used.
Signed-off-by: Ricardo Neri <ricardo.neri@ti.com>
---
drivers/video/omap2/dss/dss_features.c | 3 ++-
drivers/video/omap2/dss/dss_features.h | 1 +
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/drivers/video/omap2/dss/dss_features.c b/drivers/video/omap2/dss/dss_features.c
index 6c57af4..cfcc12b 100644
--- a/drivers/video/omap2/dss/dss_features.c
+++ b/drivers/video/omap2/dss/dss_features.c
@@ -308,7 +308,8 @@ static struct omap_dss_features omap4_dss_features = {
.has_feature =
FEAT_GLOBAL_ALPHA | FEAT_PRE_MULT_ALPHA |
FEAT_MGR_LCD2 | FEAT_GLOBAL_ALPHA_VID1 |
- FEAT_CORE_CLK_DIV | FEAT_LCD_CLK_SRC,
+ FEAT_CORE_CLK_DIV | FEAT_LCD_CLK_SRC |
+ FEAT_HDMI_CTS_SWMODE,
.num_mgrs = 3,
.num_ovls = 3,
diff --git a/drivers/video/omap2/dss/dss_features.h b/drivers/video/omap2/dss/dss_features.h
index 12e9c4e..a732c24 100644
--- a/drivers/video/omap2/dss/dss_features.h
+++ b/drivers/video/omap2/dss/dss_features.h
@@ -40,6 +40,7 @@ enum dss_feat_id {
/* Independent core clk divider */
FEAT_CORE_CLK_DIV = 1 << 11,
FEAT_LCD_CLK_SRC = 1 << 12,
+ FEAT_HDMI_CTS_SWMODE = 1 << 13,
};
/* DSS register field id */
--
1.7.1
next prev parent reply other threads:[~2011-05-05 7:01 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-05 7:01 [PATCH 0/5] OMAP4: DSS2: HDMI: Add support for audio Ricardo Neri
2011-05-05 7:01 ` [PATCH 1/5] OMAP4: DSS2: Create a DSS features structure for OMAP4430 ES1.0 Ricardo Neri
2011-05-05 7:01 ` Ricardo Neri [this message]
2011-05-05 7:01 ` [PATCH 3/5] OMAP4: DSS2: HDMI: Add enums and structures for audio Ricardo Neri
2011-05-05 7:01 ` [PATCH 4/5] OMAP4: DSS2: HDMI: Add functionality for audio configuration Ricardo Neri
2011-05-05 7:01 ` [PATCH 5/5] OMAP4: DSS2: HDMI: Implement ASoC Codec driver for HDMI audio Ricardo Neri
2011-05-17 18:00 ` [PATCH 0/5] OMAP4: DSS2: HDMI: Add support for audio Ricardo Neri
2011-05-18 6:13 ` Tomi Valkeinen
2011-05-19 4:36 ` Ricardo Neri
2011-05-19 4:58 ` Tomi Valkeinen
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=1304578894-23967-3-git-send-email-ricardo.neri@ti.com \
--to=ricardo.neri@ti.com \
--cc=linux-omap@vger.kernel.org \
--cc=mythripk@ti.com \
--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).