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: 57786 Delivered-To: patch@linaro.org Received: by 10.202.179.86 with SMTP id c83csp949433oif; Mon, 7 Dec 2015 04:10:02 -0800 (PST) X-Received: by 10.66.232.170 with SMTP id tp10mr42857773pac.38.1449490193133; Mon, 07 Dec 2015 04:09:53 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id yv4si5892919pab.119.2015.12.07.04.09.52; Mon, 07 Dec 2015 04:09:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755269AbbLGMJn (ORCPT + 6 others); Mon, 7 Dec 2015 07:09:43 -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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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(+) -- 1.9.2 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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"; };