From patchwork Wed Nov 16 13:11:28 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 82509 Delivered-To: patch@linaro.org Received: by 10.140.97.165 with SMTP id m34csp144581qge; Wed, 16 Nov 2016 05:11:57 -0800 (PST) X-Received: by 10.99.213.21 with SMTP id c21mr8065705pgg.176.1479301917228; Wed, 16 Nov 2016 05:11:57 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t124si31864057pgt.334.2016.11.16.05.11.57; Wed, 16 Nov 2016 05:11:57 -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 S1752532AbcKPNLv (ORCPT + 4 others); Wed, 16 Nov 2016 08:11:51 -0500 Received: from mailout3.w1.samsung.com ([210.118.77.13]:16089 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932140AbcKPNLo (ORCPT ); Wed, 16 Nov 2016 08:11:44 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OGQ00J1CKNFHY70@mailout3.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 eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20161116131139eucas1p23405bf825eb311b5c96c51e60684ae33~HiT1U9RZB1476314763eucas1p2e; 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 78.47.11330.A0B5C285; Wed, 16 Nov 2016 13:11:38 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20161116131138eucas1p18c6a9d4469caff62cbd8a73cb443d5e0~HiT0u30mN0623706237eucas1p16; Wed, 16 Nov 2016 13:11:38 +0000 (GMT) X-AuditID: cbfec7f2-f79556d000002c42-76-582c5b0a8aec Received: from eusync2.samsung.com ( [203.254.199.212]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 90.4E.10494.FEA5C285; Wed, 16 Nov 2016 13:11:11 +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 2/3] arm64: dts: exynos: TM2 - add support for JPEG codec device Date: Wed, 16 Nov 2016 14:11:28 +0100 Message-id: <1479301889-11393-3-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+NgFtrHIsWRmVeSWpSXmKPExsWy7djP87pc0ToRBi3rTS02zljPanH9y3NW i/PnN7BbzDi/j8li7ZG77BaH37SzWsyY/JLNgd1j06pONo++LasYPT5vkgtgjuKySUnNySxL LdK3S+DK2P/iDGvBXOGKY39yGxgP83cxcnJICJhI/J32hw3CFpO4cG89kM3FISSwlFFi7YX/ 7CAJIYH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rsJjLwLGBlWMYqklhbnpucWG+kV J+YWl+al6yXn525iBIbttmM/t+xg7HoXfIhRgINRiYd3gbp2hBBrYllxZe4hRgkOZiUR3roI nQgh3pTEyqrUovz4otKc1OJDjKZAN01klhJNzgfGVF5JvKGJobmloZGxhYW5kZGSOO/UD1fC hQTSE0tSs1NTC1KLYPqYODilGhgrjqZMCbDmvznvofycB3x2ZYcO7lc6vzV3c+BfkXthv3jF N1yaUBy99mPR7AvvFhwW3hMqJ/3qeiTn/f8mDFWKbh4Osux96Uz7pdd6l3M94OJOc5L3OHxo 7X7jdTlLLuh4dDNMyNiWPCvqKLPjtUliH15tYrb998bnvsaD2eyav3L+rtp9fW+aEktxRqKh FnNRcSIASlkBcXECAAA= X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20161116131138eucas1p18c6a9d4469caff62cbd8a73cb443d5e0 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: 20161116131138eucas1p18c6a9d4469caff62cbd8a73cb443d5e0 X-RootMTR: 20161116131138eucas1p18c6a9d4469caff62cbd8a73cb443d5e0 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 JPEG 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 | 11 +++++++++++ arch/arm64/boot/dts/exynos/exynos5433.dtsi | 25 +++++++++++++++++++++++++ 2 files changed, 36 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 5ff5c30..2e76b30 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts +++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts @@ -916,6 +916,17 @@ <&cmu_top CLK_ACLK_GSCL_333>; }; +&cmu_mscl { + assigned-clocks = <&cmu_mscl CLK_MOUT_ACLK_MSCL_400_USER>, + <&cmu_mscl CLK_MOUT_SCLK_JPEG_USER>, + <&cmu_mscl CLK_MOUT_SCLK_JPEG>, + <&cmu_top CLK_MOUT_SCLK_JPEG_A>; + assigned-clock-parents = <&cmu_top CLK_ACLK_MSCL_400>, + <&cmu_top CLK_SCLK_JPEG_MSCL>, + <&cmu_mscl CLK_MOUT_SCLK_JPEG_USER>, + <&cmu_top CLK_MOUT_BUS_PLL_USER>; +}; + &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 8ecde41..68127ab 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi @@ -849,6 +849,21 @@ iommus = <&sysmmu_gscl2>; }; + jpeg: codec@15020000 { + compatible = "samsung,exynos5433-jpeg"; + reg = <0x15020000 0x10000>; + interrupts = ; + clock-names = "pclk", + "aclk", + "aclk_xiu", + "sclk"; + clocks = <&cmu_mscl CLK_PCLK_JPEG>, + <&cmu_mscl CLK_ACLK_JPEG>, + <&cmu_mscl CLK_ACLK_XIU_MSCLX>, + <&cmu_mscl CLK_SCLK_JPEG>; + iommus = <&sysmmu_jpeg>; + }; + sysmmu_decon0x: sysmmu@0x13a00000 { compatible = "samsung,exynos-sysmmu"; reg = <0x13a00000 0x1000>; @@ -899,6 +914,16 @@ #iommu-cells = <0>; }; + sysmmu_jpeg: sysmmu@0x15060000 { + compatible = "samsung,exynos-sysmmu"; + reg = <0x15060000 0x1000>; + interrupts = ; + clock-names = "pclk", "aclk"; + clocks = <&cmu_mscl CLK_PCLK_SMMU_JPEG>, + <&cmu_mscl CLK_ACLK_SMMU_JPEG>; + #iommu-cells = <0>; + }; + serial_0: serial@14c10000 { compatible = "samsung,exynos5433-uart"; reg = <0x14c10000 0x100>;