From patchwork Thu Feb 8 17:48:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sean Paul X-Patchwork-Id: 871005 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="bIA7TLu1"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="QqL728G6"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zcm1H2fXNz9s75 for ; Fri, 9 Feb 2018 04:49:55 +1100 (AEDT) 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=VWfk1lcIO4GlJiN6aMqnnoM/+fBdfRRxl8kMQcIo57E=; b=bIA7TLu1Zwpxek osFsGCRDkwJldX2mHvKFSJKnWDEwgmRmmfMmJ5oiFGBxXYfTuWcdes39gNXr84W3iGcQLC6xYSeH/ DsRrrLkG2q1c5OKZIA4Eb6zQoHt3iuIdSwHkh1X54S8NnFPhgywVUuB+8/soG+FPfADtY4empTEwL KO+/uidbYMyfl4sI8NwgUNSbd6s88rMit2LGsaJmB2YCqZWBwaIW4hRUSaQnOOnL1I4v5l7QCvJ9p pD2mAuDoxl1FqHE7t+8S41maFVYS+pzLjkYZ6hUOpOnTD13XTUaLlUe4VyvVe6grUUQFyTk7Fg4ye rbQtp11/99yUJKbxy5OA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1ejqKW-0007LI-Ji; Thu, 08 Feb 2018 17:49:52 +0000 Received: from mail-yw0-x241.google.com ([2607:f8b0:4002:c05::241]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ejqKS-00070V-LL for linux-arm-kernel@lists.infradead.org; Thu, 08 Feb 2018 17:49:50 +0000 Received: by mail-yw0-x241.google.com with SMTP id t201so3216800ywf.1 for ; Thu, 08 Feb 2018 09:49:38 -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=HowDGKltAFRV5lmiU8it1BPyND6gSH/9q2xie7NWRWw=; b=QqL728G6coGdPaFnkx2hCTa4I+dRUSKvzPj9VZm2pad6Fx7OhgoLJkoysKssQCU3i2 64TU2FDrgZ1Sn7ja+vAPCjbYpRae0UzH/vP4+eZu2XakWNTgA2o4RlulmDvr6cGToBer x6MZj6v8qE6LFY2l83deWvHe+MZEyTjo/Vn/8= 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=HowDGKltAFRV5lmiU8it1BPyND6gSH/9q2xie7NWRWw=; b=eNyt5ys6rDGrKnkKT9UcBjKGoBzaSNzORRycQbFx04R5vdTchE8laAv5rZQxUWroEW kgNVN/0aHMQzRd8XP/XLV+/wsV5SEcFMXUTbuPV0qsu5n9x9acBK9s4nzxFIdfopDKUS ijTr6YMyJwT/qRqidDbxKGJHcqdHtdDgQtBRpEjrFPGyRZgOA6GzmtYb+jr1ad8khXd6 ZeIL0XilsjhIWZIvuDNK2nSGbCuCLrDGt4godq/n3ufpttfg2bmehz/fvS+68iUCWskq Kgvv69b8gC5Xinsi0VzpptIEeVIn96FDsFQ2i6+rvVOhiM466cYVojnZqA5udl3zvWwA QmMQ== X-Gm-Message-State: APf1xPA8rFLrSs+4ZrKjEk1Vg1AsUChAOos4amZWuYUDwSYI4XsngFJc DYbJAMMqIVz1jF9gA/qu5jbC6g== X-Google-Smtp-Source: AH8x2264z8sE8cGcJcFmx97UFuelAM0xu/aAPi4ke0Yf8X7mC8OFnaeowg4piQFtSnu4AKVp/dT/RQ== X-Received: by 10.37.103.198 with SMTP id b189mr1104075ybc.199.1518112177966; Thu, 08 Feb 2018 09:49:37 -0800 (PST) Received: from rosewood.cam.corp.google.com ([2620:0:1013:11:d3af:69ac:1964:28e8]) by smtp.gmail.com with ESMTPSA id t73sm177220ywg.10.2018.02.08.09.49.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Feb 2018 09:49:37 -0800 (PST) From: Sean Paul To: dri-devel@lists.freedesktop.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH v3 6/6] arm64: dts: rockchip: Specify override mode for kevin panel Date: Thu, 8 Feb 2018 12:48:53 -0500 Message-Id: <20180208174855.55620-7-seanpaul@chromium.org> X-Mailer: git-send-email 2.16.0.rc1.238.g530d649a79-goog In-Reply-To: <20180208174855.55620-1-seanpaul@chromium.org> References: <20180208174855.55620-1-seanpaul@chromium.org> MIME-Version: 1.0 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [2607:f8b0:4002:c05:0:0:0:241 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thierry Reding , Mark Rutland , Brian Norris , Heiko Stuebner , Arnd Bergmann , Catalin Marinas , Jeffy Chen , Will Deacon , Doug Anderson , Eric Anholt , Rob Herring , Sean Paul , =?utf-8?q?St=C3=A9phane_Marchesin?= , Dmitry Torokhov , Matthias Kaehlcke , linux-arm-kernel@lists.infradead.org, Emil Renner Berthing Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org This patch adds an override mode for kevin devices. The mode increases both back porches to allow a pixel clock of 26666kHz as opposed to the 'typical' value of 252750kHz. This is needed to avoid interference with the touch digitizer on these laptops. Changes in v2: - Wrap the timing in display-timings node to match binding (Rob/Thierry) Changes in v3: - Unwrap the timing from display-timings and rename panel-timing (Rob) Cc: Doug Anderson Cc: Eric Anholt Cc: Heiko Stuebner Cc: Jeffy Chen Cc: Rob Herring Cc: Stéphane Marchesin Cc: Thierry Reding Cc: devicetree@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: linux-rockchip@lists.infradead.org Signed-off-by: Sean Paul Tested-by: Enric Balletbo i Serra --- arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts b/arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts index 191a6bcb1704..658411ce37ea 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts @@ -98,6 +98,20 @@ backlight = <&backlight>; power-supply = <&pp3300_disp>; + panel-timing { + clock-frequency = <266604720>; + hactive = <2400>; + hfront-porch = <48>; + hback-porch = <84>; + hsync-len = <32>; + hsync-active = <0>; + vactive = <1600>; + vfront-porch = <3>; + vback-porch = <120>; + vsync-len = <10>; + vsync-active = <0>; + }; + ports { panel_in_edp: endpoint { remote-endpoint = <&edp_out_panel>;