From patchwork Mon Dec 12 13:05:42 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 9470705 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 13CDA60476 for ; Mon, 12 Dec 2016 13:06:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1194A28410 for ; Mon, 12 Dec 2016 13:06:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 05CB428489; Mon, 12 Dec 2016 13:06:03 +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 0E0DD28410 for ; Mon, 12 Dec 2016 13:06:02 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B30366E2CD; Mon, 12 Dec 2016 13:05:58 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::231]) by gabe.freedesktop.org (Postfix) with ESMTPS id A258F6E2CD for ; Mon, 12 Dec 2016 13:05:56 +0000 (UTC) Received: by mail-wm0-x231.google.com with SMTP id a197so60729687wmd.0 for ; Mon, 12 Dec 2016 05:05:56 -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=xCcPEnyu9VoYp3YElWqoduaLiZ+9JmUV2m+hinJIJws=; b=VdrwjafMkt5J9E5NEqIDIv2yE+Pb8PtoWRmAtVijy2ZUXP+Xsqlz6X1ixqhJw6O1PT dMa4nwIuC0RGf0eYIu62BcO2gga2fTrgaoK/dZquBqYjeWi5Ub7Shf/XEFh/ybHguQ14 /7FsVXZ/fh8o/puV+50kxOfCK7dGIaNE3gMA2kWuctjgFlrOjcEozLy/w7NfxOW1vEJE m+DjGET+b3Z20xD2TvgflNTckcZc4O8nhQjK7gEP5i+6/nDtQ9/cySGi4wandx/z8+c8 uPpM9yNQuDtznBA9I2Afil1OBjcnSDLJBkjimfkd2crhNnH0Y6E252tldwAsDx431WjR FMIw== 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=xCcPEnyu9VoYp3YElWqoduaLiZ+9JmUV2m+hinJIJws=; b=S71F8xBJ+1fm7H7YYWjfGSJPTjCQ8tc+W18XM9ABM7+G4QxZo2iIS5JhbTktmuiltW 09f0TEBO6k2GkGInlvDLrGhaMXysfviLxb+XUr8MAx0/Vhb3WcyCHGHYlga8OG4BkMgc JKF6HHM9oM628SXEyr8/WKUi/5g6H0ONUKM2o4I6iOUjedFgklhGPglnW1kCcQuyirBe TxKkBVcE6S2B8EnzAQCN0HeoN0n8ykX9NrMgValNNsmWT2l1TdlYSad5KRtx4N2jM2qA XoGAbhgj60D3qsEboxA5ES+6Kj677qvvTUu2m5YqLS0wGj64fsvXXDCnNz/T9SBUSmUj 90dw== X-Gm-Message-State: AKaTC001/cd7oqaiP8gpeIb5TOH0hSCgs7QeKNPZKygxF4RVBroFKHOFbOBpEP54yX0MMI25 X-Received: by 10.28.13.144 with SMTP id 138mr8760646wmn.120.1481547954987; Mon, 12 Dec 2016 05:05:54 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id a13sm35512620wma.18.2016.12.12.05.05.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 12 Dec 2016 05:05:54 -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 Subject: [PATCH v6 5/5] ARM: dts: da850: specify the maximum pixel clock rate for tilcdc Date: Mon, 12 Dec 2016 14:05:42 +0100 Message-Id: <1481547942-24775-6-git-send-email-bgolaszewski@baylibre.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1481547942-24775-1-git-send-email-bgolaszewski@baylibre.com> References: <1481547942-24775-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 3f51e59..ba5bf80 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"; }; };