From patchwork Tue Oct 20 09:24:40 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alim Akhtar X-Patchwork-Id: 7445501 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 339419F36A for ; Tue, 20 Oct 2015 09:36:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 507752058C for ; Tue, 20 Oct 2015 09:36:21 +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 6A47220585 for ; Tue, 20 Oct 2015 09:36:20 +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 1ZoTJk-00077r-AH; Tue, 20 Oct 2015 09:34:52 +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 1ZoTJh-0006yN-JN for linux-arm-kernel@lists.infradead.org; Tue, 20 Oct 2015 09:34:50 +0000 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NWI00FGOILFPQ50@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 20 Oct 2015 18:34:27 +0900 (KST) Received: from epcpsbgm2new.samsung.com ( [172.20.52.122]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id 5A.C0.05385.3AA06265; Tue, 20 Oct 2015 18:34:27 +0900 (KST) X-AuditID: cbfee691-f79d66d000001509-23-56260aa3b3b3 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id 7A.EA.18629.3AA06265; Tue, 20 Oct 2015 18:34:27 +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 <0NWI00557IJSY720@mmp2.samsung.com>; Tue, 20 Oct 2015 18:34:27 +0900 (KST) From: Alim Akhtar To: linux-samsung-soc@vger.kernel.org Subject: [PATCH v2 1/6] arm: dts: Add syscon-{reboot, poweroff} nodes for exynos3250 SoCs Date: Tue, 20 Oct 2015 14:54:40 +0530 Message-id: <1445333085-22837-2-git-send-email-alim.akhtar@samsung.com> X-Mailer: git-send-email 1.7.10.4 In-reply-to: <1445333085-22837-1-git-send-email-alim.akhtar@samsung.com> References: <1445333085-22837-1-git-send-email-alim.akhtar@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrKLMWRmVeSWpSXmKPExsWyRsSkSncxl1qYwfcn0hbzj5xjtXjzdg2T xesXhhb9j18zW2x6fI3VYsb5fUwObB6bVnWyeWxeUu+xpf8uu0ffllWMHp83yQWwRnHZpKTm ZJalFunbJXBlvD21jrHgGmfFoZe7WRoY/7J3MXJySAiYSKzd85sNwhaTuHBvPZDNxSEksIJR YsKTlSwwRZcP/2aHSMxilNi9/xozhPOTUWL25IOMIFVsAtoSd6dvYQKxRQRUJT63LQDrYBbo ZJRYcuYGWEJYIFpi7heQbk4OFqCil/P+s4LYvALuEmve7IJapyjR/WwC0B0cHJwCHhLftmSC hIWAShYfnsQEMlNCYDq7xOXvf6HmCEh8m3yIBaReQkBWYtMBZogxkhIHV9xgmcAovICRYRWj aGpBckFxUnqRqV5xYm5xaV66XnJ+7iZGYGif/vds4g7G+wesDzEKcDAq8fBqxKiGCbEmlhVX 5h5iNAXaMJFZSjQ5HxhBeSXxhsZmRhamJqbGRua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9/o2C1+to1B4KISS3FGoqEWc1FxIgBHHS0NtQIAAA== 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-20151020_023449_798105_1E3EC0B8 X-CRM114-Status: GOOD ( 10.65 ) 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 exynos3250 SoC. Signed-off-by: Alim Akhtar Reviewed-by: Pankaj Dubey Reviewed-by: Javier Martinez Canillas Acked-by: Moritz Fischer Reviewed-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos3250.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/exynos3250.dtsi b/arch/arm/boot/dts/exynos3250.dtsi index 033def482fc3..46d469aa75a7 100644 --- a/arch/arm/boot/dts/exynos3250.dtsi +++ b/arch/arm/boot/dts/exynos3250.dtsi @@ -152,6 +152,20 @@ interrupt-parent = <&gic>; }; + poweroff: syscon-poweroff { + compatible = "syscon-poweroff"; + regmap = <&pmu_system_controller>; + offset = <0x330C>; /* PS_HOLD_CONTROL */ + mask = <0x5200>; /* Reset value */ + }; + + reboot: syscon-reboot { + compatible = "syscon-reboot"; + regmap = <&pmu_system_controller>; + offset = <0x0400>; /* SWRESET */ + mask = <0x1>; + }; + mipi_phy: video-phy@10020710 { compatible = "samsung,s5pv210-mipi-video-phy"; #phy-cells = <1>;