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: 7664421 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 A5DA69F392 for ; Fri, 20 Nov 2015 05:19:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B9B2720490 for ; Fri, 20 Nov 2015 05:19:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C7A112046F for ; Fri, 20 Nov 2015 05:19:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751298AbbKTFTI (ORCPT ); Fri, 20 Nov 2015 00:19:08 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:55952 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750782AbbKTFTH (ORCPT ); Fri, 20 Nov 2015 00:19:07 -0500 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>; 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 Cc: k.kozlowski@samsung.com, kgene@kernel.org, javier@osg.samsung.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, m.reichl@fivetechno.de, tjakobi@math.uni-bielefeld.de, ulf.hansson@linaro.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/ZxN2MN47YH2IUYCDUYmH94akX5gQa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+MsZ32uIJ51k/LP92WOPzxtLg 2pPek7esc5jbx17Ls9hr89wkz8g3FxLW3D0X6D1n688b38rajnhO+7uiSqROd8qJ2+/6Of2c 2G8osRRnJBpqMRcVJwIAIh+nH9ECAAA= 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=-7.5 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 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>;