drm/exynos/hdmi: add support for 1920x1200@60Hz mode
authorMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 9 Oct 2020 13:05:24 +0000 (15:05 +0200)
committerInki Dae <inki.dae@samsung.com>
Tue, 1 Dec 2020 02:38:29 +0000 (11:38 +0900)
Add clock configuration for 154MHz pixelclock to Exynos542x HDMIPHY,
which is required for 1920x1200@60Hz mode. The PLL configuration data
has been taken from the vendor's kernel tree for the Odroid XU4 board.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_hdmi.c

index dc01c18..39fa5d3 100644 (file)
@@ -522,6 +522,15 @@ static const struct hdmiphy_config hdmiphy_5420_configs[] = {
                        0x54, 0x4B, 0x25, 0x03, 0x00, 0x80, 0x01, 0x80,
                },
        },
+       {
+               .pixel_clock = 154000000,
+               .conf = {
+                       0x01, 0xD1, 0x20, 0x01, 0x40, 0x30, 0x08, 0xCC,
+                       0x8C, 0xE8, 0xC1, 0xD8, 0x45, 0xA0, 0xAC, 0x80,
+                       0x08, 0x80, 0x09, 0x84, 0x05, 0x02, 0x24, 0x86,
+                       0x54, 0x3F, 0x25, 0x03, 0x00, 0x00, 0x01, 0x80,
+               },
+       },
 };
 
 static const struct hdmiphy_config hdmiphy_5433_configs[] = {