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: 36010 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f199.google.com (mail-vc0-f199.google.com [209.85.220.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 66F5F2054F for ; Tue, 26 Aug 2014 12:14:20 +0000 (UTC) Received: by mail-vc0-f199.google.com with SMTP id la4sf44853334vcb.6 for ; Tue, 26 Aug 2014 05:14:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=b3vyfWz8+8EizfN4rU+/ocQaSNEXjN20VIcwfSFR3dM=; b=SB1Gnl1cpchn1UVbc2cdqX0poV77duK3sOy2n2FYwzq5SKFKm1mA+Wq2YUt+VMs74r gMwSrMk6Eh7/vJJk6rUz+gSaZPxZosPu64Os8zxnfUlzGfK6ZIbdfm+UQG9aB/BJqKAu PPJxwQknklHdR1MBz3bmcwqPPvucdgb+n9M16R83W8nBkOspujqGDDsvP05UXb1yW0Dn 9Brxm44/N97Apc7/S2hXczgN8VL7JATIO7BaQtrK8OBSkG0SG3qK5KbmfSfeZ9EyY1go aNKpt7LBR1fWE1jmJ2XNz3RIpgcuVEEAqZWlddfFbe8QsWl26ItaLxq4HHPEY4spUoll sLRg== X-Gm-Message-State: ALoCoQmDGLZPR6d8MWXw7g8f7Lmb/m8zCkKjWkJg93VTENmWjRzkDoSXeKhox7+2ptX7y33qKkga X-Received: by 10.236.77.42 with SMTP id c30mr18056248yhe.6.1409055260167; Tue, 26 Aug 2014 05:14:20 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.109.246 with SMTP id l109ls2701961qgf.1.gmail; Tue, 26 Aug 2014 05:14:20 -0700 (PDT) X-Received: by 10.220.247.3 with SMTP id ma3mr11543702vcb.29.1409055260024; Tue, 26 Aug 2014 05:14:20 -0700 (PDT) Received: from mail-vc0-f178.google.com (mail-vc0-f178.google.com [209.85.220.178]) by mx.google.com with ESMTPS id x16si1227166vds.107.2014.08.26.05.14.19 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 26 Aug 2014 05:14:20 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.178 as permitted sender) client-ip=209.85.220.178; Received: by mail-vc0-f178.google.com with SMTP id la4so16982209vcb.9 for ; Tue, 26 Aug 2014 05:14:19 -0700 (PDT) X-Received: by 10.220.114.66 with SMTP id d2mr11555270vcq.27.1409055259917; Tue, 26 Aug 2014 05:14:19 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.45.67 with SMTP id uj3csp193575vcb; Tue, 26 Aug 2014 05:14:19 -0700 (PDT) X-Received: by 10.70.129.106 with SMTP id nv10mr10271652pdb.24.1409055258532; Tue, 26 Aug 2014 05:14:18 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ki8si3761989pdb.231.2014.08.26.05.14.17 for ; Tue, 26 Aug 2014 05:14:18 -0700 (PDT) Received-SPF: none (google.com: linux-samsung-soc-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932538AbaHZMOB (ORCPT + 6 others); 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: list List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: m.szyprowski@samsung.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.178 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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 {