From patchwork Fri Nov 20 05:17:05 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alim Akhtar X-Patchwork-Id: 7664461 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 0DEAD9F392 for ; Fri, 20 Nov 2015 05:21:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 46210203A9 for ; Fri, 20 Nov 2015 05:21:25 +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 55D8720494 for ; Fri, 20 Nov 2015 05:21:24 +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 1Zze6d-0001yY-3x; Fri, 20 Nov 2015 05:19:31 +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 1Zze6Z-0001uT-7D for linux-arm-kernel@lists.infradead.org; Fri, 20 Nov 2015 05:19:27 +0000 Received: from epcpsbgr4.samsung.com (u144.gpu120.samsung.co.kr [203.254.230.144]) by mailout3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NY30116RLFTFQC0@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Fri, 20 Nov 2015 14:19:05 +0900 (KST) Received: from epcpsbgm2new.samsung.com ( [172.20.52.125]) by epcpsbgr4.samsung.com (EPCPMTA) with SMTP id F5.04.29659.94DAE465; Fri, 20 Nov 2015 14:19:05 +0900 (KST) X-AuditID: cbfee690-f79e96d0000073db-0e-564ead499659 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id E9.CA.00996.94DAE465; Fri, 20 Nov 2015 14:19:05 +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 <0NY300FUGLAIN310@mmp2.samsung.com>; Fri, 20 Nov 2015 14:19:05 +0900 (KST) From: Alim Akhtar To: linux-samsung-soc@vger.kernel.org Subject: [PATCH v3 1/5] arm: dts: Add syscon-{reboot, poweroff} nodes for exynos3250 SoCs Date: Fri, 20 Nov 2015 10:47:05 +0530 Message-id: <1447996629-18232-2-git-send-email-alim.akhtar@samsung.com> X-Mailer: git-send-email 1.7.10.4 In-reply-to: <1447996629-18232-1-git-send-email-alim.akhtar@samsung.com> References: <1447996629-18232-1-git-send-email-alim.akhtar@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrILMWRmVeSWpSXmKPExsWyRsSkVtdzrV+YwZKHlhbzj5xjtXjzdg2T xesXhhb9j18zW2x6fI3VYsb5fUwWL4/8YLRoW/2B1eL42nAHTo9bd+o9Nq3qZPO4c20Pm8fm JfUe/46xe2zpv8vu0bdlFaPH501yARxRXDYpqTmZZalF+nYJXBn9X24wFUziqnjRuJKxgXEL RxcjJ4eEgInE5j9HWSFsMYkL99azdTFycQgJrGCU+DFnCRNM0cubb6ASsxglTu9cywrh/GSU eDrxNQtIFZuAtsTd6VvAOkQEVCU+ty1gByliFrjFKPFo211GkISwQLTEzon72EBsFqCip+0b wGxeAXeJj9PnMEKsU5TofjYBLM4p4CGxfcFesKFCQDXH5r9mBBkqIbCLXaJzxj4WiEECEt8m HwKyOYASshKbDjBDzJGUOLjiBssERuEFjAyrGEVTC5ILipPSi0z0ihNzi0vz0vWS83M3MQJj 4vS/ZxN2MN47YH2IUYCDUYmH94akX5gQa2JZcWXuIUZTo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k/LP92WOPzxtLg 2pPek7esc5jbx17Ls9hr89wkz8g3FxLW3D0X6D1n688b38rajnhO+7uiSqROd8qJ2+/6Of2c 2G8osRRnJBpqMRcVJwIAIh+nH9ECAAA= 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-20151119_211927_417324_DD9FDCC4 X-CRM114-Status: GOOD ( 10.45 ) X-Spam-Score: -7.5 (-------) 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: devicetree@vger.kernel.org, k.kozlowski@samsung.com, tjakobi@math.uni-bielefeld.de, ulf.hansson@linaro.org, m.reichl@fivetechno.de, javier@osg.samsung.com, kgene@kernel.org, linux-arm-kernel@lists.infradead.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.8 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 Reviewed-by: Krzysztof Kozlowski Acked-by: Moritz Fischer --- 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 2f30d632f1cc..18e3deffbf48 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>;