From patchwork Wed May 9 08:59:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 135230 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp5381162lji; Wed, 9 May 2018 02:00:02 -0700 (PDT) X-Google-Smtp-Source: AB8JxZq5WWVeoyB4OIHgIHPr1Epw9/3C0IcfkTvpTXsuwCkdD7HwpnjxTO37Zb/ae0n3R/rv6s7D X-Received: by 10.98.10.137 with SMTP id 9mr30964969pfk.112.1525856402115; Wed, 09 May 2018 02:00:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525856402; cv=none; d=google.com; s=arc-20160816; b=wgQ0r26BOIflvOdY+57dlYFjgD9N0aBQo1XRKyWOhMXx8KApzyrMp18LlryecajcDB TvzbwPH2/XBw0BTksCxdGns7cDEw6D1nxBoXcnEU9uIU16xwzehd1Mauy5/Z+1EH4jRd aRDGK5cQ+si05tg81VIyeCq1vBVDbj7zXMW4I44hmAY4ZIXS3oSFa4sTqG9rSDAs81Ig GCTrhX3+ZFksQMBXMx6d6SgOzvh6l0+dMIrXAmcTJH/IQjpjX7VoIVv6C8+5ZGtPaizr K0Hm1FWu0zYtDxyCfFab5Obwu65Oqtk0OHPzW+QKc7oIv+TIyCTFwrgz93QLWzGwxz8h Dd+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter :arc-authentication-results; bh=/tYmZjxyP6+J8+CoToRqkJSHUbo3Tv6nQxXW7FrROcA=; b=npDxHWApO0Ry+IPqmDJ9fvZSlQkvHKckpur3l7/AYkeoJpGxpfqfPnqHajrDsfxlPJ hqfYSwGc8qtt33MYPyxfE+pRowHp1blYWgzfn233StFDL/Bx4HECmf9Mq5S1VSgZnGQ7 cLHWGyKQP9TykJI4AHdv5ehwcH1AxGt07W+2vBeku5thLA2qemGFp7w8oy41eGnp+MwD vlMjxOBfxxLafB7to/FTnx0AWNcNVRpgIa6qjuZgrVOGpckl0xAcR2/Oi1OBN1bOopfF HoFgQR2CZAAtBQPxBHHeJK6bn3TYYSyKjyULJjQab/QiCxXEx0TYelxc7+WkXm3Dq4st hErg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@samsung.com header.s=mail20170921 header.b=a+ieKQWU; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f2-v6si27303963pli.569.2018.05.09.02.00.01; Wed, 09 May 2018 02:00:02 -0700 (PDT) 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; dkim=neutral (body hash did not verify) header.i=@samsung.com header.s=mail20170921 header.b=a+ieKQWU; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934471AbeEIJAB (ORCPT + 3 others); Wed, 9 May 2018 05:00:01 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:54089 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934482AbeEII7r (ORCPT ); Wed, 9 May 2018 04:59:47 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20180509085945euoutp0175bcf0cce138960f731e0179531c5daf~s7kxo16Nq2268622686euoutp013; Wed, 9 May 2018 08:59:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20180509085945euoutp0175bcf0cce138960f731e0179531c5daf~s7kxo16Nq2268622686euoutp013 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1525856385; bh=7+leBivoqLi6yKI7lymCnlgNjXUDtO1O6L02pZLbbqA=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=a+ieKQWUh9S4VLbGGiSL6MASMj5a2yD1cRIcqGdyJBDIbF90rSoLtpqofyAPRSSaM nA2kKGz7HNgCy+GuKeFSaKAHfv0v481+BWozW1slnUzR3nPwSdaGBD0S0PnM1R+Wd+ ykD3i9OU9+vJT+ddESb+VOLmOrq6z2Gzaw3gSrsg= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180509085944eucas1p14103630ea073618d9602a5ed425e2294~s7kwz3zK91432614326eucas1p1R; Wed, 9 May 2018 08:59:44 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 4B.A6.17380.088B2FA5; Wed, 9 May 2018 09:59:44 +0100 (BST) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180509085943eucas1p141b824e4fa961e24d44808a560e64bc7~s7kv50S-20779307793eucas1p1V; Wed, 9 May 2018 08:59:43 +0000 (GMT) X-AuditID: cbfec7f4-b4fc79c0000043e4-e9-5af2b8802e9e Received: from eusync3.samsung.com ( [203.254.199.213]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 9D.D8.04183.F78B2FA5; Wed, 9 May 2018 09:59:43 +0100 (BST) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P8G00CYVEBAZM70@eusync3.samsung.com>; Wed, 09 May 2018 09:59:43 +0100 (BST) From: Marek Szyprowski To: dri-devel@lists.freedesktop.org, linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Inki Dae , Seung-Woo Kim , Andrzej Hajda , Bartlomiej Zolnierkiewicz , Tobias Jakobi , Krzysztof Kozlowski , Sylwester Nawrocki , Andrzej Pietrasiewicz , Hoegeun Kwon Subject: [PATCH v7 6/7] ARM: dts: exynos: Add mem-2-mem Scaler devices Date: Wed, 09 May 2018 10:59:27 +0200 Message-id: <20180509085928.2023-7-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.0 In-reply-to: <20180509085928.2023-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrLIsWRmVeSWpSXmKPExsWy7djPc7oNOz5FGbx7Km5xa905VotZL9tZ LDbOWM9qceXrezaL98u72Cwm3Z/AYnH+/AZ2ixnn9zFZrD1yl93i8Jt2VosZk1+yWbSt/sDq wOOxaVUnm8f97uNMHv+OsXv0bVnF6PF5k1wAaxSXTUpqTmZZapG+XQJXxpLGV4wFTZIV2yY+ ZWtgvCDcxcjJISFgInG5aw9LFyMXh5DACkaJlvsXWUASQgKfGSX2HVHqYuQAK3o+TxeiZhmj RMPB+8wQTgOTxKfOTmaQBjYBQ4mut11sILaIgJtE0+GZrCBFzAK7mCVeTH7NDpIQBkls+c8I YrMIqEr0fbjNCmLzCthI9Mx7ygJxkrzEs+nzwOo5BWwlDk04DbZNQmAFm8SkG7PYIIpcJLZv +gDVICzx6vgWdghbRuLy5G6oeL1E3/cjTBDNPYwSe1umMkEkrCUOH78ItplZgE9i0rbpzBB/ 8kp0tAlBlHhIvLk8mRXCdpSYvGs5O8TLExgl9r+dxzKBUWoBI8MqRvHU0uLc9NRio7zUcr3i xNzi0rx0veT83E2MwEg+/e/4lx2Mu/4kHWIU4GBU4uGV2PkxSog1say4MvcQowQHs5II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4fa961e24d44808a560e64bc7 X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180509085943eucas1p141b824e4fa961e24d44808a560e64bc7 X-RootMTR: 20180509085943eucas1p141b824e4fa961e24d44808a560e64bc7 References: <20180509085928.2023-1-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 From: Andrzej Pietrasiewicz There are 3 scaler devices in Exynos5420 SoCs, all are a part of MSCL power domain. MSCL power domain and SYSMMU controllers (two per each scaler device) have been already added to exynos5420.dtsi earlier, so bind them to newly added devices. Signed-off-by: Andrzej Pietrasiewicz Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos5420.dtsi | 36 +++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) -- 2.17.0 -- 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 Reviewed-by: Inki Dae diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index 717c0e6474f5..f4e8c5823bc2 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -673,6 +673,36 @@ iommus = <&sysmmu_gscl1>; }; + scaler_0: scaler@12800000 { + compatible = "samsung,exynos5420-scaler"; + reg = <0x12800000 0x1294>; + interrupts = <0 220 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clock CLK_MSCL0>; + clock-names = "mscl"; + power-domains = <&msc_pd>; + iommus = <&sysmmu_scaler0r>, <&sysmmu_scaler0w>; + }; + + scaler_1: scaler@12810000 { + compatible = "samsung,exynos5420-scaler"; + reg = <0x12810000 0x1294>; + interrupts = <0 221 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clock CLK_MSCL1>; + clock-names = "mscl"; + power-domains = <&msc_pd>; + iommus = <&sysmmu_scaler1r>, <&sysmmu_scaler1w>; + }; + + scaler_2: scaler@12820000 { + compatible = "samsung,exynos5420-scaler"; + reg = <0x12820000 0x1294>; + interrupts = <0 222 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clock CLK_MSCL2>; + clock-names = "mscl"; + power-domains = <&msc_pd>; + iommus = <&sysmmu_scaler2r>, <&sysmmu_scaler2w>; + }; + jpeg_0: jpeg@11f50000 { compatible = "samsung,exynos5420-jpeg"; reg = <0x11F50000 0x1000>; @@ -807,6 +837,7 @@ interrupts = <22 4>; clock-names = "sysmmu", "master"; clocks = <&clock CLK_SMMU_MSCL0>, <&clock CLK_MSCL0>; + power-domains = <&msc_pd>; #iommu-cells = <0>; }; @@ -816,6 +847,7 @@ interrupts = ; clock-names = "sysmmu", "master"; clocks = <&clock CLK_SMMU_MSCL1>, <&clock CLK_MSCL1>; + power-domains = <&msc_pd>; #iommu-cells = <0>; }; @@ -825,6 +857,7 @@ interrupts = ; clock-names = "sysmmu", "master"; clocks = <&clock CLK_SMMU_MSCL2>, <&clock CLK_MSCL2>; + power-domains = <&msc_pd>; #iommu-cells = <0>; }; @@ -835,6 +868,7 @@ interrupts = <27 2>; clock-names = "sysmmu", "master"; clocks = <&clock CLK_SMMU_MSCL0>, <&clock CLK_MSCL0>; + power-domains = <&msc_pd>; #iommu-cells = <0>; }; @@ -845,6 +879,7 @@ interrupts = <22 6>; clock-names = "sysmmu", "master"; clocks = <&clock CLK_SMMU_MSCL1>, <&clock CLK_MSCL1>; + power-domains = <&msc_pd>; #iommu-cells = <0>; }; @@ -855,6 +890,7 @@ interrupts = <19 6>; clock-names = "sysmmu", "master"; clocks = <&clock CLK_SMMU_MSCL2>, <&clock CLK_MSCL2>; + power-domains = <&msc_pd>; #iommu-cells = <0>; };