Received: by 10.223.176.46 with SMTP id f43csp684952wra; Fri, 26 Jan 2018 05:21:57 -0800 (PST) X-Google-Smtp-Source: AH8x226fuK4GSzZ7UGGKuQJSohztH0XQifQjRiCZMMEldpqYXjPFwxv9GTMkk8Ma5aVdB1dlkSF2 X-Received: by 2002:a17:902:8f87:: with SMTP id z7-v6mr14292888plo.242.1516972917680; Fri, 26 Jan 2018 05:21:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516972917; cv=none; d=google.com; s=arc-20160816; b=q5+01gC5eAj+6WeE1WXDU7OiwVsfzOPQK9TkdV7L8j5W1YN3dWgjq4r25R+PjvrX5r Xkkf4Rds5cUUNinJofsy1ikskHGzYnnzTL5UrMQybsDK1TN4cLBVxS1cxvvAjGpB24v5 hGYxwqMbIbEUhnTCP1aisnpfMNaB+XyswAN02wgBI28DQKLAVvMlh2wbHwHbFdKd8CQC B3IRo8o4RhjfkCggJbmOzEXbYyYuZt8VNWuKJ8fEVdjGDTkSFPEyom5z9hD0et3XzEYn 6wTOa3csKBQ1AVIsSTIr2QlwiXDsQfAawD8T6jW1VTFpRQRLWb4pzx8AcDJSy7h10qqX 6M/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-transfert-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=P41aB/IyOiGTJ5od6TNxhFFf6VHO/FzXCl7yNi2NBjo=; b=w4RpFbobulTl7gs6J20ga/hoL3mK0F3LCsu6gYDter9lXwZ8wDmuhm9jixjA8EWf6f +pf/K4dtpICpK+p+ynLq+mMYkGgbkr6SmTNQAQ70/fqDjE8QhpELfNe+UDP1HFWGcnjs 0q4J/Rxl5v/fKUcHfrPq7CzB9U+hHPOk0uVKOmBJ4xaY9UqiWePz3GJy2MCpZOOPpxW/ xSIPgYy6jmlCkHY9xe/VK3TyqnevbI5Gg+kKTg5HlFhdGxy+miqvCa3/eTwgm4uuNUCL wgKYibFfDiX9p7SNkam1xpI2vQxtMMhY+Fl/mR5bWWSh2c2hNMG3AjsRS/3NjTzRvAj6 5j4g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g5-v6si3699332plp.615.2018.01.26.05.21.43; Fri, 26 Jan 2018 05:21:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752455AbeAZNSE (ORCPT + 99 others); Fri, 26 Jan 2018 08:18:04 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:34866 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752408AbeAZNSC (ORCPT ); Fri, 26 Jan 2018 08:18:02 -0500 Received: from localhost.localdomain (unknown [IPv6:2a01:e35:8a7e:4790:a8d7:ca4:7b4f:7f87]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: tescande) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id 80259274800; Fri, 26 Jan 2018 13:18:00 +0000 (GMT) From: Thierry Escande To: Archit Taneja , Inki Dae , Thierry Reding , Sandy Huang , Sean Paul , David Airlie , Tomasz Figa Cc: Haixia Shi , =?UTF-8?q?=C3=98rjan=20Eide?= , Zain Wang , Yakir Yang , Lin Huang , Douglas Anderson , Mark Yao , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, dri-devel@lists.freedesktop.org Subject: [PATCH v2 33/43] drm/panel: simple: Change mode for Sharp lq123p1jx31 Date: Fri, 26 Jan 2018 14:17:00 +0100 Message-Id: <20180126131710.7622-34-thierry.escande@collabora.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180126131710.7622-1-thierry.escande@collabora.com> References: <20180126131710.7622-1-thierry.escande@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Type: text/plain; charset = "utf-8" Content-Transfert-Encoding: 8bit Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sean Paul 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 Signed-off-by: Thierry Escande --- 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 5591984a392b..a4a6ea3ca0e6 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -1742,17 +1742,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 = { -- 2.14.1