From patchwork Thu Dec 8 15:24:10 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tretter X-Patchwork-Id: 9466581 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 994346071E for ; Thu, 8 Dec 2016 15:42:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8CA42284FE for ; Thu, 8 Dec 2016 15:42:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8162328508; Thu, 8 Dec 2016 15:42:05 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2A6C028501 for ; Thu, 8 Dec 2016 15:42:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932488AbcLHPl6 (ORCPT ); Thu, 8 Dec 2016 10:41:58 -0500 Received: from metis.ext.4.pengutronix.de ([92.198.50.35]:54181 "EHLO metis.ext.4.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932707AbcLHPlz (ORCPT ); Thu, 8 Dec 2016 10:41:55 -0500 Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cF0Ye-0007Qo-6g; Thu, 08 Dec 2016 16:24:28 +0100 Received: from mtr by dude.hi.pengutronix.de with local (Exim 4.88) (envelope-from ) id 1cF0Yd-0005l4-UW; Thu, 08 Dec 2016 16:24:27 +0100 From: Michael Tretter To: linux-media@vger.kernel.org Cc: p.zabel@pengutronix.de, Michael Tretter Subject: [PATCH 3/9] ARM: dts: imx6qdl: Add VDOA phandle to CODA node Date: Thu, 8 Dec 2016 16:24:10 +0100 Message-Id: <20161208152416.16031-3-m.tretter@pengutronix.de> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20161208152416.16031-1-m.tretter@pengutronix.de> References: <20161208152416.16031-1-m.tretter@pengutronix.de> X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::7 X-SA-Exim-Mail-From: mtr@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-media@vger.kernel.org Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The CODA driver should use the VDOA to transform the tiled format to raster-ordered format, if the platform has a VDOA. Link the CODA and VDOA nodes to tell the CODA driver that it can use the VDOA. Signed-off-by: Michael Tretter --- Documentation/devicetree/bindings/media/coda.txt | 2 ++ arch/arm/boot/dts/imx6qdl.dtsi | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/media/coda.txt b/Documentation/devicetree/bindings/media/coda.txt index 2865d04..7900788 100644 --- a/Documentation/devicetree/bindings/media/coda.txt +++ b/Documentation/devicetree/bindings/media/coda.txt @@ -17,6 +17,7 @@ Required properties: determined by the clock-names property. - clock-names : Should be "ahb", "per" - iram : phandle pointing to the SRAM device node +- vdoa : phandle pointing to the VDOA device node Example: @@ -27,4 +28,5 @@ vpu: vpu@63ff4000 { clocks = <&clks 63>, <&clks 63>; clock-names = "ahb", "per"; iram = <&ocram>; + vdoa = <&vdoa>; }; diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi index 69e3668..7bf3429 100644 --- a/arch/arm/boot/dts/imx6qdl.dtsi +++ b/arch/arm/boot/dts/imx6qdl.dtsi @@ -427,6 +427,7 @@ power-domains = <&gpc 1>; resets = <&src 1>; iram = <&ocram>; + vdoa = <&vdoa>; }; aipstz@0207c000 { /* AIPSTZ1 */ @@ -1152,7 +1153,7 @@ }; }; - vdoa@021e4000 { + vdoa: vdoa@021e4000 { compatible = "fsl,imx6q-vdoa"; reg = <0x021e4000 0x4000>; interrupts = <0 18 IRQ_TYPE_LEVEL_HIGH>;