Received: by 10.223.176.5 with SMTP id f5csp1610585wra; Wed, 31 Jan 2018 08:54:15 -0800 (PST) X-Google-Smtp-Source: AH8x225QHhoFerLjBQFqRPr7Lt+HFMyQU14f0YbxeA6GMDVXomeIclwJYiDzuUFUaU8s6hbT9Hnj X-Received: by 10.98.0.194 with SMTP id 185mr16713624pfa.63.1517417655727; Wed, 31 Jan 2018 08:54:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517417655; cv=none; d=google.com; s=arc-20160816; b=au8ure8/b50OK3w4XB1lajxQaQmOKF6D06dQKnCKCklXsOTWI/Nd2I205Lad31/Vmt 41mdF6GSEFXqf6zqDxFIKLHFwpz3rm6FBc/vIOHyLTLIj0Z5AKrSftseACJPM3dpM0DW 13swJRNfWjPLKIMmeT8Qg+cuOdvTb97QAXFOpAJXNJjLzCoXqXwf7dKp072+Ft5qaIl5 5Xk/VYccfFi+CXQJEvQVnJ9N8jo37IexvFVkUPZ8+nGiQhJ/6ARTvu+e/qCPVGiGuKxN tPocOFeJzaMG+KMGDB7zHLkzwTcPLKMFdypzVeFXFVPmpvXpF0AnOuWjeEy4W32Ndd1O YTCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature:dkim-signature :arc-authentication-results; bh=1um/JT3T5m5aImIdbEM0afsUv9JkVVsTe+NlqLPtQjY=; b=M5X6uRnai7gW1bSYzPXrZATdAUzKcX+YX3c88Frfr21vQ/lNYxCGY1/ro2SqVK+wkz nh3XzGMW6v4oOiykrEDotG9IcbUqk991lbWHz5iH3GSuKevfB1FkmFXnf+vPpm2CGFU1 7YtNqUdeIs+Ggk0CKGYlJx9lK6+/oisgrbUYT3pmAZecIhYQknhHJQqQJwnuN5vIxe+J N3cGCCdQZDcJH8ElajcuUwDQoO16tNJBuc9jrm+9843bGAYuGA+LLRXGhOvp2k4GvN52 K5y3nLaQXNJRXVGXbpGRCra3xWYBPE+NqbDZQzHhsItT9a/Wo65wWqojw9IjbKzITQxO WkXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@google.com header.s=20161025 header.b=SgTivL1T; dkim=fail header.i=@chromium.org header.s=google header.b=oBKi9PQ9; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k66si1877610pgc.97.2018.01.31.08.54.00; Wed, 31 Jan 2018 08:54:15 -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; dkim=fail header.i=@google.com header.s=20161025 header.b=SgTivL1T; dkim=fail header.i=@chromium.org header.s=google header.b=oBKi9PQ9; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753291AbeAaQxC (ORCPT + 99 others); Wed, 31 Jan 2018 11:53:02 -0500 Received: from mail-ua0-f180.google.com ([209.85.217.180]:35316 "EHLO mail-ua0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751842AbeAaQxB (ORCPT ); Wed, 31 Jan 2018 11:53:01 -0500 Received: by mail-ua0-f180.google.com with SMTP id n1so8382800uaa.2 for ; Wed, 31 Jan 2018 08:53:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=1um/JT3T5m5aImIdbEM0afsUv9JkVVsTe+NlqLPtQjY=; b=SgTivL1TDwRcHin/JDamGa5nBZTrBt0LqJDkv8s2K5gJWJuc4chTiGGOc3sbuKtEAZ NuBqVUJj3tYyowXuAX3LcLtQsbtqyxbJAUb18u2lLIP/KiM8piHRcfixzU/xYOz2BawC QjGGN8HxFBcpJX+dG2B4UeoJKzp6uYu+AmdgslTjbmLoTRpf5oEFoq7dtcQQL7NQnUMf YsZ6vhofmkl0owlKhdi8jMTfrw8ebL2nZNB9834wyK0QdTAjv7f7BFbNylBBofpdNukK DT4gkj73GOlKweexeTxDwToIVL+H1Tsv0cjLrUMroH/gFb00l8VWG0mgp7fYdlZx5vvw eloQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=1um/JT3T5m5aImIdbEM0afsUv9JkVVsTe+NlqLPtQjY=; b=oBKi9PQ92Xwfdd8pxoArLdl10oF0t5kENXtZjSrIkqgW3Fvx0eoX58suZliInQSGgk saLucuSqFqIY7iH39T6cprZrLbsw5h6zTPZYqihwht19SNA2gW61tNpTytAsBT55qKLL XHbxqkLFGV6OxgNEe0O7c/Z8WztYijbC3LCJ8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=1um/JT3T5m5aImIdbEM0afsUv9JkVVsTe+NlqLPtQjY=; b=UHn+wVy/446f9f8C/A+Rkngocqr1UoCMazB6cZCUXgr3nmSCVEdronWn5FcTMQgVAH mK1vsCWO/xtQ3DekvgVeiLtmcLplibjThiDinVEEPU3ZfBVp2fRpE7REw7uVStE/IOlY GmAicAm4s4INt5yVIE8zgDhlTaSlwm3yPRKKTSsuTgHhHYSLha0lYRQrL/blaoeO8pIb 25/f5o/ftOZxYXlt3aUP51iebgn4wuZu4hwwxQsWqG5MIWhlUvNH/dWXlKLtHPcF7UP/ fKDTRJsr6Z/IrI19IKxf+JFDSPYR1S/wB2jEHxuiGgaKXVQaexFvT7eaFiwTbZe4vAIt 3fGw== X-Gm-Message-State: AKwxytebI62j3D6bPMuOg00gp6Rprf7EHHQAkCJpizU4epeQpPYcn9kx 3abgd9XTK58LL1zbJ8otolCKVtvP2JFYEjZ6KGC7QQ== X-Received: by 10.176.73.209 with SMTP id f17mr26275333uad.110.1517417579792; Wed, 31 Jan 2018 08:52:59 -0800 (PST) MIME-Version: 1.0 Received: by 10.31.95.139 with HTTP; Wed, 31 Jan 2018 08:52:59 -0800 (PST) In-Reply-To: References: <20180130202913.28724-1-thierry.escande@collabora.com> <20180130202913.28724-34-thierry.escande@collabora.com> <1517403243.14302.1.camel@pengutronix.de> From: Doug Anderson Date: Wed, 31 Jan 2018 08:52:59 -0800 X-Google-Sender-Auth: o5ocRZlgLtz0ByLp4uYQFsxc3LQ Message-ID: Subject: Re: [PATCH v3 33/43] drm/panel: simple: Change mode for Sharp lq123p1jx31 To: Sean Paul Cc: Lucas Stach , Thierry Escande , Archit Taneja , Inki Dae , Thierry Reding , Sandy Huang , David Airlie , Tomasz Figa , Enric Balletbo i Serra , Zain Wang , Lin Huang , dri-devel , Linux Kernel Mailing List , "open list:ARM/Rockchip SoC..." , Yakir Yang , =?UTF-8?Q?=C3=98rjan_Eide?= , Mark Yao , Haixia Shi Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Wed, Jan 31, 2018 at 7:16 AM, Sean Paul wrote: > On Wed, Jan 31, 2018 at 7:54 AM, Lucas Stach wrote: >> Am Dienstag, den 30.01.2018, 21:29 +0100 schrieb Thierry Escande: >>> 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 >> >> This should really switch to a display timing instead of exposing a >> single mode. The display timing has min, typical, max tuples for all >> the timings values, which would allow the attached driver to vary the >> timings inside the allowed bounds if it makes sense. >> >> Trying to hit a specific pixel clock to free up a PLL is exactly one of >> the use cases envisioned for the display timings stuff. >> > > Agreed, I think we had this discussion the first time around. We > should drop this patch. > > Thanks for catching this! Are you sure we should drop this? In order for things to work properly (not generate noise on the digitizer or other EMI), this needs to run at a very specific pixel clock with very specific blanking times. I know that earlier we had slightly different blanking times and Samsung came back and said that there was noise on the digitizer. I could be wrong, but I don't think there's any way currently to be able to specify exactly what timings should be used on a particular board. Don't get be wrong--I think a patch such as this one that claims a single board's timings as the "right" ones for a generic panel is a bit of a hack. ...but at the same time there are no other users of this panel (that I know of) in mainline and the timings presented here are certainly sane timings for this panel. In any case, previous discussion at: https://patchwork.kernel.org/patch/9614603/ ...oh, and looking at the previous discussion reminds me that the timings presented in this here patch are actually not the right ones (they have the right PLL, but the wrong blankings to avoid the noise issues). See -Doug