From patchwork Wed Dec 13 14:24:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Zabel X-Patchwork-Id: 10110071 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 A7AF060327 for ; Wed, 13 Dec 2017 14:24:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9A580286DC for ; Wed, 13 Dec 2017 14:24:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8D4F828B99; Wed, 13 Dec 2017 14:24:39 +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.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E49B3286DC for ; Wed, 13 Dec 2017 14:24:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=5CN2rsJPAmA44qhNtamFd0SiIUCOj3lczUleSWkic4M=; b=Go1 +5NeDWFOraPNKFEeZ52v1oXjWjDkpz9ZkMvm5c+LUNa3ngvtTTChHK4/ZGRtHUms7yxaXj4eaHXTQ LdNMPu5BXmgWnAbTdQRARQq/qtL/1QtOB30A0X0V7L7in838iENld+mIQVM4Bs5hsukHlnGdJYT3d 8UvQtc9uYRSaWiG0zko/goAVfuXfj3UFdQbCKzM1CH95YZIAA6YsRdXAdMGgu/C5OCsoUPhzwMpqS 3+w0m83dnt7BT1bVDLa4vvjw2hR8BVUZYkNyHwh4ogugpg+k1eL3+ej6XTep3/EZX3KW9235PyGpk TLF22aW4SESYVKSYiU3OKRCiOzFCnrQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eP7xd-0008OV-Kd; Wed, 13 Dec 2017 14:24:37 +0000 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eP7xY-0008Li-RS for linux-arm-kernel@lists.infradead.org; Wed, 13 Dec 2017 14:24:34 +0000 Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7] helo=dude.pengutronix.de.) by metis.ext.pengutronix.de with esmtp (Exim 4.84_2) (envelope-from ) id 1eP7xC-0004ll-Od; Wed, 13 Dec 2017 15:24:10 +0100 From: Philipp Zabel To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: dts: imx51: add CodaHx4 VPU Date: Wed, 13 Dec 2017 15:24:06 +0100 Message-Id: <20171213142406.5088-1-p.zabel@pengutronix.de> X-Mailer: git-send-email 2.11.0 X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::7 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171213_062433_081155_7F23A482 X-CRM114-Status: UNSURE ( 9.46 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabio Estevam , Philipp Zabel , Shawn Guo , Chris Healy , kernel@pengutronix.de MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add the CodaHx4 VPU to the i.MX51 device tree. Signed-off-by: Philipp Zabel Reviewed-by: Fabio Estevam --- This patch should only be applied once the patch to fix VPU register access on i.MX51 [1] is merged. The coda driver with patches [2] applied will start accessing VPU registers on i.MX51, which hangs the system without [1]. [1] https://patchwork.kernel.org/patch/10109781/ ("clk: imx51: uart4, uart5 gates only exist on imx50, imx53") [2] https://patchwork.linuxtv.org/patch/45929/ ("media: dt-bindings: coda: Add compatible for CodaHx4 on i.MX51") https://patchwork.linuxtv.org/patch/45930/ ("media: coda: Add i.MX51 (CodaHx4) support") --- arch/arm/boot/dts/imx51.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/imx51.dtsi b/arch/arm/boot/dts/imx51.dtsi index 378be720b3c76..6d6c19ede2be0 100644 --- a/arch/arm/boot/dts/imx51.dtsi +++ b/arch/arm/boot/dts/imx51.dtsi @@ -597,6 +597,17 @@ clock-names = "ipg", "ahb", "ptp"; status = "disabled"; }; + + vpu@83ff4000 { + compatible = "fsl,imx51-vpu", "cnm,codahx4"; + reg = <0x83ff4000 0x1000>; + interrupts = <9>; + clocks = <&clks IMX5_CLK_VPU_REFERENCE_GATE>, + <&clks IMX5_CLK_VPU_GATE>; + clock-names = "per", "ahb"; + resets = <&src 1>; + iram = <&iram>; + }; }; }; };