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: 10203519 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 112BA60247 for ; Tue, 6 Feb 2018 16:58:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E4E03288DE for ; Tue, 6 Feb 2018 16:58:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D682A2895F; Tue, 6 Feb 2018 16:58:48 +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 CFDED28A9D for ; Tue, 6 Feb 2018 16:58:46 +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=V49b+t9QJwGMpRtrhW07USLB2KSppM0sJ/fEfFGDJPE=; b=E/kAxU6xeOX5QL bgy/XrTLcK/gxBxToNws0mHL3/Mrn9fA+hJuB2NSGXeerUzVCry2eUa4xDFK4bJTn2NFzKGouOu0I 03O+Fj1p2pMqtg9VfhOeFbolZmgWvuffxWqwyZX+lFIVN9YUo8WeXtA7U9FSBtjgUyEri2waCU4/O B/lMrt23Lh0syGaPMFTjdtK4Qr3FOhSCt2pwch2V7yEN73htftYnaDfjWk5OeICUdqdCgxyYzEKMd G37CqtPka30kiCf1d2gNmp7rFbe1uUxr/xvUrWvIyTSNa8SOAyR9KLiAEiGXpO9X+IxA9izHgAk7M WvEgSnfhSoFawwHbuTYg==; 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 1ej6Zt-00007l-83; Tue, 06 Feb 2018 16:58:41 +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-00072F-Ti for linux-arm-kernel@lists.infradead.org; Tue, 06 Feb 2018 16:57:49 +0000 Received: by mail-yw0-x243.google.com with SMTP id c78so1782368ywb.13 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=j/dce9Fge+6+BgR9eUbf2jlu4CAHpKl8F95R4ERijcRieruL1iRyfI8Dfo3CTA5422 RiSNOJ3i8PC5iPveFPnyjFHQetG+FKg4w5hmqTP+FKSY83P708HeJJNT4Jswql7Jggpj nuLYaqfoIQmGaa+BrwWB4uw+gEvCFjfwIAyn9OxwdLvMZMUXTOnNX/PZ/e2sd9casYyR qXXL1qqLwJWmeN7LnBwMDmDgHu8Zgeik8dkxqNdFxuKAKUKLd3TUUxzQLsNalESEGIMe /1UaNQstKfZfPc9DPCuX8W8ZA9BjpEN5r1pYFP27TYTD+ZSpppi6miTPaRvoIatag977 vRiA== X-Gm-Message-State: APf1xPD6TXlJzQ5dd388t5D03T0ySjTr1pwstT8ck7ZMWMiP+Z2P1zjT F346OJjH6RKqEw9MCHvaMxCr5Q== 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-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: 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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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>;