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: 9451827 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 10C236071C for ; Tue, 29 Nov 2016 11:57:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 007F1282E2 for ; Tue, 29 Nov 2016 11:57:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E81B928304; Tue, 29 Nov 2016 11:57:25 +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 8A325282E2 for ; Tue, 29 Nov 2016 11:57:25 +0000 (UTC) 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" 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 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 {