From patchwork Wed Nov 16 13:11:29 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 82507 Delivered-To: patch@linaro.org Received: by 10.140.97.165 with SMTP id m34csp144519qge; Wed, 16 Nov 2016 05:11:50 -0800 (PST) X-Received: by 10.99.133.200 with SMTP id u191mr8171655pgd.28.1479301910060; Wed, 16 Nov 2016 05:11:50 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p62si31819219pfl.255.2016.11.16.05.11.49; Wed, 16 Nov 2016 05:11:50 -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 S1753244AbcKPNLs (ORCPT + 4 others); Wed, 16 Nov 2016 08:11:48 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:16079 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753223AbcKPNLm (ORCPT ); Wed, 16 Nov 2016 08:11:42 -0500 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OGQ00KNBKNFAJ60@mailout1.w1.samsung.com> for linux-samsung-soc@vger.kernel.org; Wed, 16 Nov 2016 13:11:39 +0000 (GMT) Received: from eusmges3.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20161116131139eucas1p1aef4b275d75b7dfef1f870e047361599~HiT1ZtsXb0624206242eucas1p1O; Wed, 16 Nov 2016 13:11:39 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3.samsung.com (EUCPMTA) with SMTP id 19.47.11330.A0B5C285; Wed, 16 Nov 2016 13:11:38 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20161116131138eucas1p193a3f9016a86086be901748212fa9597~HiT004VnI3023730237eucas1p1A; Wed, 16 Nov 2016 13:11:38 +0000 (GMT) X-AuditID: cbfec7f2-f79556d000002c42-77-582c5b0abe9d Received: from eusync2.samsung.com ( [203.254.199.212]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id C4.01.07726.01B5C285; Wed, 16 Nov 2016 13:11:44 +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 <0OGQ0095DKNA5380@eusync2.samsung.com>; Wed, 16 Nov 2016 13:11:38 +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 3/3] arm64: dts: exynos: TM2 - add support for MFC video codec device Date: Wed, 16 Nov 2016 14:11:29 +0100 Message-id: <1479301889-11393-4-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1479301889-11393-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrPIsWRmVeSWpSXmKPExsWy7djP87pc0ToRBk8PWllsnLGe1eL6l+es FufPb2C3mHF+H5PF2iN32S0Ov2lntZgx+SWbA7vHplWdbB59W1YxenzeJBfAHMVlk5Kak1mW WqRvl8CV8fDNetaCQ8IVp6etZm1gvMffxcjJISFgInFkfz8jhC0mceHeerYuRi4OIYGljBJn tu1mhXA+M0rc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0uLc9NxiQ73i xNzi0rx0veT83E2MwMDdduzn5h2MlzYGH2IU4GBU4uFdoK4dIcSaWFZcmXuIUYKDWUmEty5C J0KINyWxsiq1KD++qDQntfgQoynQTROZpUST84FRlVcSb2hiaG5paGRsYWFuZKQkzlvy4Uq4 kEB6YklqdmpqQWoRTB8TB6dUAyOL4+vPv3+8dJr6rPNcmpetYUbO+/mHplZGFMqW2umvFjv1 N7BnEXdyUuXt/qCTitMfmu5d6dAq/nxpnDBnr+FffeUnwq5Ft2sV++Mu3d37PDz6kkff08YH 8w2tiyvWv9+bY1az2b087nijI2eI95q999skj4bGaW43kP0W5BRVWS65yVHztBJLcUaioRZz UXEiAK+HY7ByAgAA X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20161116131138eucas1p193a3f9016a86086be901748212fa9597 X-Msg-Generator: CA X-Sender-IP: 182.198.249.179 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: 20161116131138eucas1p193a3f9016a86086be901748212fa9597 X-RootMTR: 20161116131138eucas1p193a3f9016a86086be901748212fa9597 References: <1479301889-11393-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 Exynos 5433 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 | 34 +++++++++++++++++++++++++++ 2 files changed, 39 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 2e76b30..93efbeb 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts +++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts @@ -927,6 +927,11 @@ <&cmu_top CLK_MOUT_BUS_PLL_USER>; }; +&cmu_mfc { + assigned-clocks = <&cmu_mfc CLK_MOUT_ACLK_MFC_400_USER>; + assigned-clock-parents = <&cmu_top CLK_ACLK_MFC_400>; +}; + &spi_1 { cs-gpios = <&gpd6 3 GPIO_ACTIVE_HIGH>; status = "okay"; diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi b/arch/arm64/boot/dts/exynos/exynos5433.dtsi index 68127ab..31bffe1 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi @@ -864,6 +864,20 @@ iommus = <&sysmmu_jpeg>; }; + mfc: codec@152E0000 { + compatible = "samsung,exynos5433-mfc"; + reg = <0x152E0000 0x10000>; + interrupts = ; + clocks = <&cmu_mfc CLK_PCLK_MFC>, + <&cmu_mfc CLK_ACLK_MFC>, + <&cmu_mfc CLK_ACLK_XIU_MFCX>; + clock-names = "pclk", + "aclk", + "aclk_xiu"; + iommus = <&sysmmu_mfc_0>, <&sysmmu_mfc_1>; + iommu-names = "left", "right"; + }; + sysmmu_decon0x: sysmmu@0x13a00000 { compatible = "samsung,exynos-sysmmu"; reg = <0x13a00000 0x1000>; @@ -924,6 +938,26 @@ #iommu-cells = <0>; }; + sysmmu_mfc_0: sysmmu@0x15200000 { + compatible = "samsung,exynos-sysmmu"; + reg = <0x15200000 0x1000>; + interrupts = <0 352 0>; + 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 = <0 354 0>; + 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>;