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: 10207603 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 06940603EE for ; Thu, 8 Feb 2018 17:49:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EBA7A29142 for ; Thu, 8 Feb 2018 17:49:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E05EA295A2; Thu, 8 Feb 2018 17:49:41 +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 6F37A2959F for ; Thu, 8 Feb 2018 17:49:41 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 82FE86E642; Thu, 8 Feb 2018 17:49:40 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-yw0-x243.google.com (mail-yw0-x243.google.com [IPv6:2607:f8b0:4002:c05::243]) by gabe.freedesktop.org (Postfix) with ESMTPS id E22256E642 for ; Thu, 8 Feb 2018 17:49:38 +0000 (UTC) Received: by mail-yw0-x243.google.com with SMTP id v139so3207954ywg.4 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=AzslUYGdITeAmY0Im4IhmDBlpW8BrdIn7/flW8kUT3fVxhmkFZthqIwtOjqre01Irb n98wzR6LH7xbHgoLzXxp6l6D53Xvfj/y1gul5qUrQfkJNZt3dibnoI2qTvPF1qc6rF4B DcrLrWtpW6pk16cpGZ3zCE79kxEjJuSefUscqi6j1MG1yS6xbYWrgqXugdFfs5wnGQ0e 9oKPpWqeKZ27LV9qSj+SVi3FARS/AJzEIx0mHUk2w6/BjC+0tFpAmV5V6VPfILwvNyEg o398a1fe8HGZ5bQZfBOhBzr3iYPUBOVhluPCXL8GYnXx1k//UlSVqpZPorvD47UR99JF xhgw== X-Gm-Message-State: APf1xPD6ynaB/UXMWQIUpnyWijw4SPYoEXrT0eXLPJSJwnxEr42T0c0I Pwcnh2Hwo1ie1izA+Nv0Mr0a9dy7ePU= 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-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. 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>;