From patchwork Wed Nov 29 11:26:33 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 119959 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp2924329qgn; Wed, 29 Nov 2017 03:26:58 -0800 (PST) X-Google-Smtp-Source: AGs4zMYkJedTZVxqQA+MknrCd2WNd/Feb/y7EeYioOm34Zf5qUxZQiqPqYZXIwopnRWnWS98YpqG X-Received: by 10.84.245.22 with SMTP id i22mr2596579pll.123.1511954818841; Wed, 29 Nov 2017 03:26:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511954818; cv=none; d=google.com; s=arc-20160816; b=QUHAdqnLjBCKRmfCSmcdAuYEDOC7np2wrRS0PdBidR/48JPT8X31mhd/1G8mbNsDE9 ch/Z2ujdcG85kBNO4yzJq1lypVbelcH1wO/V5WcflYIIqwgWDR27kSNpwXwHeUUug+8L XGnsIXajubCBTZBl2U4tdnLhFMwqoXQ6WhSM0grWQ6h+x7oY5DGpVWRbjw6isuVXJGuJ nyvkJyEnNlflcHzbcR9awl7IpTCW6NjoU11Y3Kd6nWBBklVlHEnq3quCYPVYFXDE72Ge FoXJWy/h6UrLAY8fUfmgEH0RaaGLGWkrylEUdxpSnl1cS2rRrGH5iDkFLcCjY28tvUw/ wDrA== 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=v641W5o0k3osrdZ9g4F0nVR3/dspQ7Kz1Wu3ZmS9IsM=; b=1ChxYwQYQW6/NIWcdcQYars2kH2Rb+x7grTzgwuWUCQD4oBMlFuPg9u2BXuasdC3we A1hlQJD4wJ0KoiFEAFPZ9k26KHm1mIcGZ3UHz3A9F2tgTpNb8U6hZwNfvQpjFl85peb9 Kn7VH4TERPJsb0kJva0a0fC3vlSNEjASAzRzm5jBXm7wUR0/2iazMzCjcavM5YyjcP6R oH+Jsd4xWJ8U5xc481tin+H3Ufvv8sHHdSnqR6/lfjdl9gok1Tdndxw1o7wYTQPSuDut 16NOqO9nUss7xZzqSqQcOI4sXYZnGx8fp+d5ktfkEv1QXFtViIN7RD9bX7DjA/zjV2Zs EDZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@samsung.com header.s=mail20170921 header.b=ig8eDO5Z; 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 37si1146584plq.529.2017.11.29.03.26.58; Wed, 29 Nov 2017 03:26:58 -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; dkim=neutral (body hash did not verify) header.i=@samsung.com header.s=mail20170921 header.b=ig8eDO5Z; 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 S932293AbdK2L04 (ORCPT + 3 others); Wed, 29 Nov 2017 06:26:56 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:37118 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932247AbdK2L0w (ORCPT ); Wed, 29 Nov 2017 06:26:52 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20171129112650euoutp0104527c776ece9250676633acbf295d54~7iuPJVEtj2810928109euoutp01u; Wed, 29 Nov 2017 11:26:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20171129112650euoutp0104527c776ece9250676633acbf295d54~7iuPJVEtj2810928109euoutp01u DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1511954810; bh=mN7VE66nRk/Wj1cTksdYk5qxxbbM+jMvHEAi9DSkW64=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=ig8eDO5ZW19U/2ckac84m4/IhvcAkl+ZRN+4hK3/lrFOkTtr+ILmEBOq9aMA4NqnN 6D2QSMXVHRsQSaPdvL1ULE7T81xg7eod1ZUZadaKu593Xft/hSnydc0jfy+/zu+PLv oKQfQSiYQxBMFqP6Z2asCD8N4josD3Hjz754mVFQ= Received: from eusmges5.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20171129112650eucas1p1d36f38c81e0e573add111297a7d865e9~7iuOdn1Ai2569625696eucas1p1C; Wed, 29 Nov 2017 11:26:50 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges5.samsung.com (EUCPMTA) with SMTP id 99.F7.12743.9799E1A5; Wed, 29 Nov 2017 11:26:49 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20171129112649eucas1p1e631c8dd108b28b39924e3b3228dfa73~7iuNu-yh-2568025680eucas1p1o; Wed, 29 Nov 2017 11:26:49 +0000 (GMT) X-AuditID: cbfec7f5-f79d06d0000031c7-70-5a1e9979f368 Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 89.C3.18832.9799E1A5; Wed, 29 Nov 2017 11:26:49 +0000 (GMT) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P06008RTFSLHZ20@eusync4.samsung.com>; Wed, 29 Nov 2017 11:26:49 +0000 (GMT) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Sylwester Nawrocki , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , Chanwoo Choi , Inki Dae Subject: [PATCH v2 1/6] arm64: dts: exynos: Add GSCL power domain to Exynos 5433 SoC Date: Wed, 29 Nov 2017 12:26:33 +0100 Message-id: <20171129112638.15813-2-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.15.0 In-reply-to: <20171129112638.15813-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrKIsWRmVeSWpSXmKPExsWy7djPc7qVM+WiDDY8N7DYOGM9q8X1L89Z LSbdn8Bicf78BnaLGef3MVmsPXKX3eLwm3ZWB3aPTas62Tz6tqxi9Pi8SS6AOYrLJiU1J7Ms tUjfLoEr4+SqhcwFr4Uqbkx+wtjAeJOvi5GTQ0LARKL5+1I2CFtM4sK99UA2F4eQwFJGieNf HjBDOJ8ZJX7MPckM19GznwkisYxR4tK1PiingUniyvYudpAqNgFDia63XWBzRQRUJT63LWAH KWIWaGOS2HWrjRUkISwQJnHh2R6wsSxARQf397KA2LwCthIzZr5hgVgnL7H4+06wQZwCdhK3 DjawggySEPjLKnH36wtWiCIXibOnn0LdJyzx6vgWdghbRqKz4yAThN3PKNHUqg1hz2CUOPeW F8K2ljh8/CLYHGYBPolJ26YDzeEAivNKdLQJQZR4SMyesgJqpKNEy6vpjBAfT2SU6G+4wj6B UXoBI8MqRpHU0uLc9NRiU73ixNzi0rx0veT83E2MwMg8/e/41x2MS49ZHWIU4GBU4uHVWC0b JcSaWFZcmXuIUYKDWUmEd4OXXJQQb0piZVVqUX58UWlOavEhRmkOFiVxXtuotkghgfTEktTs 1NSC1CKYLBMHp1QDY0OqZqvD9k+S/ysaeLJN20N0sqvPuF/ZHhF7IKRI373DM2FnjNxvxSfX H368tqRP0jqiZc7Rwoams/ZsDvqFp05qv+Jz2SCkePdd6b9DK4Nur9rwr3bRu/9TtE8Jd/OL l7rOW8ST26snbPjOLObUYf63V7N38rDzvvE3lo3Z2vyhnv/euq2LlFiKMxINtZiLihMBrUCg U8gCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupiluLIzCtJLcpLzFFi42I5/e/4Nd3KmXJRBt3zhS02zljPanH9y3NW i0n3J7BYnD+/gd1ixvl9TBZrj9xltzj8pp3Vgd1j06pONo++LasYPT5vkgtgjuKySUnNySxL LdK3S+DKOLlqIXPBa6GKG5OfMDYw3uTrYuTkkBAwkWju2c8EYYtJXLi3nq2LkYtDSGAJo8Sa O9vYIZwmJokbBy8wg1SxCRhKdL3tYgOxRQRUJT63LQArYhboYJL4d6cFLCEsECZx4dkesAYW oKKD+3tZQGxeAVuJGTPfsECsk5dY/H0nWD2ngJ3ErYMNrCC2EFDNtUcnmScw8i5gZFjFKJJa WpybnltsqFecmFtcmpeul5yfu4kRGELbjv3cvIPx0sbgQ4wCHIxKPLwaq2WjhFgTy4orcw8x SnAwK4nwbvCSixLiTUmsrEotyo8vKs1JLT7EKM3BoiTO27tndaSQQHpiSWp2ampBahFMlomD U6qBsSLOLJv7W+bZbONbL+1CNyo92xb99KxVYnxUgMhrAzXTWR1B5+Leuizu6lFqiutTnMFi 1nDPtCTVujR/+zJNrZXXeCP/PQp/Ynk1JPRU4AP9E7lHjmtPyH/3O/brquAjzfPMnpX4bZOQ 7BMPFP3Z/jc89r1L+7klhT+0g7f8KF8qce/FqTVHlViKMxINtZiLihMBWRjeux0CAAA= X-CMS-MailID: 20171129112649eucas1p1e631c8dd108b28b39924e3b3228dfa73 X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20171129112649eucas1p1e631c8dd108b28b39924e3b3228dfa73 X-RootMTR: 20171129112649eucas1p1e631c8dd108b28b39924e3b3228dfa73 References: <20171129112638.15813-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 This patch adds support for GSCL power domain to Exynos 5433 SoCs, which contains following devices: a clock controller, three GSCL video scalers and their SYSMMUs. Signed-off-by: Marek Szyprowski --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) -- 2.15.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: Chanwoo Choi diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi b/arch/arm64/boot/dts/exynos/exynos5433.dtsi index 9484d2f867dc..2a03be0c9ae7 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi @@ -443,6 +443,7 @@ clocks = <&xxti>, <&cmu_top CLK_ACLK_GSCL_111>, <&cmu_top CLK_ACLK_GSCL_333>; + power-domains = <&pd_gscl>; }; cmu_apollo: clock-controller@11900000 { @@ -543,6 +544,13 @@ <&cmu_top CLK_ACLK_CAM1_552>; }; + pd_gscl: power-domain@105c4000 { + compatible = "samsung,exynos5433-pd"; + reg = <0x105c4000 0x20>; + #power-domain-cells = <0>; + label = "GSCL"; + }; + tmu_atlas0: tmu@10060000 { compatible = "samsung,exynos5433-tmu"; reg = <0x10060000 0x200>; @@ -910,6 +918,7 @@ <&cmu_gscl CLK_ACLK_XIU_GSCLX>, <&cmu_gscl CLK_ACLK_GSCLBEND_333>; iommus = <&sysmmu_gscl0>; + power-domains = <&pd_gscl>; }; gsc_1: video-scaler@13C10000 { @@ -923,6 +932,7 @@ <&cmu_gscl CLK_ACLK_XIU_GSCLX>, <&cmu_gscl CLK_ACLK_GSCLBEND_333>; iommus = <&sysmmu_gscl1>; + power-domains = <&pd_gscl>; }; gsc_2: video-scaler@13C20000 { @@ -936,6 +946,7 @@ <&cmu_gscl CLK_ACLK_XIU_GSCLX>, <&cmu_gscl CLK_ACLK_GSCLBEND_333>; iommus = <&sysmmu_gscl2>; + power-domains = <&pd_gscl>; }; jpeg: codec@15020000 { @@ -1010,6 +1021,7 @@ clocks = <&cmu_gscl CLK_ACLK_SMMU_GSCL0>, <&cmu_gscl CLK_PCLK_SMMU_GSCL0>; #iommu-cells = <0>; + power-domains = <&pd_gscl>; }; sysmmu_gscl1: sysmmu@13c90000 { @@ -1020,6 +1032,7 @@ clocks = <&cmu_gscl CLK_ACLK_SMMU_GSCL1>, <&cmu_gscl CLK_PCLK_SMMU_GSCL1>; #iommu-cells = <0>; + power-domains = <&pd_gscl>; }; sysmmu_gscl2: sysmmu@13ca0000 { @@ -1030,6 +1043,7 @@ clocks = <&cmu_gscl CLK_ACLK_SMMU_GSCL2>, <&cmu_gscl CLK_PCLK_SMMU_GSCL2>; #iommu-cells = <0>; + power-domains = <&pd_gscl>; }; sysmmu_jpeg: sysmmu@15060000 {