From patchwork Tue Aug 26 12:09:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 4781061 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 6F97A9F383 for ; Tue, 26 Aug 2014 12:14:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6A1F0201C0 for ; Tue, 26 Aug 2014 12:14:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3883B2015A for ; Tue, 26 Aug 2014 12:14:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932538AbaHZMOB (ORCPT ); Tue, 26 Aug 2014 08:14:01 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:15570 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754601AbaHZMN5 (ORCPT ); Tue, 26 Aug 2014 08:13:57 -0400 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout2.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NAW0062HY3ZTI40@mailout2.w1.samsung.com>; Tue, 26 Aug 2014 13:16:47 +0100 (BST) X-AuditID: cbfec7f5-b7f776d000003e54-0e-53fc7a02160d Received: from eusync4.samsung.com ( [203.254.199.214]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id 77.35.15956.20A7CF35; Tue, 26 Aug 2014 13:13:54 +0100 (BST) Received: from amdc1339.digital.local ([106.116.147.30]) by eusync4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NAW00F45XYW5O50@eusync4.samsung.com>; Tue, 26 Aug 2014 13:13:54 +0100 (BST) From: Marek Szyprowski To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Kyungmin Park , linaro-mm-sig@lists.linaro.org, linux-media@vger.kernel.org, Arnd Bergmann , Michal Nazarewicz , Grant Likely , Tomasz Figa , Laura Abbott , Josh Cartwright , Joonsoo Kim Subject: [PATCH 7/7] ARM: DTS: exynos4412-odroid*: enable MFC device Date: Tue, 26 Aug 2014 14:09:48 +0200 Message-id: <1409054988-32758-8-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.2 In-reply-to: <1409054988-32758-1-git-send-email-m.szyprowski@samsung.com> References: <1409054988-32758-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrFLMWRmVeSWpSXmKPExsVy+t/xa7pMVX+CDTp+iVn8nXSM3eLAnx2M Fiu7m9ksdq57x2hxtukNu8X2zhnsFl+uPGSy2PT4GqvF5V1z2Cx6NmxltZhxfh+Txdojd9kt FhxvYbVYP+M1iwOfx+9fkxg9Lvf1Mnl0vb3C5HHn2h42j81L6j1u/3vM7LHuzysmj74tqxg9 Pm+SC+CM4rJJSc3JLEst0rdL4MqYdmMaY0E/V8X5NYeZGhhncnQxcnJICJhITJu9kR3CFpO4 cG89WxcjF4eQwFJGia0bJ7BDOH1MEnOWzmQEqWITMJToetvFBmKLCGRL/Pg2mQXEZhZYyiwx b5ZUFyMHh7CAi8SdZi6QMIuAqsSR6y1MIDavgIfEksbDrBDL5CT+v1zBBFLOKeApcW5KNUhY CKhk4/T3LBMYeRcwMqxiFE0tTS4oTkrPNdIrTswtLs1L10vOz93ECAnfrzsYlx6zOsQowMGo xMP7IO13sBBrYllxZe4hRgkOZiUR3h9Jf4KFeFMSK6tSi/Lji0pzUosPMTJxcEo1MMaYyBsZ f5glfv92okDJjRx3ZePX/lHefAeirodFSqod+q/ItlpskwWT2xdb0VuyFy7sWL7/SbGG9tPb y6zKFS4fe/WOwVBjedB+pqRTTy2eH+Jarirf8Ok6x+qH3n38JbMkw6pOu+TOiNyqWWQksdPL 5bXwq2qRu11Z0yIfz1aRvfqm6NSjv0osxRmJhlrMRcWJAM0aEiM9AgAA Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 adadaf97ac01..3728c667e7ec 100644 --- a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi +++ b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi @@ -11,6 +11,24 @@ #include "exynos4412.dtsi" / { + 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>; @@ -367,6 +385,12 @@ ehci: ehci@12580000 { status = "okay"; }; + + codec@13400000 { + status = "okay"; + memory-region = <&mfc_left>, <&mfc_right>; + memory-region-names = "left", "right"; + }; }; &pinctrl_1 {