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: 7445421 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 06EEC9F36A for ; Tue, 20 Oct 2015 09:35:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6BF4120846 for ; Tue, 20 Oct 2015 09:35:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8BC622054E for ; Tue, 20 Oct 2015 09:35:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753563AbbJTJed (ORCPT ); Tue, 20 Oct 2015 05:34:33 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:55290 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752853AbbJTJe3 (ORCPT ); Tue, 20 Oct 2015 05:34:29 -0400 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>; 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 Cc: kgene@kernel.org, k.kozlowski@samsung.com, javier@osg.samsung.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.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 5h5iNAXaMJFZSjQ5HxhBeSXxhsZmRhamJqbGRuaWZkrivDrSP4OFBNITS1KzU1MLUovii0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BHHS0NtQIAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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>;