From patchwork Tue Dec 6 13:13:46 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 9462565 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 20CD760586 for ; Tue, 6 Dec 2016 13:14:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 14D35283AC for ; Tue, 6 Dec 2016 13:14:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 083A3283BC; Tue, 6 Dec 2016 13:14:09 +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 18274283AC for ; Tue, 6 Dec 2016 13:14:08 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CD9926E156; Tue, 6 Dec 2016 13:14:01 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wj0-x232.google.com (mail-wj0-x232.google.com [IPv6:2a00:1450:400c:c01::232]) by gabe.freedesktop.org (Postfix) with ESMTPS id 791BD6E371 for ; Tue, 6 Dec 2016 13:13:58 +0000 (UTC) Received: by mail-wj0-x232.google.com with SMTP id tg4so65083042wjb.1 for ; Tue, 06 Dec 2016 05:13:58 -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=7iovzAdoSJeh6vaKgx3iiJNe2Uiq+e3s6YqlunrNMk4=; b=G83t98xyuu+1Q1k0P7cNhnQCkcn/KpeUSSUMzlQM1SZB//8E4BRueu1ULhjiyF0QXt V0/bW7c4CRSTCoEA8BS3Mk38Pt0H6ZYj+94pfLry0LtEV9s8KlQP9O+HDFITDz5Oc/fy 33gTA18bUHbPGjdwEcWd08EV/8tKqLbTg1/HYjGexDO+Zye7qg8b+K047kBS3KsLSyOg MHbs/izNfgxS3ZIVhciAYJZNZIjeODVEBti/RZGTp2QA+yPq8gdQEmskAFEoAiym8/8i 0riLJsTlA2Db0h/06GR2oZs/aKjfSDYk9/uveSx/8wUGV8206Q2t7faZNgcff21MiMWq kTZw== 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=7iovzAdoSJeh6vaKgx3iiJNe2Uiq+e3s6YqlunrNMk4=; b=aXxHeyScA6HzqsMVUzzk87dtIvjlSzyMK/jG8CBMpczUksXeg9ibTOJkBTaiDdHnJA 1Cw2Fzk6raVk17by0CC1nAxKv1raGHvlVxn3rNczTaUQZkqE+6M3B6iO7ZGG1/0oKgBj OPh/2lak8Zg6dFuC8m++zHjXJrH45QmLu7Yyn+JsxzgdM/5ZNCOIJU8y8mW7Iw9Rkl2m FFITVkg5jkWPlBOu7yaPFCnRjf6Sd1tfXrxc4tk/En9TG4id05LLTfz46GYy0uRL1H2r 4oQ1YNS3DlYTzAJr1WAcO+itbLfm37MshvXtnaucVWDFW9UYLuu640nR5h9pRRK1uXpe H8fg== X-Gm-Message-State: AKaTC036cT5rR70jkBDTgUdeshNRmF3H1EW8cTlzz+jfujtEPy22JSAlAxvrcrznbseBR0Tj X-Received: by 10.195.8.132 with SMTP id dk4mr52407888wjd.33.1481030036800; Tue, 06 Dec 2016 05:13:56 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id f3sm3980661wmf.10.2016.12.06.05.13.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 06 Dec 2016 05:13:56 -0800 (PST) From: Bartosz Golaszewski To: Kevin Hilman , Michael Turquette , Sekhar Nori , Rob Herring , Frank Rowand , Mark Rutland , Peter Ujfalusi , Russell King Subject: [PATCH v4 2/2] ARM: dts: da850: specify the maximum pixel clock rate for tilcdc Date: Tue, 6 Dec 2016 14:13:46 +0100 Message-Id: <1481030026-7329-3-git-send-email-bgolaszewski@baylibre.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1481030026-7329-1-git-send-email-bgolaszewski@baylibre.com> References: <1481030026-7329-1-git-send-email-bgolaszewski@baylibre.com> Cc: linux-devicetree , LKML , linux-drm , Bartosz Golaszewski , Tomi Valkeinen , Jyri Sarha , arm-soc , Laurent Pinchart 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 ffc6e1a..da86d80 100644 --- a/arch/arm/boot/dts/da850.dtsi +++ b/arch/arm/boot/dts/da850.dtsi @@ -452,6 +452,7 @@ compatible = "ti,da850-tilcdc"; reg = <0x213000 0x1000>; interrupts = <52>; + max-pixelclock = <37500>; status = "disabled"; }; };