From patchwork Fri Nov 20 05:17:07 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alim Akhtar X-Patchwork-Id: 7664491 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 16EEEBF90C for ; Fri, 20 Nov 2015 05:22:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3D3A720483 for ; Fri, 20 Nov 2015 05:22:49 +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 6471D203A9 for ; Fri, 20 Nov 2015 05:22:48 +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 1Zze82-0003gW-5I; Fri, 20 Nov 2015 05:20:58 +0000 Received: from mailout1.samsung.com ([203.254.224.24]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zze7w-0003Sd-Do for linux-arm-kernel@lists.infradead.org; Fri, 20 Nov 2015 05:20:54 +0000 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NY301056LI5S1B0@mailout1.samsung.com> for linux-arm-kernel@lists.infradead.org; Fri, 20 Nov 2015 14:20:29 +0900 (KST) Received: from epcpsbgm2new.samsung.com ( [172.20.52.126]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id 12.B4.29987.D9DAE465; Fri, 20 Nov 2015 14:20:29 +0900 (KST) X-AuditID: cbfee68d-f79286d000007523-35-564ead9d67c7 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id 4C.FA.00996.D9DAE465; Fri, 20 Nov 2015 14:20:29 +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:20:29 +0900 (KST) From: Alim Akhtar To: linux-samsung-soc@vger.kernel.org Subject: [PATCH v3 3/5] arm: dts: Add syscon-{reboot, poweroff} nodes for exynos5 Date: Fri, 20 Nov 2015 10:47:07 +0530 Message-id: <1447996629-18232-4-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+NgFvrALMWRmVeSWpSXmKPExsWyRsSkTnfuWr8wg00rzS3mHznHavHm7Rom i9cvDC36H79mttj0+BqrxYzz+5gsXh75wWjRtvoDq8XxteEOnB637tR7bFrVyeZx59oeNo/N S+o9/h1j99jSf5fdo2/LKkaPz5vkAjiiuGxSUnMyy1KL9O0SuDI+XWhgLnjGWdHw6hFbA+NM ji5GDg4JAROJpQ8Duhg5gUwxiQv31rN1MXJxCAmsYJSYN+UiM0TCROLyxL2MEIlZjBLbj+5m hnB+MkosvfaKDaSKTUBb4u70LUwgtoiAqsTntgXsIEXMArcYJR5tu8sIkhAWCJb49mo5mM0C VDS5dREriM0r4C7ROreJEWKdokT3swlgQzkFPCS2L9gLNlQIqObY/NdgZ0gI7GKX6L7ziBVi kIDEt8mHWCD+kZXYdADqbEmJgytusExgFF7AyLCKUTS1ILmgOCm9yFCvODG3uDQvXS85P3cT IzAiTv971ruD8fYB60OMAhyMSjy8NyX9woRYE8uKK3MPMZoCbZjILCWanA+Mu7ySeENjMyML UxNTYyNzSzMlcV5FqZ/BQgLpiSWp2ampBalF8UWlOanFhxiZODilGhjds9Zzxh50tni7n8nl 3781ixjenGPaV6HKszyCaemH6g3hfpxhUzPZHx6K2PcnbqqyeS/rD8Nl7TYGhotvfOr37LNX eLf1uNDKdRwnNP/X6lw54BAmGvRyUr+4SE/l6l0S09Pnb+DXmVp+ZomkxufzVp9inimbvNJ1 laluvzm/oX2dNJPHnvtKLMUZiYZazEXFiQD74tWigwIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrHIsWRmVeSWpSXmKPExsVy+t9jQd25a/3CDG7361jMP3KO1eLN2zVM Fq9fGFr0P37NbLHp8TVWixnn9zFZvDzyg9GibfUHVovja8MdOD1u3an32LSqk83jzrU9bB6b l9R7/DvG7rGl/y67R9+WVYwenzfJBXBENTDaZKQmpqQWKaTmJeenZOal2yp5B8c7x5uaGRjq GlpamCsp5CXmptoqufgE6Lpl5gDdpqRQlphTChQKSCwuVtK3wzQhNMRN1wKmMULXNyQIrsfI AA0krGHM+HShgbngGWdFw6tHbA2MMzm6GDk5JARMJC5P3MsIYYtJXLi3nq2LkYtDSGAWo8T2 o7uZIZyfjBJLr71iA6liE9CWuDt9CxOILSKgKvG5bQE7SBGzwC1GiUfb7oKNEhYIlvj2ajmY zQJUNLl1ESuIzSvgLtE6twlqnaJE97MJYEM5BTwkti/YCzZUCKjm2PzXjBMYeRcwMqxilEgt SC4oTkrPNcpLLdcrTswtLs1L10vOz93ECI67Z9I7GA/vcj/EKMDBqMTD2yDuFybEmlhWXJl7 iFGCg1lJhHepH1CINyWxsiq1KD++qDQntfgQoynQYROZpUST84EpIa8k3tDYxNzU2NTSxMLE zFJJnFff0yhMSCA9sSQ1OzW1ILUIpo+Jg1OqgZFB8dCJa1ePzj4n+dajKGtn+ttlFony598p 7L889Yj1etuye6q/TdROzV0qwcyy+7JSrfEta9HZmldN707btUKqroNns7UnH3feKr36j5lc fM/qTp/KXbG45rpV4eFUfZMPQXxHte/liHgKpr2Rev/A5OuhWzotqRkJJn5p4ooGn+smrV6s kq7EUpyRaKjFXFScCADaiAB40QIAAA== 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_212052_795050_CAEAF154 X-CRM114-Status: GOOD ( 10.67 ) 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 exynos5 SoCs. 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/exynos5.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/exynos5.dtsi b/arch/arm/boot/dts/exynos5.dtsi index 110dbd4fb884..e2439e87ee4a 100644 --- a/arch/arm/boot/dts/exynos5.dtsi +++ b/arch/arm/boot/dts/exynos5.dtsi @@ -88,6 +88,20 @@ status = "disabled"; }; + 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>; + }; + fimd: fimd@14400000 { compatible = "samsung,exynos5250-fimd"; interrupt-parent = <&combiner>;