From patchwork Tue Nov 29 11:57:04 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 84567 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp1560592qgi; Tue, 29 Nov 2016 03:57:25 -0800 (PST) X-Received: by 10.99.196.70 with SMTP id m6mr50044662pgg.118.1480420644962; Tue, 29 Nov 2016 03:57:24 -0800 (PST) Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id b187si29325447pgc.0.2016.11.29.03.57.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Nov 2016 03:57:24 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2186F6E2BF; Tue, 29 Nov 2016 11:57:21 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm0-x229.google.com (mail-wm0-x229.google.com [IPv6:2a00:1450:400c:c09::229]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6C3D06E2BE for ; Tue, 29 Nov 2016 11:57:11 +0000 (UTC) Received: by mail-wm0-x229.google.com with SMTP id a197so234764029wmd.0 for ; Tue, 29 Nov 2016 03:57:11 -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=be3UyytekSnevk91UqZ6UXCRDkFqlGb7iFO7Qf14d7c=; b=YRZ3/h8tkcxqIskodCxbbkTTlWfv+3ZsVHf9PPOLHB37oHjWgtDwTHtv5UsI2aqk8S w6HhjmpLkXr6JZRtPIrJ2OBVEDWoftl/TSDBCgrjAPDrQaod0Y1SNUVctAjWj+akx5UL GrOoF6fFhD+4y42zlsP+7Ewpyaj7HKeckbCi3xF3ei5gXDvLEs76qdGZ5ovbmq0AIjtU LQFpEYaibXtoifs7GxEKAtnsO5cjQgUmX8zULw2qwmLB87UfpghvVKPBr9h4AznW3DyF lLEtw1I25oDff7tWLF+iUztczn5yMiht/Flo9d0ZQgj5IvJxLptCRxv1qfvFLu6O7jwn Xm6w== 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=be3UyytekSnevk91UqZ6UXCRDkFqlGb7iFO7Qf14d7c=; b=fbP0rEViqDswyhP0FI1/j2vAXxVDue4PzxmnomfurMKda1AlAGse8wTts6jt4+z0fJ kYm2iT4JJ+4HEjvT8nnr2jLWhlGGJPCDUlIo1w9X7fP6mEQ9goGiZXM8SCVEQMm/tln/ uHAMSUTwOZCmRbqHuAt8+cu8cRIcOo3XU6fkTTUbKcnU9Alh9dFxT+sVOKmgGSZKl+EB hAMft7IhXn4QGTCjFcEuh97GkiNffp9tdwQcNWwbZLF3eaEq+z3LqDn88lc/OlgK7k0n G6/ZoY6xjFEvyK+/ayKL2YrPjNlNioWErfuaSrkO9h0Lnwp2m4z3jBEtPKp14aErDNoM rl8w== X-Gm-Message-State: AKaTC03xr1QIvVqyiGWEhfh7p2+KpCLdrLEkNCzA3NdEQzI6WGQje5RgjxKveXRA1v+MZCXd X-Received: by 10.28.228.5 with SMTP id b5mr22510155wmh.129.1480420629754; Tue, 29 Nov 2016 03:57:09 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id ba10sm67351886wjb.32.2016.11.29.03.57.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 29 Nov 2016 03:57:09 -0800 (PST) From: Bartosz Golaszewski To: Kevin Hilman , Michael Turquette , Sekhar Nori , Rob Herring , Frank Rowand , Mark Rutland , Peter Ujfalusi , Russell King Subject: [PATCH v3 2/2] ARM: dts: da850: specify the maximum pixel clock rate for tilcdc Date: Tue, 29 Nov 2016 12:57:04 +0100 Message-Id: <1480420624-23544-3-git-send-email-bgolaszewski@baylibre.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1480420624-23544-1-git-send-email-bgolaszewski@baylibre.com> References: <1480420624-23544-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" 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 5f4ba2e..00692d3 100644 --- a/arch/arm/boot/dts/da850.dtsi +++ b/arch/arm/boot/dts/da850.dtsi @@ -453,6 +453,7 @@ compatible = "ti,da850-tilcdc"; reg = <0x213000 0x1000>; interrupts = <52>; + max-pixelclock = <37500>; status = "disabled"; ports {