From patchwork Tue Feb 6 16:56:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sean Paul X-Patchwork-Id: 10203499 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 898EE60247 for ; Tue, 6 Feb 2018 16:57:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6763728173 for ; Tue, 6 Feb 2018 16:57:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 59CD2286C7; Tue, 6 Feb 2018 16:57:16 +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=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5617628173 for ; Tue, 6 Feb 2018 16:57:15 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 97BB06E41C; Tue, 6 Feb 2018 16:57:14 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-yw0-x241.google.com (mail-yw0-x241.google.com [IPv6:2607:f8b0:4002:c05::241]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1A7A76E41C for ; Tue, 6 Feb 2018 16:57:13 +0000 (UTC) Received: by mail-yw0-x241.google.com with SMTP id u17so1790694ywg.9 for ; Tue, 06 Feb 2018 08:57:13 -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=gJ4EMSMOalB1xnIX9vFV8fY3VXPHhFUP6V8jUWW/e6Y=; b=SeiSGFZVnfxtMsoNX7S/zCB/5ZvAx89DP8QBQrxgozyMQRE9otfAL0Fx2qnNkXWFK+ ZdgfaOfxgKYa0BIukwdHZf2SOWpXb6KW3beeCxRPidu3IOf3ncaDZi7ZXOeDbaXckplt 2147huLSjdx14E7Yk3eAk1v3S8nQ/u+2x6R5M= 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=gJ4EMSMOalB1xnIX9vFV8fY3VXPHhFUP6V8jUWW/e6Y=; b=Gv5VSiUiMgsrlnJl9bB8n9dhDEJGilJXinPwjF5jClScO6XXiGbr1h7sgXIJ2o6/ik hePfM2b90n/XYRPC2tixRd4ibCaY7qaIwC/qm4gddlKzErc2rIHOCHM5qFK7EI1DsuD3 ips8wETWYOjDLTFOn7DtLPOqnuk293GLECrqqrx0rcsEB7Ui9PGjAPrQOEGZVwmaQFED w965qd/P1VxHnqr3OZq3gz5uUgozYC6Z3+iRsxRYN5D/biR2SCxXJb6AXicV/N2QgGzO cQ/QCtMPUY24jDLPvprDqUHSpJiIzzto18js0b/EhGCHh1iSm8kfwGpL7UxzeFnROzU+ 6Odw== X-Gm-Message-State: APf1xPCrTXRL0yB7jSdb52agmLgMuGr9bJtH1pVO1SZ1MLF7HLjAFzZ7 JXHbx2vRsU7mFZE2MXQwVosXN03e0ls= X-Google-Smtp-Source: AH8x227EYyYQxjNTFGclM5aNDb3Ll0PFwpnFTL6DU2aTyK1Q9IMof9gUuZGV+MoLYkjh37JlilnBcA== X-Received: by 10.129.239.14 with SMTP id o14mr1875952ywm.193.1517936232224; Tue, 06 Feb 2018 08:57:12 -0800 (PST) Received: from rosewood.cam.corp.google.com ([2620:0:1013:11:d3af:69ac:1964:28e8]) by smtp.gmail.com with ESMTPSA id z77sm4004805ywd.21.2018.02.06.08.57.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Feb 2018 08:57:11 -0800 (PST) From: Sean Paul To: dri-devel@lists.freedesktop.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH 3/3] arm64: dts: rockchip: Specify override mode for kevin panel Date: Tue, 6 Feb 2018 11:56:22 -0500 Message-Id: <20180206165626.37692-4-seanpaul@chromium.org> X-Mailer: git-send-email 2.16.0.rc1.238.g530d649a79-goog In-Reply-To: <20180206165626.37692-1-seanpaul@chromium.org> References: <20180206165626.37692-1-seanpaul@chromium.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thierry Reding , Mark Rutland , Brian Norris , Arnd Bergmann , Catalin Marinas , Jeffy Chen , Will Deacon , Doug Anderson , Rob Herring , =?UTF-8?q?St=C3=A9phane=20Marchesin?= , Dmitry Torokhov , Matthias Kaehlcke , linux-arm-kernel@lists.infradead.org, Emil Renner Berthing Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP 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. Cc: Doug Anderson 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 --- 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..24430e689bcf 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>; + override-mode { + 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>;