From patchwork Tue Dec 13 10:09:19 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 9471985 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 2702360476 for ; Tue, 13 Dec 2016 10:09:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F2353284D8 for ; Tue, 13 Dec 2016 10:09:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E4081284F3; Tue, 13 Dec 2016 10:09:50 +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.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 75542284D8 for ; Tue, 13 Dec 2016 10:09:50 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id DB1526E541; Tue, 13 Dec 2016 10:09:40 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wj0-x22c.google.com (mail-wj0-x22c.google.com [IPv6:2a00:1450:400c:c01::22c]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6098B6E432 for ; Tue, 13 Dec 2016 10:09:38 +0000 (UTC) Received: by mail-wj0-x22c.google.com with SMTP id v7so95883349wjy.2 for ; Tue, 13 Dec 2016 02:09:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=SKBcHtbJQJ7cPM7qRt2XEaoq2qJcb1GLqDRHrbvkAac=; b=VlzARh7RbXYKwgv/8IAyB+G1Jb2rsedJj7sO7VQwSaz73mukb5xdXgZLkYEKVvkaLj +ouEHIbEl4/oKIAiPh/DZJ22lQvw/sshDvxC5XCV/yqAta9gOkrsUrMF7+w2iw8xBcZ6 DHrjnsqNOzRIEc7ZSU1XIt3T8889a09RfCpB6FDMyYNsFtuDrMVP7xoMz5yxDpoGFojg m4UZDnNJEd6K+Iwq4InuElaCj5zFUpUlwrWyYmQJLOfb9FE90Qq+ExytzBikeoJ8F4+H DrzAB5J6LwVRc5ELZMwj4m8OjovS8Jp7o6uZZt//DcO2PaTDzg6yyMsfo6Fv532zevqJ BJcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=SKBcHtbJQJ7cPM7qRt2XEaoq2qJcb1GLqDRHrbvkAac=; b=aUnpdZOVBCSB/ING6PVROf3jMUPlPDlW+clEajvCxR+hxiFRhZvBq75OTWk3JHwJvn ZpAaXZmwcc9lDBK5QMsHtJsYbbEt0mVIP7YEkUfkeSbdfPqFpTinYx+B3Nv/ZW6RurEf jWtp8cVq9auQMEVlmslWscz86c5JhHaNfe44cVBzerlhwDLy4Xz9nUC0DivJI1rKsia+ ADVgkIpLXyuqyOZjOuS11/j0sTZHsa/tmk0MDLil/tszuKzzb4szvkXAy+bmNME50b7U prDKFOtB05rZjTB8emBxKRELMdpmbAVT43J3TlWtdYReSZZ4UqMZlbuNLO9EWZ/1IaI8 0Zxw== X-Gm-Message-State: AKaTC00+4P3EI3c5zyz1h+aS7OGCk6aEzE/akF8fACliG4uN1M7/DNNxsUE1+E1SyGBBEsF8 X-Received: by 10.194.109.65 with SMTP id hq1mr56466458wjb.37.1481623776673; Tue, 13 Dec 2016 02:09:36 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id 138sm1808513wms.20.2016.12.13.02.09.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 13 Dec 2016 02:09:36 -0800 (PST) From: Bartosz Golaszewski To: Jyri Sarha , Tomi Valkeinen , David Airlie , Kevin Hilman , Michael Turquette , Sekhar Nori , Rob Herring , Frank Rowand , Mark Rutland , Laurent Pinchart , Peter Ujfalusi , Russell King , Maxime Ripard Subject: [PATCH v7 5/5] ARM: dts: da850: specify the maximum pixel clock rate for tilcdc Date: Tue, 13 Dec 2016 11:09:19 +0100 Message-Id: <1481623759-12786-6-git-send-email-bgolaszewski@baylibre.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1481623759-12786-1-git-send-email-bgolaszewski@baylibre.com> References: <1481623759-12786-1-git-send-email-bgolaszewski@baylibre.com> Cc: linux-devicetree , linux-drm , LKML , arm-soc , Bartosz Golaszewski X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP At maximum CPU frequency of 300 MHz the maximum pixel clock frequency is 37.5 MHz[1]. We must filter out any mode for which the calculated pixel clock rate would exceed this value. Specify the max-pixelclock property for the display node for da850-lcdk. [1] http://processors.wiki.ti.com/index.php/OMAP-L1x/C674x/AM1x_LCD_Controller_(LCDC)_Throughput_and_Optimization_Techniques Signed-off-by: Bartosz Golaszewski --- arch/arm/boot/dts/da850.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index 6b0ef3d..58b1566 100644 --- a/arch/arm/boot/dts/da850.dtsi +++ b/arch/arm/boot/dts/da850.dtsi @@ -462,6 +462,7 @@ compatible = "ti,da850-tilcdc"; reg = <0x213000 0x1000>; interrupts = <52>; + max-pixelclock = <37500>; status = "disabled"; }; };