From patchwork Wed Feb 7 17:23:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sean Paul X-Patchwork-Id: 10205709 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 E62A2602D8 for ; Wed, 7 Feb 2018 17:24:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D73D728F86 for ; Wed, 7 Feb 2018 17:24:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CBD2E28F89; Wed, 7 Feb 2018 17:24:51 +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 6DA4528F86 for ; Wed, 7 Feb 2018 17:24:51 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 220B48984C; Wed, 7 Feb 2018 17:24:50 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-yw0-x242.google.com (mail-yw0-x242.google.com [IPv6:2607:f8b0:4002:c05::242]) by gabe.freedesktop.org (Postfix) with ESMTPS id B9E508984C for ; Wed, 7 Feb 2018 17:24:48 +0000 (UTC) Received: by mail-yw0-x242.google.com with SMTP id v139so581748ywg.4 for ; Wed, 07 Feb 2018 09:24:48 -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=s+L0/uVcTEtxiFpn68SejbWucbhfT3720pmyfH2zWrc=; b=WUf4FtMJx5RH9D3veTYsuCr62v0ZglChQz9r25qhFBIy9NzTWV9zuAZDwFU9aQPR3e 3r4UUZc8wMAb5whlu9GW7qG13QFNo+Aefgi9XhV/pTLUG1FFXuwhWP4ezoIkhP1bkn4B JgouvEGMtnopn1ylKGrY/RLPCIugm5v2pLi3Q= 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=s+L0/uVcTEtxiFpn68SejbWucbhfT3720pmyfH2zWrc=; b=SnuCVIRKKb+ATeciTG5573zxLbZODjrggVgB1NDRJho6LR85mpilt7Kulhx7QXtQG0 knigk/XU9PL6gfwsoPIy73WzJX1ajTnT4XuojU5opjWKkoiuDGnVY8wYvLqkkewIaAVe xeis0ZQtLYi6uleTJdAhQxgzZe67vKxvd2I4BiHk4XX/lJiY/3Ok0vSlI7OTHnmZM6rL CP35JtSCnMJOEnspUtz/FzsOUsNrbhzRPGGowW55tuuuVjClXqL+Z/uesUEGlXr7Pfd7 P7ZkcJ6MdZ3DfBYrryKf8q5JDiskefDgPvof9U+Mo1/tJM894ssBqWxsP0U4wbzeFQ86 aasw== X-Gm-Message-State: APf1xPCblDwrEJtos9zOWZUO4hJAJDJMcwjzaNNUpf2ne1L4nZY3zHrQ mfqAp5aoTkas7aR6IK7m1SPzpSRbKqw= X-Google-Smtp-Source: AH8x225hnp2fT+t3Z5e5fzKirDdFp0ZUluX1ARM/hq2hPJO2rWe8nwFedRfRINIfzwwNEmfmAaXIUg== X-Received: by 10.129.133.135 with SMTP id v129mr1255583ywf.107.1518024287889; Wed, 07 Feb 2018 09:24:47 -0800 (PST) Received: from rosewood.cam.corp.google.com ([2620:0:1013:11:d3af:69ac:1964:28e8]) by smtp.gmail.com with ESMTPSA id q9sm656314ywq.29.2018.02.07.09.24.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Feb 2018 09:24:47 -0800 (PST) From: Sean Paul To: dri-devel@lists.freedesktop.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH v2 5/5] arm64: dts: rockchip: Specify override mode for kevin panel Date: Wed, 7 Feb 2018 12:23:59 -0500 Message-Id: <20180207172404.107358-6-seanpaul@chromium.org> X-Mailer: git-send-email 2.16.0.rc1.238.g530d649a79-goog In-Reply-To: <20180207172404.107358-1-seanpaul@chromium.org> References: <20180207172404.107358-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?= , 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) 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 --- arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts | 16 ++++++++++++++++ 1 file changed, 16 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..800eabd39076 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts @@ -98,6 +98,22 @@ backlight = <&backlight>; power-supply = <&pp3300_disp>; + display-timings { + timing0: override { + 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>;