From patchwork Tue Oct 2 09:24:06 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Figa X-Patchwork-Id: 1536571 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 2FF3C3FDAE for ; Tue, 2 Oct 2012 09:27:18 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TIyjO-00063S-0v; Tue, 02 Oct 2012 09:25:35 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TIyiZ-0005ga-93 for linux-arm-kernel@lists.infradead.org; Tue, 02 Oct 2012 09:24:44 +0000 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MB900KYKE4HGZ10@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 02 Oct 2012 18:24:40 +0900 (KST) X-AuditID: cbfee61a-b7f726d000000ec7-3f-506ab2d846d6 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 3B.C7.03783.8D2BA605; Tue, 02 Oct 2012 18:24:40 +0900 (KST) Received: from mcdsrvbld02.digital.local ([106.116.37.23]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MB900MEOE4G7Q90@mmp1.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 02 Oct 2012 18:24:40 +0900 (KST) From: Tomasz Figa To: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 4/4] ARM: dts: exynos4: Set up power domains Date: Tue, 02 Oct 2012 11:24:06 +0200 Message-id: <1349169846-30385-5-git-send-email-t.figa@samsung.com> X-Mailer: git-send-email 1.7.10 In-reply-to: <1349169846-30385-1-git-send-email-t.figa@samsung.com> References: <1349169846-30385-1-git-send-email-t.figa@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrIJMWRmVeSWpSXmKPExsVy+t9jAd0bm7ICDNb8lrDY9PgaqwOjx+Yl 9QGMUVw2Kak5mWWpRfp2CVwZ/96zFuzjq+h40cHawPibu4uRk0NCwETizsXLbBC2mMSFe+uB bC4OIYFFjBKrJy5kAkkICWxmkri4OgTEZhNQk/jc8AisQUTAW2Lymb/sIA3MAksZJS49vs8C khAWsJd4tGclmM0ioCrxae8BVhCbV8BJom/WDGaIbfIST+/3gQ3iFHCW2NL1gxFimZPEvZdH GScw8i5gZFjFKJpakFxQnJSea6hXnJhbXJqXrpecn7uJEezxZ1I7GFc2WBxiFOBgVOLh3Xky M0CINbGsuDL3EKMEB7OSCO+5uVkBQrwpiZVVqUX58UWlOanFhxilOViUxHmbPVIChATSE0tS s1NTC1KLYLJMHJxSDYxeR/OY84qvvKg6XGHawhH8NSZQUlTe3E2g4lPwA0+evi2V+X0mtp8e PeNc0m2Rype+UE3sUlPq6oLrDA77JTKzJ4eEOST9mPTv5L/pnEzL4zm1HJc+dJ4S8yFa9Pff FU1hTKss7NblBC656vp5XpydOHda8CueN0+4VNjm7r4h9Kxuz6LZ55RYijMSDbWYi4oTAW+L ugb0AQAA X-Spam-Note: CRM114 invocation failed X-Spam-Score: -9.0 (---------) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-9.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [203.254.224.25 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -2.1 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: kgene.kim@samsung.com, t.figa@samsung.com, tomasz.figa@gmail.com, rjw@sisk.pl, kyungmin.park@samsung.com, thomas.abraham@linaro.org, m.szyprowski@samsung.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This patch adds device tree nodes for power domains of Exynos4 SoCs. Signed-off-by: Tomasz Figa Signed-off-by: Kyungmin Park --- arch/arm/boot/dts/exynos4.dtsi | 30 ++++++++++++++++++++++++++++++ arch/arm/boot/dts/exynos4210.dtsi | 5 +++++ 2 files changed, 35 insertions(+) diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch/arm/boot/dts/exynos4.dtsi index a26c3dd..0c14f50 100644 --- a/arch/arm/boot/dts/exynos4.dtsi +++ b/arch/arm/boot/dts/exynos4.dtsi @@ -30,6 +30,36 @@ spi2 = &spi_2; }; + pd_mfc: mfc-power-domain@10023C40 { + compatible = "samsung,exynos4210-pd"; + reg = <0x10023C40 0x20>; + }; + + pd_g3d: g3d-power-domain@10023C60 { + compatible = "samsung,exynos4210-pd"; + reg = <0x10023C60 0x20>; + }; + + pd_lcd0: lcd0-power-domain@10023C80 { + compatible = "samsung,exynos4210-pd"; + reg = <0x10023C80 0x20>; + }; + + pd_tv: tv-power-domain@10023C20 { + compatible = "samsung,exynos4210-pd"; + reg = <0x10023C20 0x20>; + }; + + pd_cam: cam-power-domain@10023C00 { + compatible = "samsung,exynos4210-pd"; + reg = <0x10023C00 0x20>; + }; + + pd_gps: gps-power-domain@10023CE0 { + compatible = "samsung,exynos4210-pd"; + reg = <0x10023CE0 0x20>; + }; + gic:interrupt-controller@10490000 { compatible = "arm,cortex-a9-gic"; #interrupt-cells = <3>; diff --git a/arch/arm/boot/dts/exynos4210.dtsi b/arch/arm/boot/dts/exynos4210.dtsi index 214c557..f9f840e 100644 --- a/arch/arm/boot/dts/exynos4210.dtsi +++ b/arch/arm/boot/dts/exynos4210.dtsi @@ -31,6 +31,11 @@ pinctrl2 = &pinctrl_2; }; + pd_lcd1: lcd1-power-domain@10023CA0 { + compatible = "samsung,exynos4210-pd"; + reg = <0x10023CA0 0x20>; + }; + gic:interrupt-controller@10490000 { cpu-offset = <0x8000>; };