From patchwork Fri Mar 10 04:32:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sean Paul X-Patchwork-Id: 9614603 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3105B60414 for ; Fri, 10 Mar 2017 04:34:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 221DD285A9 for ; Fri, 10 Mar 2017 04:34:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 15596286EF; Fri, 10 Mar 2017 04:34:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9CC89285A9 for ; Fri, 10 Mar 2017 04:34:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=X3duUHgqnwIW5FqAIrf9Anex6k+tcq33xZLJ86wAn6I=; b=tCDKZa+qZIRaFs CWznQXN8gh8WctMzjNUtuQENj/dwV5Dt7XRASqVf5bxTyDtFuXM5AJEaEvpm6v50LNCFA9h42YZP5 rUckO9y1SMEh011+iyyzLCHdgROgz0ble4+kzB+S7n7emw5OEsb/vqW2kuLRUfm/QXI1L1k2LQxkz Whvgi1iHLb8kXqfRmpaXrBtScIMF30OPdf9p9CDUA+O8DhtHgBkVEqCOSmKA4v/bYlpgDYypP1MmI UYvIFg13/miKzptQvOuQmHNuvzVSR1WIPeQRdH3smI/aSuy+RwHGCcvV7ewaZ+pZC3L4Q4GzE1d0i vjOSDeP3tG+JAUSY8LvA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cmCFx-0006l5-3d; Fri, 10 Mar 2017 04:34:21 +0000 Received: from mail-qk0-x231.google.com ([2607:f8b0:400d:c09::231]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cmCFs-0006gT-Nb for linux-rockchip@lists.infradead.org; Fri, 10 Mar 2017 04:34:18 +0000 Received: by mail-qk0-x231.google.com with SMTP id v125so148855611qkh.2 for ; Thu, 09 Mar 2017 20:33:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lKkbL+e4C0GbrSaUIK3SyWW1nMExi7+rIElaANRtQUA=; b=kxrplFZEzS5JqasIQ9VVa0Zm7ON7RdTKfpU36/yoYfGGrR1SZdZzWgu8fifwXl4eGe FkPypAT4EN9NdVIqhzEVewIHovOh0h7jQ1mqvoiv0DNrP4ctDw4KF+u0pTq/oGksNQrS pH6lCdO+8XHGZcroIXjBe/tTq7XnQ01c1O9vQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lKkbL+e4C0GbrSaUIK3SyWW1nMExi7+rIElaANRtQUA=; b=VPMjSGWW1Snh1Od1k7sOZo53Fe1LUQakgk4XHlqrbYHvT/Wq7DEDuYJyQdOLFQE1SD 2uKDeKZ6wlS3PXGm2WNyhvkgv8VmsbsuEpDiCOsBcWb9Bpf4HuWI10fGJHLyc4ni7qfm eD0Lo2WnSiIAQi+PUoY8iABoi3asiEFKWWSy4KJIPL3sOHgjTMPOYgSnrCueH/eY8Li/ 4ZYgIMkypCUqhgm388q9FFTtX3vzLkEmNmENwrDPYa57rdbJ/MTaoFT4VzrIeveAnJqt yuDmhDR7AY31INP7mxueeOlkJCAjUMZ96HgAgNanVyYcyuXm9P/Acwj7SbgsdXqB6v6M koMQ== X-Gm-Message-State: AFeK/H3rGyW5GWto8lBbNVBA5gWJU/mSXSVRH7eFR4dumnFJvNAjTJ4BTj2E0L94C83g8rAu X-Received: by 10.55.56.131 with SMTP id f125mr18142746qka.203.1489120435366; Thu, 09 Mar 2017 20:33:55 -0800 (PST) Received: from boxwood.roam.corp.google.com (cpe-75-189-128-87.nc.res.rr.com. [75.189.128.87]) by smtp.gmail.com with ESMTPSA id n19sm5697731qtn.35.2017.03.09.20.33.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 09 Mar 2017 20:33:54 -0800 (PST) From: Sean Paul To: linux-rockchip@lists.infradead.org, dri-devel@lists.freedesktop.org Subject: [PATCH 01/41] drm/panel: simple: Change mode for Sharp lq123p1jx31 Date: Thu, 9 Mar 2017 23:32:16 -0500 Message-Id: <20170310043305.17216-2-seanpaul@chromium.org> X-Mailer: git-send-email 2.12.0.246.ga2ecc84866-goog In-Reply-To: <20170310043305.17216-1-seanpaul@chromium.org> References: <20170310043305.17216-1-seanpaul@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170309_203416_849407_B0115C9A X-CRM114-Status: GOOD ( 10.68 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Chris Zhong , =?UTF-8?q?St=C3=A9phane=20Marchesin?= , David Airlie , Thierry Reding , Sean Paul Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Change the mode for Sharp lq123p1jx31 panel to something more rockchip-friendly such that we can use the fixed PLLs to generate the pixel clock Cc: Chris Zhong Cc: Stéphane Marchesin Signed-off-by: Sean Paul --- drivers/gpu/drm/panel/panel-simple.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 89eb0422821c..787b4d143220 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -1598,17 +1598,18 @@ static const struct panel_desc sharp_lq101k1ly04 = { }; static const struct drm_display_mode sharp_lq123p1jx31_mode = { - .clock = 252750, + .clock = 266667, .hdisplay = 2400, .hsync_start = 2400 + 48, .hsync_end = 2400 + 48 + 32, - .htotal = 2400 + 48 + 32 + 80, + .htotal = 2400 + 48 + 32 + 139, .vdisplay = 1600, .vsync_start = 1600 + 3, .vsync_end = 1600 + 3 + 10, - .vtotal = 1600 + 3 + 10 + 33, + .vtotal = 1600 + 3 + 10 + 84, .vrefresh = 60, .flags = DRM_MODE_FLAG_NVSYNC | DRM_MODE_FLAG_NHSYNC, + .type = DRM_MODE_TYPE_PREFERRED | DRM_MODE_TYPE_DRIVER, }; static const struct panel_desc sharp_lq123p1jx31 = {