Skip to content

Commit 3bcdf52

Browse files
committed
Merge pull request #63 from dsd/odroid-3.8.y
exynos-drm: add 85.5MHz pixel clock HDMI PHY config for Exynos4412
2 parents fc138bc + 6981136 commit 3bcdf52

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

drivers/gpu/drm/exynos/exynos_hdmi.c

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,15 @@ static const struct hdmiphy_config hdmiphy_v14_configs[] = {
550550
0x54, 0x93, 0x24, 0x01, 0x00, 0x00, 0x01, 0x80,
551551
},
552552
},
553+
{
554+
.pixel_clock = 85500000,
555+
.conf = {
556+
0x01, 0xd1, 0x24, 0x11, 0x40, 0x40, 0xd0, 0x08,
557+
0x84, 0xa0, 0xd6, 0xd8, 0x45, 0xa0, 0xac, 0x80,
558+
0x08, 0x80, 0x11, 0x04, 0x02, 0x22, 0x44, 0x86,
559+
0x54, 0x90, 0x24, 0x01, 0x00, 0x00, 0x01, 0x80,
560+
},
561+
},
553562
{
554563
.pixel_clock = 106500000,
555564
.conf = {
@@ -1765,7 +1774,7 @@ static void hdmi_v14_mode_set(struct hdmi_context *hdata,
17651774
int hcorrect = 0;
17661775
int vcorrect = 0;
17671776

1768-
if ((m->vdisplay == 768 && m->hdisplay == 1024) || (m->vdisplay == 1024 && m->hdisplay == 1280)) {
1777+
if (m->vdisplay == 768 || m->vdisplay == 1024) {
17691778
pr_info("exynos-drm: Applying 257px timings hack\n");
17701779
hcorrect = 257;
17711780
vcorrect = 1;

0 commit comments

Comments
 (0)