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: 10205713 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 D6F2C602D8 for ; Wed, 7 Feb 2018 17:25:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C710228F89 for ; Wed, 7 Feb 2018 17:25:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BAF2928F93; Wed, 7 Feb 2018 17:25:07 +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 6FDA128F89 for ; Wed, 7 Feb 2018 17:25:07 +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=VduUJ41l38xowTlpqF8lZGREFhk06sk2TpPDbp913ZA=; b=HejGzi8NeChNAq LbopDM6qNqBAf0zgtRY8yGj+dQxP52z6Qu6HYoAd2x57HI/cTlkQTHs25s0uAkYOfd6NhpJUYQgUu 1l9mAb74hC6dRqxyDPRDZkkD7+FTuqkE1//gGZ7tlyXpdbyWbFP0wCpsLwh5ws2ZntHuC54I1Ywym u3UVKv7TEc53N4OW0W1CV379mm4QwxWmxwc/hEf/sHEtHzIDkTqQ+sHejyF/qUDzE+jLq5R2wVCKL 8awVIbzzMVa6jb7WdSCjvtciZPz2PJeHvpvzVz239FXpytC2GMsK7Vn9LvXTAhZtQaD61fNpb9Y6k V1r9fbEZHj7s1lTUeVvw==; 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 1ejTSx-0005hP-Qn; Wed, 07 Feb 2018 17:25:03 +0000 Received: from mail-yw0-x241.google.com ([2607:f8b0:4002:c05::241]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ejTSt-0005Yr-4I for linux-arm-kernel@lists.infradead.org; Wed, 07 Feb 2018 17:25:00 +0000 Received: by mail-yw0-x241.google.com with SMTP id x24so591345ywj.0 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=UVlMiXogSA3xQmhDnHAbAhmMj1F2VRJzFX13SqpVI0jimFyPLnQH732EL7HuMhcGV2 EDv1qOYJJs+HvmTFaokX6CsV1ayTyFT7kGpzdr+IbpZuuqHrb0cvS11wuPOazlWeqtAg 8ICFOjNZo21SOS/5rP9jAFlFtHHEv95KY/hnjLb5j/mO7p2RvxBJC6NW97864HxQhOFf 5P3HnBt7PgNf5XPNDXn5Zphoa6wgCuMhgl9sXxJ8byNbq8QX21iqscHrgHlZckz0CFE9 MXmZ4VnS6MAKuruIdwgjlE8wyrWFsAQ2c17eTN2AbfEY7jm5kZ7uZFSjcl0pXA1mwaFA i+dw== X-Gm-Message-State: APf1xPAaNtvHVsMNlTRmtu5DzNTIqWvWRtIcEAdZqdZcGsQHTW5XkadS PfRs7SMOEw26fMECVtwYnNpC8Q== 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: 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 , Eric Anholt , Rob Herring , Sean Paul , =?UTF-8?q?St=C3=A9phane=20Marchesin?= , 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. 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>;