From patchwork Wed Jul 29 16:09:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 11691335 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id AD72B1575 for ; Wed, 29 Jul 2020 16:11:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8D03122BEF for ; Wed, 29 Jul 2020 16:11:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1596039102; bh=sgnxQDxNFJhXCnpuKyxV9bhtCuQWJwff+93nPoham8s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=BxYz+E6MfR2p9EaHOpU/clHTfAgPZ4i+w9MVHzrF5Rb5QqcRu8wSaOtjSMbKSJReI HV/fb9jEZEUZax/vMh+1sW7mmE5pH2q1ma5OeCbfCiUdkjZiG0JleSQOzSlhOBeAGX /64fbcnMLgSdbCkhPgYiVlZHKHVaFMTo7C8XtzYM= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727114AbgG2QLm (ORCPT ); Wed, 29 Jul 2020 12:11:42 -0400 Received: from mail.kernel.org ([198.145.29.99]:49660 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726341AbgG2QLl (ORCPT ); Wed, 29 Jul 2020 12:11:41 -0400 Received: from kozik-lap.mshome.net (unknown [194.230.155.213]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 41E2122B48; Wed, 29 Jul 2020 16:11:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1596039101; bh=sgnxQDxNFJhXCnpuKyxV9bhtCuQWJwff+93nPoham8s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cM4dVIXwR8DqzyQLOawNX1BOBHmqXQoHA6UO6xnb+fl+HSkQZRKq+0wevYNyuMDZ+ Z3x3sGobVRCFxBs/1KHgpWBmeAGDp9fNHImoMNRcr8xD2XwZgK3VtM3fLR9Tuy2Wxj m91TTXpMH7UsVNy/mMdeuvUGo7i6UCtRbFIp8OZk= From: Krzysztof Kozlowski To: Russell King , Kukjin Kim , Krzysztof Kozlowski , Vincent Sanders , Simtec Linux Team , Kyungmin Park , Catalin Marinas , Will Deacon , Sylwester Nawrocki , Tomasz Figa , Chanwoo Choi , Michael Turquette , Stephen Boyd , Wim Van Sebroeck , Guenter Roeck , Arnd Bergmann , Linus Walleij , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, patches@opensource.cirrus.com, linux-clk@vger.kernel.org, linux-watchdog@vger.kernel.org Cc: Sergio Prado , Marek Szyprowski , Sylwester Nawrocki , Cedric Roux , Lihua Yao , stable@vger.kernel.org Subject: [PATCH 7/7] ARM: s3c24xx: Fix missing system reset Date: Wed, 29 Jul 2020 18:09:42 +0200 Message-Id: <20200729160942.28867-8-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200729160942.28867-1-krzk@kernel.org> References: <20200729160942.28867-1-krzk@kernel.org> Sender: linux-watchdog-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org Commit f6361c6b3880 ("ARM: S3C24XX: remove separate restart code") removed usage of the watchdog reset platform code in favor of the Samsung SoC watchdog driver. However the latter was not selected thus S3C24xx platforms lost reset abilities. Cc: Fixes: f6361c6b3880 ("ARM: S3C24XX: remove separate restart code") Signed-off-by: Krzysztof Kozlowski --- arch/arm/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index fe95777af653..063018c387be 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -506,8 +506,10 @@ config ARCH_S3C24XX select HAVE_S3C2410_I2C if I2C select HAVE_S3C_RTC if RTC_CLASS select NEED_MACH_IO_H + select S3C2410_WATCHDOG select SAMSUNG_ATAGS select USE_OF + select WATCHDOG help Samsung S3C2410, S3C2412, S3C2413, S3C2416, S3C2440, S3C2442, S3C2443 and S3C2450 SoCs based systems, such as the Simtec Electronics BAST