From patchwork Thu Mar 28 17:17:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 10875537 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EAFDE1669 for ; Thu, 28 Mar 2019 17:18:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C777128B49 for ; Thu, 28 Mar 2019 17:18:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BAC4F28BEB; Thu, 28 Mar 2019 17:18:39 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 657C328B49 for ; Thu, 28 Mar 2019 17:18:39 +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=DeFU+J9PnkQvqGrbhF18i0AEMruskpqQo8AB2KrBXdE=; b=eNch531lNpcPr1 XZmnoq11FptL1sZR2bBUjUHJzPp7wPdxnQUitnPsgE0auqBKh0Iuv66Z9gPWit/91Bzcq3A0RYSVk GSdT/oHIwAulCJL1xFjaBA9ZUzepZtUS+JmEoakTCRXwjhs3R5kcJZfVVefpQEALQ70ouKlc5Q1qg UYlVhVY2XQk0l84eDo5O8gMx0GfCn6DvUrLxHl9fK6MP7Ku77DE1JzYx2p3Ok0uot6JSBVr1dU2Ay 4VciOWWJoBjkMY3MZCGr48fxXrbIbHxqwFsP9EQUqdyNoN8sJ5romi5m0skP5Y1xM1NjuQZclr6Et quKxhnynExDXaIIsm+Pw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h9Yfk-00082k-Kf; Thu, 28 Mar 2019 17:18:36 +0000 Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h9YfA-0007LW-FX for linux-rockchip@lists.infradead.org; Thu, 28 Mar 2019 17:18:08 +0000 Received: by mail-pf1-x444.google.com with SMTP id b3so10285552pfd.1 for ; Thu, 28 Mar 2019 10:18:00 -0700 (PDT) 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=PLZp80c5zmxWFSyZnvtSAhGFGjN8GgpaVzXeZauR/As=; b=lf4nxR7Uk6SllC3sXaohqZU0wZL8kGjBbH8P55XZQHkEsOa8AbUOCVIx4d4JguH3ma fYUqogrV9g5bt5C71Y6/93mYdjA4wfcxM6/cWQl08oaFgVq0Y37HswfGdbaB4rYef3ru jkdVvOCtY0ev1MnFjkcXYpSEYRCXXH5wvTF+k= 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=PLZp80c5zmxWFSyZnvtSAhGFGjN8GgpaVzXeZauR/As=; b=roiZ2jRcWp/VGR5vESLskrbQI7WJEaClRx+I3+FK//yR4QcZOg5UadctXHf01ViQFh cvMdS1GjmmTf/57Uk2sgTwvjnWh5xVLxCzTrNH4dHPH0BqE2sGOsTe7wn7H7whQO7qjf 3iuSO1gE1FtNNYjLHUaa8cgv2Wiz5u1GB0thZPQ1xXBUAAnLgGdD7lmzr94+XXoIYkOp FRonbg7YEtQg2BHib3dJC/2kRORPMN9T97hKYv4pSH1nJ2D+6UKBBT4q9PYQLTvW1Qzq Guqfxr4dTYdldjErEGVa3+QSMECW/t8/jyPWUVOsGAKMnUuKbfF3XlH3bvGO4Og1NzJr SHlQ== X-Gm-Message-State: APjAAAV0fZf360gUt0I5myoSFgnx2mwkDCj4qjBZCgCDrFfMJCO+LRr3 XlU6aNVA8hdyDOqxk4J3jtSqaw== X-Google-Smtp-Source: APXvYqx9eJkDT/kFjG4NENDdfGYDqem2sMd4BUAVPj+/+V7ttxHpGj0MWP+qW8V6CsAXc9oqciCyow== X-Received: by 2002:aa7:82d9:: with SMTP id f25mr42008749pfn.45.1553793478806; Thu, 28 Mar 2019 10:17:58 -0700 (PDT) Received: from tictac2.mtv.corp.google.com ([2620:15c:202:1:24fa:e766:52c9:e3b2]) by smtp.gmail.com with ESMTPSA id r10sm31699414pfn.188.2019.03.28.10.17.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Mar 2019 10:17:58 -0700 (PDT) From: Douglas Anderson To: Thierry Reding , Heiko Stuebner , Sean Paul Subject: [PATCH v4 3/7] arm64: dts: rockchip: Specify override mode for kevin panel Date: Thu, 28 Mar 2019 10:17:06 -0700 Message-Id: <20190328171710.31949-4-dianders@chromium.org> X-Mailer: git-send-email 2.21.0.392.gf8f6787159e-goog In-Reply-To: <20190328171710.31949-1-dianders@chromium.org> References: <20190328171710.31949-1-dianders@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190328_101800_770753_ABC4F9C1 X-CRM114-Status: GOOD ( 12.68 ) 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: Mark Rutland , devicetree@vger.kernel.org, Brian Norris , Rob Herring , Eric Anholt , Viresh Kumar , Jeffy Chen , Doug Anderson , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Boris Brezillon , Klaus Goger , Laurent Pinchart , =?utf-8?q?Enric_Balle?= =?utf-8?q?tb=C3=B2?= , =?utf-8?q?St=C3=A9phan?= =?utf-8?q?e_Marchesin?= , Dmitry Torokhov , Ezequiel Garcia , mka@chromium.org, linux-arm-kernel@lists.infradead.org Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Sean Paul 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: 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 Signed-off-by: Douglas Anderson --- Changes in v4: - Rebase to top of Heiko's tree - Converted changelog to after-the-cut for non-DRM change. Changes in v3: - Unwrap the timing from display-timings and rename panel-timing (Rob) Changes in v2: - Wrap the timing in display-timings node to match binding (Rob/Thierry) 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 15e254a77391..454f4149585f 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts @@ -43,6 +43,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>; + }; + port { panel_in_edp: endpoint { remote-endpoint = <&edp_out_panel>;