From patchwork Mon Dec 7 12:08:57 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 7783011 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 39878BEEE1 for ; Mon, 7 Dec 2015 12:09:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 557B3204A7 for ; Mon, 7 Dec 2015 12:09:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7724A203B1 for ; Mon, 7 Dec 2015 12:09:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755154AbbLGMJm (ORCPT ); Mon, 7 Dec 2015 07:09:42 -0500 Received: from mailout3.w1.samsung.com ([210.118.77.13]:21732 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755051AbbLGMJj (ORCPT ); Mon, 7 Dec 2015 07:09:39 -0500 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NYZ00MLHLS0TNA0@mailout3.w1.samsung.com>; Mon, 07 Dec 2015 12:09:36 +0000 (GMT) X-AuditID: cbfec7f5-f79b16d000005389-85-56657700016c Received: from eusync1.samsung.com ( [203.254.199.211]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id CB.E3.21385.00775665; Mon, 7 Dec 2015 12:09:36 +0000 (GMT) Received: from amdc1339.digital.local ([106.116.147.30]) by eusync1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NYZ00FEQLRTAS00@eusync1.samsung.com>; Mon, 07 Dec 2015 12:09:36 +0000 (GMT) From: Marek Szyprowski To: linux-media@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , devicetree@vger.kernel.org, Sylwester Nawrocki , Kamil Debski , Laurent Pinchart , Andrzej Hajda , Kukjin Kim , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz Subject: [PATCH 2/7] ARM: dts: exynos4412-odroid*: enable MFC device Date: Mon, 07 Dec 2015 13:08:57 +0100 Message-id: <1449490142-27502-3-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.2 In-reply-to: <1449490142-27502-1-git-send-email-m.szyprowski@samsung.com> References: <1449490142-27502-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrELMWRmVeSWpSXmKPExsVy+t/xy7oM5alhBk0deha31p1jtdg4Yz2r xfwjQNaP1xfYLF6/MLTof/ya2aJz4hJ2i54NW1ktZpzfx2Sx9shddovDb9pZHbg9ZnfMZPXY tKqTzaNvyypGj8+b5AJYorhsUlJzMstSi/TtErgyNh14yFowlaui4dxHtgbGhRxdjJwcEgIm EguvLWaGsMUkLtxbz9bFyMUhJLCUUWLXkfusEE4Tk0TPmevsIFVsAoYSXW+72EBsEQEniYWz /rKDFDELdDBLPJi5kBUkISzgIvHmagsLiM0ioCpx8dM+MJtXwEPi3sN7LBDr5CT+v1zBBGJz CnhKPPz5nbGLkQNom4fE4y0ZExh5FzAyrGIUTS1NLihOSs810itOzC0uzUvXS87P3cQICbmv OxiXHrM6xCjAwajEwzshMyVMiDWxrLgy9xCjBAezkgivbGZqmBBvSmJlVWpRfnxRaU5q8SFG aQ4WJXHembvehwgJpCeWpGanphakFsFkmTg4pRoYF99h2buL63xPtvvNuhMm28+WW4eyi+Qp qveU8s/5f+xKyG2fjPX9+f/u9m1wmPnIa96CV8wr1lm6db9N/fI00uDd6VkRTz5OE57BfOH8 7R/sqrnTwr6X6GtVf59bpJZ/vTxi/ZnusL3id79K/ovfwLjq45M/ljGWU9gVZa9fF16m9GXj 3PLfG5RYijMSDbWYi4oTAS5PEiA1AgAA Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Enable support for Multimedia Codec (MFC) device for all Exynos4412-based Odroid boards. Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi index 395c3ca9601e..90b952e29ebf 100644 --- a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi +++ b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi @@ -18,6 +18,24 @@ stdout-path = &serial_1; }; + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + mfc_left: region@77000000 { + compatible = "shared-dma-pool"; + reusable; + reg = <0x77000000 0x1000000>; + }; + + mfc_right: region@78000000 { + compatible = "shared-dma-pool"; + reusable; + reg = <0x78000000 0x1000000>; + }; + }; + firmware@0204F000 { compatible = "samsung,secure-firmware"; reg = <0x0204F000 0x1000>; @@ -447,6 +465,12 @@ clock-names = "iis", "i2s_opclk0", "i2s_opclk1"; }; +&mfc { + memory-region = <&mfc_left>, <&mfc_right>; + memory-region-names = "left", "right"; + status = "okay"; +}; + &mixer { status = "okay"; };