From patchwork Thu Nov 17 09:01:57 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 82679 Delivered-To: patch@linaro.org Received: by 10.140.97.165 with SMTP id m34csp631123qge; Thu, 17 Nov 2016 01:02:16 -0800 (PST) X-Received: by 10.99.171.10 with SMTP id p10mr5327576pgf.36.1479373335943; Thu, 17 Nov 2016 01:02:15 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z63si2327420pff.293.2016.11.17.01.02.15; Thu, 17 Nov 2016 01:02:15 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-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 linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751968AbcKQJCO (ORCPT + 4 others); Thu, 17 Nov 2016 04:02:14 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:46198 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751518AbcKQJCM (ORCPT ); Thu, 17 Nov 2016 04:02:12 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OGS00A8H3RMUS80@mailout1.w1.samsung.com> for linux-samsung-soc@vger.kernel.org; Thu, 17 Nov 2016 09:02:10 +0000 (GMT) Received: from eusmges1.samsung.com (unknown [203.254.199.239]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20161117090209eucas1p2d833b8098cb915f477e8aaebb2d724e4~HyjSJ1xNw1924719247eucas1p2t; Thu, 17 Nov 2016 09:02:09 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1.samsung.com (EUCPMTA) with SMTP id B4.0A.23383.2127D285; Thu, 17 Nov 2016 09:02:10 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20161117090208eucas1p1f7351d61845d828038595ecc2ea73a28~HyjRh55ne0985409854eucas1p1_; Thu, 17 Nov 2016 09:02:08 +0000 (GMT) X-AuditID: cbfec7ef-f79e76d000005b57-8f-582d7212c848 Received: from eusync2.samsung.com ( [203.254.199.212]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id B2.BB.10494.6F17D285; Thu, 17 Nov 2016 09:01:42 +0000 (GMT) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OGS00DG23RGUWA0@eusync2.samsung.com>; Thu, 17 Nov 2016 09:02:08 +0000 (GMT) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Sylwester Nawrocki , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , Seung-Woo Kim , Chanwoo Choi Subject: [PATCH v2 3/3] arm64: dts: exynos: TM2 - add support for MFC video codec device Date: Thu, 17 Nov 2016 10:01:57 +0100 Message-id: <1479373317-11711-4-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1479373317-11711-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrHIsWRmVeSWpSXmKPExsWy7djPc7pCRboRBhtvSFpsnLGe1eL6l+es FufPb2C3mHF+H5PF2iN32S0Ov2lntZgx+SWbA7vHplWdbB59W1YxenzeJBfAHMVlk5Kak1mW WqRvl8CVMft+D3vBapGKJfd+sDYw3hHoYuTkkBAwkVjwezUrhC0mceHeerYuRi4OIYFljBKL f6xk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qZ++ImMPIuYGRYxSiSWlqcm55bbKRX nJhbXJqXrpecn7uJERi224793LKDsetd8CFGAQ5GJR7eA/k6EUKsiWXFlbmHGCU4mJVEeNsy dSOEeFMSK6tSi/Lji0pzUosPMZoCnTSRWUo0OR8YU3kl8YYmhuaWhkbGFhbmRkZK4rxTP1wJ FxJITyxJzU5NLUgtgulj4uCUamCcXpqus/SD7A3+rwElk6sXMYQ7p5RwNt5c6KsVNOFqVQnb lLNhs95PeV11xKrYyphdW/wPc5qvc7D1vsqUy4/vel32esO8RHHJp0bz7SckDJb+tonxjGc9 YaT3bfOedtGmorxjEid2aU/LcRZg7eRrWi/VvSTAm9fos0d2d8y1Oekp29rOHlBiKc5INNRi LipOBAAvUVuNcQIAAA== X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20161117090208eucas1p1f7351d61845d828038595ecc2ea73a28 X-Msg-Generator: CA X-Sender-IP: 182.198.249.180 X-Local-Sender: =?UTF-8?B?TWFyZWsgU3p5cHJvd3NraRtTUlBPTC1LZXJuZWwgKFRQKRs=?= =?UTF-8?B?7IK87ISx7KCE7J6QG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Global-Sender: =?UTF-8?B?TWFyZWsgU3p5cHJvd3NraRtTUlBPTC1LZXJuZWwgKFRQKRtT?= =?UTF-8?B?YW1zdW5nIEVsZWN0cm9uaWNzG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Sender-Code: =?UTF-8?B?QzEwG0VIURtDMTBDRDAyQ0QwMjczOTI=?= CMS-TYPE: 201P X-HopCount: 7 X-CMS-RootMailID: 20161117090208eucas1p1f7351d61845d828038595ecc2ea73a28 X-RootMTR: 20161117090208eucas1p1f7351d61845d828038595ecc2ea73a28 References: <1479373317-11711-1-git-send-email-m.szyprowski@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org This patch adds device nodes for MFC video codec device to Exynos5433 SoC dtsi and proper initial clock configuration to TM2 dts. Signed-off-by: Marek Szyprowski --- arch/arm64/boot/dts/exynos/exynos5433-tm2.dts | 5 +++++ arch/arm64/boot/dts/exynos/exynos5433.dtsi | 32 +++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" 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/arm64/boot/dts/exynos/exynos5433-tm2.dts b/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts index 16490e1e596f..235912dd823d 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts +++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts @@ -203,6 +203,11 @@ <&cmu_top CLK_ACLK_GSCL_333>; }; +&cmu_mfc { + assigned-clocks = <&cmu_mfc CLK_MOUT_ACLK_MFC_400_USER>; + assigned-clock-parents = <&cmu_top CLK_ACLK_MFC_400>; +}; + &cmu_mscl { assigned-clocks = <&cmu_mscl CLK_MOUT_ACLK_MSCL_400_USER>, <&cmu_mscl CLK_MOUT_SCLK_JPEG_USER>, diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi b/arch/arm64/boot/dts/exynos/exynos5433.dtsi index 4660c8576a33..2a575af9e63e 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi @@ -849,6 +849,18 @@ iommus = <&sysmmu_jpeg>; }; + mfc: codec@152E0000 { + compatible = "samsung,exynos5433-mfc"; + reg = <0x152E0000 0x10000>; + interrupts = ; + clock-names = "pclk", "aclk", "aclk_xiu"; + clocks = <&cmu_mfc CLK_PCLK_MFC>, + <&cmu_mfc CLK_ACLK_MFC>, + <&cmu_mfc CLK_ACLK_XIU_MFCX>; + iommus = <&sysmmu_mfc_0>, <&sysmmu_mfc_1>; + iommu-names = "left", "right"; + }; + sysmmu_decon0x: sysmmu@0x13a00000 { compatible = "samsung,exynos-sysmmu"; reg = <0x13a00000 0x1000>; @@ -909,6 +921,26 @@ #iommu-cells = <0>; }; + sysmmu_mfc_0: sysmmu@0x15200000 { + compatible = "samsung,exynos-sysmmu"; + reg = <0x15200000 0x1000>; + interrupts = ; + clock-names = "pclk", "aclk"; + clocks = <&cmu_mfc CLK_PCLK_SMMU_MFC_0>, + <&cmu_mfc CLK_ACLK_SMMU_MFC_0>; + #iommu-cells = <0>; + }; + + sysmmu_mfc_1: sysmmu@0x15210000 { + compatible = "samsung,exynos-sysmmu"; + reg = <0x15210000 0x1000>; + interrupts = ; + clock-names = "pclk", "aclk"; + clocks = <&cmu_mfc CLK_PCLK_SMMU_MFC_1>, + <&cmu_mfc CLK_ACLK_SMMU_MFC_1>; + #iommu-cells = <0>; + }; + serial_0: serial@14c10000 { compatible = "samsung,exynos5433-uart"; reg = <0x14c10000 0x100>;