diff options
author | Ricardo Neri <ricardo.neri@ti.com> | 2012-03-21 12:38:15 -0600 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-05-11 15:17:08 +0300 |
commit | 6ec355d6c79e811a3b7f85ca6b22fa4bd7b1bbfc (patch) | |
tree | 316df760312fd6833c0bcc609e5dd46930cc196f /drivers/video/omap2/dss/dss_features.c | |
parent | 25a653597ee63119a477e9bdeb6b41bd7cd56140 (diff) | |
download | op-kernel-dev-6ec355d6c79e811a3b7f85ca6b22fa4bd7b1bbfc.zip op-kernel-dev-6ec355d6c79e811a3b7f85ca6b22fa4bd7b1bbfc.tar.gz |
OMAPDSS: HDMI: Add an audio configuration function
The generic HDMI driver does not need to know about the specific
settings of a given IP. Hence, it just passes the audio configuration
and the IP library parses such configuration and sets the IP
accordingly. This patch introduces an IP-specific audio configuration
function.
Also, this patch implements the audio config function for OMAP4. The
DMA, format and core config functions are no longer exposed to the
generic HDMI driver as they are IP-specific.
The audio configuration function caters for 16-bit through 24-bit
audio samples with sample rates from 32kHz and up to 192kHz as well
as up to 8 audio channels.
Signed-off-by: Ricardo Neri <ricardo.neri@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/dss_features.c')
-rw-r--r-- | drivers/video/omap2/dss/dss_features.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/dss_features.c b/drivers/video/omap2/dss/dss_features.c index 1c939fb..2627441 100644 --- a/drivers/video/omap2/dss/dss_features.c +++ b/drivers/video/omap2/dss/dss_features.c @@ -578,6 +578,7 @@ static const struct ti_hdmi_ip_ops omap4_hdmi_functions = { .audio_disable = ti_hdmi_4xxx_wp_audio_disable, .audio_start = ti_hdmi_4xxx_audio_start, .audio_stop = ti_hdmi_4xxx_audio_stop, + .audio_config = ti_hdmi_4xxx_audio_config, #endif }; |