From patchwork Mon Oct 19 06:03:49 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alim Akhtar X-Patchwork-Id: 7433401 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 EB2A49F37F for ; Mon, 19 Oct 2015 06:14:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 30223206D9 for ; Mon, 19 Oct 2015 06:14:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2849C2074E for ; Mon, 19 Oct 2015 06:14:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750823AbbJSGOV (ORCPT ); Mon, 19 Oct 2015 02:14:21 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:33340 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750759AbbJSGOU (ORCPT ); Mon, 19 Oct 2015 02:14:20 -0400 Received: from epcpsbgr4.samsung.com (u144.gpu120.samsung.co.kr [203.254.230.144]) by mailout4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NWG02WNSENU9L90@mailout4.samsung.com>; Mon, 19 Oct 2015 15:14:18 +0900 (KST) Received: from epcpsbgm2new.samsung.com ( [172.20.52.125]) by epcpsbgr4.samsung.com (EPCPMTA) with SMTP id F8.D0.05342.A3A84265; Mon, 19 Oct 2015 15:14:18 +0900 (KST) X-AuditID: cbfee690-f794e6d0000014de-de-56248a3af3c9 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id 90.56.18629.A3A84265; Mon, 19 Oct 2015 15:14:18 +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:18 +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 1/7] arm: dts: Add syscon-{reboot, poweroff} nodes for exynos3250 SoCs Date: Mon, 19 Oct 2015 11:33:49 +0530 Message-id: <1445234635-3950-2-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+NgFrrCLMWRmVeSWpSXmKPExsWyRsSkVteqSyXMoOu6pcX8I+dYLd68XcNk 8fqFoUX/49fMFpseX2O1mHF+H5MDm8emVZ1sHpuX1Hts6b/L7tG3ZRWjx+dNcgGsUVw2Kak5 mWWpRfp2CVwZ67r3MBV8Za/omvaQsYFxG1sXIweHhICJxL/V5V2MnECmmMSFe+uBwlwcQgIr GCXutv9mhUiYSGx6v5YRIjGLUeLh3+csIAkhgZ+MEv/PmoDYbALaEnenb2ECsUUEVCU+ty1g B2lgFuhklFhy5gZYQlggQuLutHfsIDYLUNHlEwfYQGxeATeJJ29/MUNsU5TofjYBLM4p4C5x eE8rM8QyN4nlhxvBzpMQmMwuseDKKmaIQQIS3yYfYoF4R1Zi0wGoOZISB1fcYJnAKLyAkWEV o2hqQXJBcVJ6kYlecWJucWleul5yfu4mRmBgn/73bMIOxnsHrA8xCnAwKvHwGjSphAmxJpYV V+YeYjQF2jCRWUo0OR8YP3kl8YbGZkYWpiamxkbmlmZK4ryvpX4GCwmkJ5akZq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IQKtQIAAA== 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 --- 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..af5d9ad4c7b7 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>; + mask = <0x5200>; + }; + + reboot: syscon-reboot { + compatible = "syscon-reboot"; + regmap = <&pmu_system_controller>; + offset = <0x0400>; + mask = <0x1>; + }; + mipi_phy: video-phy@10020710 { compatible = "samsung,s5pv210-mipi-video-phy"; #phy-cells = <1>;