From patchwork Mon Apr 1 17:17:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 1073036 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="roI0cATW"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="eBBUS132"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44XzZN4XC0z9sRm for ; Tue, 2 Apr 2019 04:18:20 +1100 (AEDT) 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=BCyHefKR1hB3pS5OCl9MLnhfQTerGUGASKpmEdzP0yU=; b=roI0cATWzwOuIm LTh+uAZGB6vyDHGo9u4+NBAVQC+AHo2KkxN8IUhx+kJPd0FHWw2C4M7J1YfuXXDAXkOVNCmVOQDDI Vp6ykhMUzA2o/NSK/8SX2vL2ctV5DQMefJIzusvteGhCMeqle7p680jqMhnkdoTyYeziEAUJX8Ain SPl9C48axEXeyWdm+5SBfItahuXQiYahI0zey5kw85i3/SVs0eNR8HKozxde3yZS20OaU0aHB9j4j MXNBDl6lLFvv1CSUGHid2g1w7q/zllCamkihTcLqkljW1F/rd4vlVeAZoPHpTtYk4x0ALUurIEWtB VqdNxXOLUkMCeIy7xZlg==; 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 1hB0Za-0004XY-6i; Mon, 01 Apr 2019 17:18:14 +0000 Received: from mail-pl1-x642.google.com ([2607:f8b0:4864:20::642]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hB0ZI-00049h-Qp for linux-arm-kernel@lists.infradead.org; Mon, 01 Apr 2019 17:18:00 +0000 Received: by mail-pl1-x642.google.com with SMTP id bf11so4793786plb.12 for ; Mon, 01 Apr 2019 10:17:56 -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=+AmmzLpPuFAi2VfTCy3FGaIq62ToFSCjB0vDQGXh5jI=; b=eBBUS132qAEAeeyD4XiRW5YP1rww5Lg7gYGB+oO7KS3ovyzwyTAPsd/h/x4GhBW8KP OP83v8dKgY6b7HdwPPONQ1UYQin9i5p+Ck7+45RqSRc7CDVw3W5yQL8vCpAMTCe+vPDd Z3Hv9W3nk/2/TCKJbxNAHJ9HNKv7dR4vyMEqU= 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=+AmmzLpPuFAi2VfTCy3FGaIq62ToFSCjB0vDQGXh5jI=; b=l6pSOR127VRpFhoHbnK5d2ppXfiojpwujblm4Fe4dav4jCEcG1vFnKbu9kgOOth1hj 0ksNtcqn/X3UXW66BHwPMJ+cPS+4FYUZkZTGrgbKDpifZtkQBz3S/z6/eI2tX4rfMOV5 6lWgnkfZpyMQt6jh9keBtUXvMACIiKoIREOSiFIaX3dMmMCtPOdiDMTDe6QAHNSuuoHf gk9ztvrheGRbzGv16wCnoqoPK9UZWwasTcby820gUdrppt+mytpLZcs6Q4givb3R+ygT Y5yykbl6lmFB+hJS9jC1CtB3xlb6T7ahnBevDduU1b/6FS3B3fEDEM1xyK6WIU9rXeAC 6sng== X-Gm-Message-State: APjAAAXeaVdzjQxD2VMSgcggGsUcLrjIm+hhtclW6e2w9Wy6vbdPfr3g PDFdhOzJxc8ScVL3UBXfVwCS5w== X-Google-Smtp-Source: APXvYqwyiWBFZw15HVw5xaJZLX3TCLYZ5TaRziMtPFmNwUJOtKUj6mfNqpf7cxkIZjBhV3IxoVIxVg== X-Received: by 2002:a17:902:2de4:: with SMTP id p91mr8321570plb.191.1554139076325; Mon, 01 Apr 2019 10:17:56 -0700 (PDT) Received: from tictac2.mtv.corp.google.com ([2620:15c:202:1:24fa:e766:52c9:e3b2]) by smtp.gmail.com with ESMTPSA id y12sm31370112pgq.64.2019.04.01.10.17.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Apr 2019 10:17:55 -0700 (PDT) From: Douglas Anderson To: Thierry Reding , Heiko Stuebner , Sean Paul Subject: [PATCH v5 3/7] arm64: dts: rockchip: Specify override mode for kevin panel Date: Mon, 1 Apr 2019 10:17:20 -0700 Message-Id: <20190401171724.215780-4-dianders@chromium.org> X-Mailer: git-send-email 2.21.0.392.gf8f6787159e-goog In-Reply-To: <20190401171724.215780-1-dianders@chromium.org> References: <20190401171724.215780-1-dianders@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190401_101757_020284_EF980AC4 X-CRM114-Status: GOOD ( 14.60 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:642 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.0 DKIMWL_WL_HIGH DKIMwl.org - Whitelisted High sender X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list 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_Balletb=C3=B2?= , =?utf-8?q?St=C3=A9phane_Marchesin?= , Dmitry Torokhov , Ezequiel Garcia , mka@chromium.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org 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 v5: None 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>;