From: Shirish S Subject: [PATCH] drm/exynos: add phy settings for exynos5420 Date: Fri, 23 May 2014 14:21:03 +0530 Message-ID: <1400835063-12294-1-git-send-email-s.shirish@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) by gabe.freedesktop.org (Postfix) with ESMTP id B75246E512 for ; Fri, 23 May 2014 01:52:24 -0700 (PDT) Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N60006C7RBBP490@mailout1.samsung.com> for dri-devel@lists.freedesktop.org; Fri, 23 May 2014 17:52:23 +0900 (KST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org, inki.dae@samsung.com Cc: shirish@chromium.org, Shirish S List-Id: dri-devel@lists.freedesktop.org This patch adds phy settings of the below mentioned pixel clocks in Exynos5420: 85.5 MHz - 1366x768@60Hz 162 MHz - 1600x1200@60Hz Signed-off-by: Shirish S --- drivers/gpu/drm/exynos/exynos_hdmi.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c index e05c86a..07ba387 100644 --- a/drivers/gpu/drm/exynos/exynos_hdmi.c +++ b/drivers/gpu/drm/exynos/exynos_hdmi.c @@ -523,6 +523,15 @@ static const struct hdmiphy_config hdmiphy_5420_configs[] = { }, }, { + .pixel_clock = 85500000, + .conf = { + 0x01, 0xd1, 0x24, 0x11, 0x40, 0x40, 0xd0, 0xc8, + 0x84, 0xe8, 0xd6, 0xd8, 0x45, 0xa0, 0xac, 0x80, + 0x08, 0x80, 0x09, 0x84, 0x05, 0x02, 0x24, 0x86, + 0x54, 0x90, 0x24, 0x01, 0x00, 0x00, 0x01, 0x80, + }, + }, + { .pixel_clock = 88750000, .conf = { 0x01, 0xD1, 0x25, 0x11, 0x40, 0x18, 0xFF, 0xC8, @@ -576,6 +585,15 @@ static const struct hdmiphy_config hdmiphy_5420_configs[] = { 0x54, 0x4B, 0x25, 0x03, 0x00, 0x80, 0x01, 0x80, }, }, + { + .pixel_clock = 162000000, + .conf = { + 0x01, 0x54, 0x87, 0x05, 0x40, 0x01, 0x00, 0xc8, + 0x82, 0xc8, 0xcb, 0xd8, 0x45, 0xa0, 0xac, 0x80, + 0x08, 0x80, 0x09, 0x84, 0x05, 0x02, 0x24, 0x86, + 0x54, 0x4c, 0x24, 0x01, 0x00, 0x00, 0x01, 0x80, + }, + }, }; static struct hdmi_driver_data exynos5420_hdmi_driver_data = { -- 1.7.9.5