Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9131361pxu; Mon, 28 Dec 2020 07:23:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJxlLzduCqK43zVBAmsg45vvgDlyxoJvv6xDts2tT0mjz7rB31bGgdj0DsZAV5umu57wzBdu X-Received: by 2002:a17:906:a00a:: with SMTP id p10mr42747129ejy.312.1609169009871; Mon, 28 Dec 2020 07:23:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609169009; cv=none; d=google.com; s=arc-20160816; b=cQjRVyYHN3PREAJjQ4nX/EaGlRCICi7B9Iz8SIEQrWJqqopyEbIb506GC8AKb0hM14 diQcGuIVZOwTQ0Sw8WlZvo55OzaOJomJQ64NYlTMY3fbC6K3T84+IPxz2KZarS99l552 iRiEVmk8VA9lI9yhaJIBIonCYidWWkWXtiHv0+dbBLkJSk/7fpk0lCxBhjyuRsD1WlUH nh5rtfi8v+Nw7ZnzhgcfyEPAWzi8Ih+73bSBkBORtOXQik6XfIisAtMOBiq6S779XieJ 1onBWcqcbd+uEALR92vzk54lUYPwj+C/DZ7mSUAJzCxU+rM9N3SZ4u5zJqPnelCZohU2 eCZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=+h62E2DumhKyTFCorhRqCpyoHEyc9QZ/F/Iqk2lzIUY=; b=U7fyTrapu7oglhna0340/Qi810wKKNX5vLOLezsK5DU7pwGD/Tu8tjKVRxrtKPOtY8 Qy82XxZnTx6J/YoHVycaq2QpglAtnNORRrphY8pudjs3oU8ZU5t97j9YkTfaFW+Qdbmc Mndqu2K1CJxeKwPwCB+uLbvkKRfhZIm1smHEImsmUTGBCp+NojMWfgmGj7PoRVGc4geu p91jvetsfkyTi3OLJq7RIPe6qbTaXnSvJGwTDCxsHNzv5vnBrErJ2imQYTf/Nfqu+qlW rC9/x/OZHTMCT8kd7L3XEjB5fKa0chtM34T7LjlRUlBdUvyA1LXBz0CLgtQaTQ9MRBc7 Xhkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=1odiDFtj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m22si20564491edr.514.2020.12.28.07.23.06; Mon, 28 Dec 2020 07:23:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=1odiDFtj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2408438AbgL1PTj (ORCPT + 99 others); Mon, 28 Dec 2020 10:19:39 -0500 Received: from mail.kernel.org ([198.145.29.99]:36608 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2436973AbgL1OCp (ORCPT ); Mon, 28 Dec 2020 09:02:45 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9F2EC207BC; Mon, 28 Dec 2020 14:02:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609164125; bh=dgrYu8lbR6EtMmWEd+CHZe9rX3TTIL0xbQkWx6AI00I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=1odiDFtjJnQ3RS8PZojaKY3C79vC2y2Fa+NE72aIiHqzJCx8X+tn5icYZqHsDd3Nb pHBLL/X/y681XYquMH0Z1oh5pDBVgn9/kNfzP5V3i/ukfr3TF3/7xZjCoCSfyAUp00 l/sFRfC5wTUnRtMP7bF8CtEBJo+kwYAMU/EWoGMU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, =?UTF-8?q?Pawe=C5=82=20Chmiel?= , Krzysztof Kozlowski , Sasha Levin Subject: [PATCH 5.10 069/717] arm64: dts: exynos: Include common syscon restart/poweroff for Exynos7 Date: Mon, 28 Dec 2020 13:41:07 +0100 Message-Id: <20201228125024.304460704@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228125020.963311703@linuxfoundation.org> References: <20201228125020.963311703@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Paweł Chmiel [ Upstream commit 73bc7510ea0dafb4ff1ae6808759627a8ec51f5a ] Exynos7 uses the same syscon reboot and poweroff nodes as other Exynos SoCs, so instead of duplicating code we can just include common dtsi file, which already contains definitions of them. After this change, poweroff node will be also available, previously this dts file did contain only reboot node. Fixes: fb026cb65247 ("arm64: dts: Add reboot node for exynos7") Fixes: b9024cbc937d ("arm64: dts: Add initial device tree support for exynos7") Signed-off-by: Paweł Chmiel Link: https://lore.kernel.org/r/20201107133926.37187-1-pawel.mikolaj.chmiel@gmail.com Signed-off-by: Krzysztof Kozlowski Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/exynos/exynos7.dtsi | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/arch/arm64/boot/dts/exynos/exynos7.dtsi b/arch/arm64/boot/dts/exynos/exynos7.dtsi index b9ed6a33e2901..545e67901938a 100644 --- a/arch/arm64/boot/dts/exynos/exynos7.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos7.dtsi @@ -481,13 +481,6 @@ pmu_system_controller: system-controller@105c0000 { compatible = "samsung,exynos7-pmu", "syscon"; reg = <0x105c0000 0x5000>; - - reboot: syscon-reboot { - compatible = "syscon-reboot"; - regmap = <&pmu_system_controller>; - offset = <0x0400>; - mask = <0x1>; - }; }; rtc: rtc@10590000 { @@ -687,3 +680,4 @@ }; #include "exynos7-pinctrl.dtsi" +#include "arm/exynos-syscon-restart.dtsi" -- 2.27.0