From patchwork Mon Oct 19 06:03:50 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alim Akhtar X-Patchwork-Id: 7433471 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 7A077BEEA4 for ; Mon, 19 Oct 2015 06:16:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AA50920748 for ; Mon, 19 Oct 2015 06:16:47 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DB488206D9 for ; Mon, 19 Oct 2015 06:16:46 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zo3j8-0003n8-VQ; Mon, 19 Oct 2015 06:15:22 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zo3j6-0002Sx-39 for linux-arm-kernel@lists.infradead.org; Mon, 19 Oct 2015 06:15:20 +0000 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NWG01HPVEOYXKA0@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Mon, 19 Oct 2015 15:14:58 +0900 (KST) Received: from epcpsbgm2new.samsung.com ( [172.20.52.123]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id 44.6E.05274.26A84265; Mon, 19 Oct 2015 15:14:58 +0900 (KST) X-AuditID: cbfee68d-f79ae6d00000149a-58-56248a6295ba Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id 97.66.18629.16A84265; Mon, 19 Oct 2015 15:14:57 +0900 (KST) Received: from exypnos.sisodomain.com ([107.108.73.28]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NWG00FF4ELI8NA0@mmp2.samsung.com>; Mon, 19 Oct 2015 15:14:57 +0900 (KST) From: Alim Akhtar To: linux-samsung-soc@vger.kernel.org Subject: [PATCH 2/7] arm: dts: Add syscon-{reboot, poweroff} nodes for exynos4 Date: Mon, 19 Oct 2015 11:33:50 +0530 Message-id: <1445234635-3950-3-git-send-email-alim.akhtar@samsung.com> X-Mailer: git-send-email 1.7.10.4 In-reply-to: <1445234635-3950-1-git-send-email-alim.akhtar@samsung.com> References: <1445234635-3950-1-git-send-email-alim.akhtar@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrMLMWRmVeSWpSXmKPExsWyRsSkWjepSyXMYOFbNov5R86xWrx5u4bJ 4vULQ4v+x6+ZLTY9vsZqMeP8PiYHNo9NqzrZPDYvqffY0n+X3aNvyypGj8+b5AJYo7hsUlJz MstSi/TtErgyZrTvZCm4wF5x4M8M9gbGhWxdjJwcEgImEh8+/WSFsMUkLtxbDxTn4hASWMEo 0XT2JFzRhf/vmEFsIYFZjBIL3iRBFP1klJj58y1Ygk1AW+Lu9C1MILaIgKrE57YF7CBFzAKd jBJLztwASnBwCAv4SWyYww9SwwJU829JDyOIzSvgJtG47D8LxDJFie5nE8AWcwq4Sxze0wq1 2E1i+eFGqIP62SWOvXaDmCMg8W3yIRaQ8RICshKbDjBDlEhKHFxxg2UCo/ACRoZVjKKpBckF xUnpRYZ6xYm5xaV56XrJ+bmbGIFhffrfs94djLcPWB9iFOBgVOLhNWhSCRNiTSwrrsw9xGgK tGEis5Rocj4wevJK4g2NzYwsTE1MjY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v4fw1osKJpeTbu1jEPX7osRSnJFoqMVcVJwIACUDiIu0AgAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151018_231520_293452_48D352FA X-CRM114-Status: GOOD ( 10.53 ) X-Spam-Score: -6.9 (------) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: javier@osg.samsung.com, k.kozlowski@samsung.com, kgene@kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds syscon-{reboot, poweroff} nodes to allow the generic syscon-{reboot, poweroff} driver to reset/poweroff exynos4 SoC. Signed-off-by: Alim Akhtar Reviewed-by: Pankaj Dubey Reviewed-by: Javier Martinez Canillas --- arch/arm/boot/dts/exynos4.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch/arm/boot/dts/exynos4.dtsi index 98c0a368b777..79015320cdb6 100644 --- a/arch/arm/boot/dts/exynos4.dtsi +++ b/arch/arm/boot/dts/exynos4.dtsi @@ -158,6 +158,20 @@ interrupt-parent = <&gic>; }; + poweroff: syscon-poweroff { + compatible = "syscon-poweroff"; + regmap = <&pmu_system_controller>; + offset = <0x330C>; + mask = <0x5200>; + }; + + reboot: syscon-reboot { + compatible = "syscon-reboot"; + regmap = <&pmu_system_controller>; + offset = <0x0400>; + mask = <0x1>; + }; + dsi_0: dsi@11C80000 { compatible = "samsung,exynos4210-mipi-dsi"; reg = <0x11C80000 0x10000>;