Skip to content

Commit

Permalink
Merge pull request #63 from dsd/odroid-3.8.y
Browse files Browse the repository at this point in the history
exynos-drm: add 85.5MHz pixel clock HDMI PHY config for Exynos4412
  • Loading branch information
mdrjr committed Oct 10, 2014
2 parents fc138bc + 6981136 commit 3bcdf52
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion drivers/gpu/drm/exynos/exynos_hdmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,15 @@ static const struct hdmiphy_config hdmiphy_v14_configs[] = {
0x54, 0x93, 0x24, 0x01, 0x00, 0x00, 0x01, 0x80,
},
},
{
.pixel_clock = 85500000,
.conf = {
0x01, 0xd1, 0x24, 0x11, 0x40, 0x40, 0xd0, 0x08,
0x84, 0xa0, 0xd6, 0xd8, 0x45, 0xa0, 0xac, 0x80,
0x08, 0x80, 0x11, 0x04, 0x02, 0x22, 0x44, 0x86,
0x54, 0x90, 0x24, 0x01, 0x00, 0x00, 0x01, 0x80,
},
},
{
.pixel_clock = 106500000,
.conf = {
Expand Down Expand Up @@ -1765,7 +1774,7 @@ static void hdmi_v14_mode_set(struct hdmi_context *hdata,
int hcorrect = 0;
int vcorrect = 0;

if ((m->vdisplay == 768 && m->hdisplay == 1024) || (m->vdisplay == 1024 && m->hdisplay == 1280)) {
if (m->vdisplay == 768 || m->vdisplay == 1024) {
pr_info("exynos-drm: Applying 257px timings hack\n");
hcorrect = 257;
vcorrect = 1;
Expand Down

0 comments on commit 3bcdf52

Please sign in to comment.