From patchwork Mon Oct 19 06:03:51 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alim Akhtar X-Patchwork-Id: 7433491 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 79DE4BEEA4 for ; Mon, 19 Oct 2015 06:17:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9C01E206E0 for ; Mon, 19 Oct 2015 06:17:19 +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 C88E020693 for ; Mon, 19 Oct 2015 06:17:18 +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 1Zo3jf-00042J-Dk; Mon, 19 Oct 2015 06:15:55 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zo3jc-0003sL-Np for linux-arm-kernel@lists.infradead.org; Mon, 19 Oct 2015 06:15:53 +0000 Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NWG00OV1EPV84D0@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Mon, 19 Oct 2015 15:15:31 +0900 (KST) Received: from epcpsbgm1new.samsung.com ( [172.20.52.126]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id D3.A1.05284.38A84265; Mon, 19 Oct 2015 15:15:31 +0900 (KST) X-AuditID: cbfee68f-f796f6d0000014a4-0d-56248a832310 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1new.samsung.com (EPCPMTA) with SMTP id 8B.BE.23663.38A84265; Mon, 19 Oct 2015 15:15:31 +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:15:31 +0900 (KST) From: Alim Akhtar To: linux-samsung-soc@vger.kernel.org Subject: [PATCH 3/7] arm: dts: Add syscon-{reboot, poweroff} nodes for exynos5 Date: Mon, 19 Oct 2015 11:33:51 +0530 Message-id: <1445234635-3950-4-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+NgFrrKLMWRmVeSWpSXmKPExsWyRsSkTre5SyXM4MtFBYv5R86xWrx5u4bJ 4vULQ4v+x6+ZLTY9vsZqMeP8PiYHNo9NqzrZPDYvqffY0n+X3aNvyypGj8+b5AJYo7hsUlJz MstSi/TtErgyvhz/ylRwkr3i7s5VTA2Ms9m6GDk5JARMJBa/esEEYYtJXLi3HijOxSEksIJR 4veRVkaYouubJrOD2EICsxglnvdlQBT9ZJT4cfMK2CQ2AW2Ju9O3gE0SEVCV+Ny2gB2kiFmg k1FiyZkbYAlhAT+JzmUnWEFsFqCirV9OM4PYvAJuEk/nNLFDbFOU6H42AWwop4C7xOE9rcwQ m90klh9uBDtPQqCfXaL56VwWiEECEt8mHwKyOYASshKbDjBDzJGUOLjiBssERuEFjAyrGEVT C5ILipPSi4z1ihNzi0vz0vWS83M3MQJD+/S/Z/07GO8esD7EKMDBqMTDa9CkEibEmlhWXJl7 iNEUaMNEZinR5HxgBOWVxBsamxlZm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qePuEZfXTS1r2OcuWSPgKn1FWYinOSDTUYi4qTgQA0tG7q7UCAAA= 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_231552_933050_65FD239D X-CRM114-Status: GOOD ( 10.43 ) 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 exynos5 SoCs. Signed-off-by: Alim Akhtar Reviewed-by: Pankaj Dubey Reviewed-by: Javier Martinez Canillas --- arch/arm/boot/dts/exynos5.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/exynos5.dtsi b/arch/arm/boot/dts/exynos5.dtsi index 110dbd4fb884..1313777618b7 100644 --- a/arch/arm/boot/dts/exynos5.dtsi +++ b/arch/arm/boot/dts/exynos5.dtsi @@ -88,6 +88,20 @@ status = "disabled"; }; + 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>; + }; + fimd: fimd@14400000 { compatible = "samsung,exynos5250-fimd"; interrupt-parent = <&combiner>;