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: 10203521 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 A9C8D60247 for ; Tue, 6 Feb 2018 16:58:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8266C2895F for ; Tue, 6 Feb 2018 16:58:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7636F288DE; Tue, 6 Feb 2018 16:58:59 +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.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 05620288DE for ; Tue, 6 Feb 2018 16:58:59 +0000 (UTC) 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=+wVMm7RnqxwLmrPec+2lI3yStF46jBz3ldaMNMiuxyo=; b=JHhOkulDnBQFW6 4spZc9zTEuSxSotw44xmOiav7pjmtk7Q1Ou0qPw09osSCG9dgAMWAcYSCQUHJTZh/LUpEnTbtp6Dx 7aZCYdUhzXbWNgBKlTp9nyfMYOwbnlYKF5EjaYCaK9cMfaRfEKfKbg9dGZ4ICYKRCtkqn09vZzqiP C6yiPR1nsvV/+Yyd2ilzIH1raPlw/GLs0W1lcoFIyzWZ0OFDS9IN22r5hS1dLRdE90wke7V44gNEm p1s4rk7mS0UdkVOc/G4vOW+H50hxIbXmOgpZjKg0m//9ZIDRNhgfp19qHB0RL6LzEVQUlLGxZTtwa Y3TwxUETtoiEVfF9QQVg==; 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 1ej6a8-0000Ol-IU; Tue, 06 Feb 2018 16:58:56 +0000 Received: from mail-yw0-x243.google.com ([2607:f8b0:4002:c05::243]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ej6Yc-00072D-Tu for linux-rockchip@lists.infradead.org; Tue, 06 Feb 2018 16:57:55 +0000 Received: by mail-yw0-x243.google.com with SMTP id q6so1800728ywg.3 for ; Tue, 06 Feb 2018 08:57:12 -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=V2NQr+TrcX3bUhecwQ8j9/S4NbXiPYD8XHPowiJETIPUAvzRN//VYv/IvJEQeZQ5QK k9iIAlYhPC5cFE1I8TnlPY851ezWwgUscq3ipcXDgYSZLBUzC1tIaqFGDwHaldV+zQZS /W8QIXchg6ds/Rqhw0swq5aJ+yoBqAx6/lV3xvK6Sk4+dCh6CmBEUebHHeh+kPC5mwwP K447aRS15POQmrF+jEakF9Npt5FxPOy3uf6acbhY6REApF4Ym2t04p2/EyOySgv4noGz 4j+LS/t+bSBGV2n2zWpt7c2AxqSNKq7omKNeWjBthU0XrOcmZfaBbQkP7i/iADUgsfXN Kflg== X-Gm-Message-State: APf1xPD5HrC3J0oHeMv1+f24NFwfsZVWZmOg2avRqcqPYodMz+s6GguX 6rKq6/0kzd0Ud8UbrPyC5IS2qg== 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: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms 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 , Rob Herring , Sean Paul , =?UTF-8?q?St=C3=A9phane=20Marchesin?= , Dmitry Torokhov , Matthias Kaehlcke , linux-arm-kernel@lists.infradead.org, Emil Renner Berthing Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org 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>;