From patchwork Thu Feb 8 17:48:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sean Paul X-Patchwork-Id: 10207607 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 2B5A860247 for ; Thu, 8 Feb 2018 17:49:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1B3E729142 for ; Thu, 8 Feb 2018 17:49:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0FEA72959F; Thu, 8 Feb 2018 17:49:56 +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 BCC9629142 for ; Thu, 8 Feb 2018 17:49:55 +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=VWfk1lcIO4GlJiN6aMqnnoM/+fBdfRRxl8kMQcIo57E=; b=bIA7TLu1Zwpxek osFsGCRDkwJldX2mHvKFSJKnWDEwgmRmmfMmJ5oiFGBxXYfTuWcdes39gNXr84W3iGcQLC6xYSeH/ DsRrrLkG2q1c5OKZIA4Eb6zQoHt3iuIdSwHkh1X54S8NnFPhgywVUuB+8/soG+FPfADtY4empTEwL KO+/uidbYMyfl4sI8NwgUNSbd6s88rMit2LGsaJmB2YCqZWBwaIW4hRUSaQnOOnL1I4v5l7QCvJ9p pD2mAuDoxl1FqHE7t+8S41maFVYS+pzLjkYZ6hUOpOnTD13XTUaLlUe4VyvVe6grUUQFyTk7Fg4ye rbQtp11/99yUJKbxy5OA==; 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 1ejqKW-0007LI-Hr; Thu, 08 Feb 2018 17:49:52 +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 1ejqKS-00070V-LL for linux-arm-kernel@lists.infradead.org; Thu, 08 Feb 2018 17:49:50 +0000 Received: by mail-yw0-x241.google.com with SMTP id t201so3216800ywf.1 for ; Thu, 08 Feb 2018 09:49:38 -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=HowDGKltAFRV5lmiU8it1BPyND6gSH/9q2xie7NWRWw=; b=QqL728G6coGdPaFnkx2hCTa4I+dRUSKvzPj9VZm2pad6Fx7OhgoLJkoysKssQCU3i2 64TU2FDrgZ1Sn7ja+vAPCjbYpRae0UzH/vP4+eZu2XakWNTgA2o4RlulmDvr6cGToBer x6MZj6v8qE6LFY2l83deWvHe+MZEyTjo/Vn/8= 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=HowDGKltAFRV5lmiU8it1BPyND6gSH/9q2xie7NWRWw=; b=eNyt5ys6rDGrKnkKT9UcBjKGoBzaSNzORRycQbFx04R5vdTchE8laAv5rZQxUWroEW kgNVN/0aHMQzRd8XP/XLV+/wsV5SEcFMXUTbuPV0qsu5n9x9acBK9s4nzxFIdfopDKUS ijTr6YMyJwT/qRqidDbxKGJHcqdHtdDgQtBRpEjrFPGyRZgOA6GzmtYb+jr1ad8khXd6 ZeIL0XilsjhIWZIvuDNK2nSGbCuCLrDGt4godq/n3ufpttfg2bmehz/fvS+68iUCWskq Kgvv69b8gC5Xinsi0VzpptIEeVIn96FDsFQ2i6+rvVOhiM466cYVojnZqA5udl3zvWwA QmMQ== X-Gm-Message-State: APf1xPA8rFLrSs+4ZrKjEk1Vg1AsUChAOos4amZWuYUDwSYI4XsngFJc DYbJAMMqIVz1jF9gA/qu5jbC6g== X-Google-Smtp-Source: AH8x2264z8sE8cGcJcFmx97UFuelAM0xu/aAPi4ke0Yf8X7mC8OFnaeowg4piQFtSnu4AKVp/dT/RQ== X-Received: by 10.37.103.198 with SMTP id b189mr1104075ybc.199.1518112177966; Thu, 08 Feb 2018 09:49:37 -0800 (PST) Received: from rosewood.cam.corp.google.com ([2620:0:1013:11:d3af:69ac:1964:28e8]) by smtp.gmail.com with ESMTPSA id t73sm177220ywg.10.2018.02.08.09.49.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Feb 2018 09:49:37 -0800 (PST) From: Sean Paul To: dri-devel@lists.freedesktop.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH v3 6/6] arm64: dts: rockchip: Specify override mode for kevin panel Date: Thu, 8 Feb 2018 12:48:53 -0500 Message-Id: <20180208174855.55620-7-seanpaul@chromium.org> X-Mailer: git-send-email 2.16.0.rc1.238.g530d649a79-goog In-Reply-To: <20180208174855.55620-1-seanpaul@chromium.org> References: <20180208174855.55620-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?= , 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. Changes in v2: - Wrap the timing in display-timings node to match binding (Rob/Thierry) Changes in v3: - Unwrap the timing from display-timings and rename panel-timing (Rob) 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 --- 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..658411ce37ea 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>; + 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>; + }; + ports { panel_in_edp: endpoint { remote-endpoint = <&edp_out_panel>;