Commit 4bafcbc7 authored by Jim Lodes's avatar Jim Lodes Committed by Tomi Valkeinen

OMAPDSS: HDMI5: Change DDC timings

The DDC scl high and low times were set to the minimum values
from the i2c specification, but the i2c specification takes into
account the rise time and fall time to calculate the frequency.
To pass HDMI certification DDC can not exceed 100kHz therefore in
a system where the rise times and fall times are negligible the high
and low times for scl need to be 10us.
Signed-off-by: default avatarJim Lodes <jim.lodes@garmin.com>
Signed-off-by: default avatarJ.D. Schroeder <jay.schroeder@garmin.com>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 08f707ac
...@@ -51,8 +51,8 @@ static void hdmi_core_ddc_init(struct hdmi_core_data *core) ...@@ -51,8 +51,8 @@ static void hdmi_core_ddc_init(struct hdmi_core_data *core)
{ {
void __iomem *base = core->base; void __iomem *base = core->base;
const unsigned long long iclk = 266000000; /* DSS L3 ICLK */ const unsigned long long iclk = 266000000; /* DSS L3 ICLK */
const unsigned ss_scl_high = 4000; /* ns */ const unsigned ss_scl_high = 4600; /* ns */
const unsigned ss_scl_low = 4700; /* ns */ const unsigned ss_scl_low = 5400; /* ns */
const unsigned fs_scl_high = 600; /* ns */ const unsigned fs_scl_high = 600; /* ns */
const unsigned fs_scl_low = 1300; /* ns */ const unsigned fs_scl_low = 1300; /* ns */
const unsigned sda_hold = 1000; /* ns */ const unsigned sda_hold = 1000; /* ns */
......
...@@ -51,8 +51,8 @@ static void hdmi_core_ddc_init(struct hdmi_core_data *core) ...@@ -51,8 +51,8 @@ static void hdmi_core_ddc_init(struct hdmi_core_data *core)
{ {
void __iomem *base = core->base; void __iomem *base = core->base;
const unsigned long long iclk = 266000000; /* DSS L3 ICLK */ const unsigned long long iclk = 266000000; /* DSS L3 ICLK */
const unsigned ss_scl_high = 4000; /* ns */ const unsigned ss_scl_high = 4600; /* ns */
const unsigned ss_scl_low = 4700; /* ns */ const unsigned ss_scl_low = 5400; /* ns */
const unsigned fs_scl_high = 600; /* ns */ const unsigned fs_scl_high = 600; /* ns */
const unsigned fs_scl_low = 1300; /* ns */ const unsigned fs_scl_low = 1300; /* ns */
const unsigned sda_hold = 1000; /* ns */ const unsigned sda_hold = 1000; /* ns */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment