diff options
author | Ricardo Neri <ricardo.neri@ti.com> | 2012-03-19 11:30:21 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-05-11 08:15:21 -0400 |
commit | 7c92af16780c614b493c4e8a9f495f9dc8008de4 (patch) | |
tree | 78bf084a14a362aa7253b3d6d3e273c5977e2b6b /drivers | |
parent | 199e7fd6219cac2065a0e7e09d9d505e1f03f29e (diff) |
OMAPDSS: HDMI: OMAP4: Remove invalid I2S settings
According to the most up-to-date documentation from Texas Instruments,
the configuration of High Bitrate Audio is not possible. Also, it is
not possible to set polarity of the I2S Word Select signal. This patch
removes the invalid settings.
Signed-off-by: Ricardo Neri <ricardo.neri@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/omap2/dss/ti_hdmi_4xxx_ip.c | 3 | ||||
-rw-r--r-- | drivers/video/omap2/dss/ti_hdmi_4xxx_ip.h | 5 |
2 files changed, 0 insertions, 8 deletions
diff --git a/drivers/video/omap2/dss/ti_hdmi_4xxx_ip.c b/drivers/video/omap2/dss/ti_hdmi_4xxx_ip.c index e9e8b0d4bddc..a1cbd2fe9889 100644 --- a/drivers/video/omap2/dss/ti_hdmi_4xxx_ip.c +++ b/drivers/video/omap2/dss/ti_hdmi_4xxx_ip.c | |||
@@ -1119,11 +1119,8 @@ void hdmi_core_audio_config(struct hdmi_ip_data *ip_data, | |||
1119 | cfg->freq_sample, 3, 0); | 1119 | cfg->freq_sample, 3, 0); |
1120 | 1120 | ||
1121 | r = hdmi_read_reg(av_base, HDMI_CORE_AV_I2S_IN_CTRL); | 1121 | r = hdmi_read_reg(av_base, HDMI_CORE_AV_I2S_IN_CTRL); |
1122 | r = FLD_MOD(r, cfg->i2s_cfg.en_high_bitrate_aud, 7, 7); | ||
1123 | r = FLD_MOD(r, cfg->i2s_cfg.sck_edge_mode, 6, 6); | 1122 | r = FLD_MOD(r, cfg->i2s_cfg.sck_edge_mode, 6, 6); |
1124 | r = FLD_MOD(r, cfg->i2s_cfg.cbit_order, 5, 5); | ||
1125 | r = FLD_MOD(r, cfg->i2s_cfg.vbit, 4, 4); | 1123 | r = FLD_MOD(r, cfg->i2s_cfg.vbit, 4, 4); |
1126 | r = FLD_MOD(r, cfg->i2s_cfg.ws_polarity, 3, 3); | ||
1127 | r = FLD_MOD(r, cfg->i2s_cfg.justification, 2, 2); | 1124 | r = FLD_MOD(r, cfg->i2s_cfg.justification, 2, 2); |
1128 | r = FLD_MOD(r, cfg->i2s_cfg.direction, 1, 1); | 1125 | r = FLD_MOD(r, cfg->i2s_cfg.direction, 1, 1); |
1129 | r = FLD_MOD(r, cfg->i2s_cfg.shift, 0, 0); | 1126 | r = FLD_MOD(r, cfg->i2s_cfg.shift, 0, 0); |
diff --git a/drivers/video/omap2/dss/ti_hdmi_4xxx_ip.h b/drivers/video/omap2/dss/ti_hdmi_4xxx_ip.h index 9a08fbfdd1c7..ffc08da89cea 100644 --- a/drivers/video/omap2/dss/ti_hdmi_4xxx_ip.h +++ b/drivers/video/omap2/dss/ti_hdmi_4xxx_ip.h | |||
@@ -337,8 +337,6 @@ enum hdmi_audio_blk_strt_end_sig { | |||
337 | }; | 337 | }; |
338 | 338 | ||
339 | enum hdmi_audio_i2s_config { | 339 | enum hdmi_audio_i2s_config { |
340 | HDMI_AUDIO_I2S_WS_POLARITY_LOW_IS_LEFT = 0, | ||
341 | HDMI_AUDIO_I2S_WS_POLARIT_YLOW_IS_RIGHT = 1, | ||
342 | HDMI_AUDIO_I2S_MSB_SHIFTED_FIRST = 0, | 340 | HDMI_AUDIO_I2S_MSB_SHIFTED_FIRST = 0, |
343 | HDMI_AUDIO_I2S_LSB_SHIFTED_FIRST = 1, | 341 | HDMI_AUDIO_I2S_LSB_SHIFTED_FIRST = 1, |
344 | HDMI_AUDIO_I2S_SCK_EDGE_FALLING = 0, | 342 | HDMI_AUDIO_I2S_SCK_EDGE_FALLING = 0, |
@@ -413,11 +411,8 @@ struct hdmi_core_audio_i2s_config { | |||
413 | u8 word_length; | 411 | u8 word_length; |
414 | u8 in_length_bits; | 412 | u8 in_length_bits; |
415 | u8 justification; | 413 | u8 justification; |
416 | u8 en_high_bitrate_aud; | ||
417 | u8 sck_edge_mode; | 414 | u8 sck_edge_mode; |
418 | u8 cbit_order; | ||
419 | u8 vbit; | 415 | u8 vbit; |
420 | u8 ws_polarity; | ||
421 | u8 direction; | 416 | u8 direction; |
422 | u8 shift; | 417 | u8 shift; |
423 | u8 active_sds; | 418 | u8 active_sds; |