From patchwork Thu Jun 6 11:01:27 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chander Kashyap X-Patchwork-Id: 2679661 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) by patchwork1.kernel.org (Postfix) with ESMTP id 2EAF33FD4E for ; Thu, 6 Jun 2013 11:37:42 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UkY2r-00036l-TD; Thu, 06 Jun 2013 11:07:58 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UkXzs-000556-QL; Thu, 06 Jun 2013 11:04:48 +0000 Received: from mail-pd0-f180.google.com ([209.85.192.180]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UkXys-0004xL-C5 for linux-arm-kernel@lists.infradead.org; Thu, 06 Jun 2013 11:03:47 +0000 Received: by mail-pd0-f180.google.com with SMTP id 10so3194299pdi.39 for ; Thu, 06 Jun 2013 04:03:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=uNuP8uEGJmORxl3JNlRAvKnHFcQYCfoFFfEsl4qQCZw=; b=nH6HZhb1hMwqLoVb9/9PcksUzYi7BKnsZ3iFMpG11qKCLxJebwTBL3xzahB2dVfOV6 QRHu6fqhwlz1Gp/96U5M5xoYJtcA0eSR3vf38WzhE6lw/S21ECwUF1Xw+uPBjxy1EzVP feYJGONEgwUt0Z6AqEuYOS8SufF+cKP4WUrlJ59gBEjBoZz7afGsiXDc/63e00lEAH56 uCWM7B8bjYOO5uKSKior8BCz0EB1GlSkzEbUYOFE71Iep4ZL9OxAM8ZwPPM3ld4Uc3xE 9hlVPNM1MWNEzKU8zA/J+uAAG+MqIQ8x2A+dvDqvESor1Cth36jw98lF0nDfCqni6FFC 1Gnw== X-Received: by 10.67.5.168 with SMTP id cn8mr39158273pad.119.1370516604525; Thu, 06 Jun 2013 04:03:24 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPSA id qh4sm77248213pac.8.2013.06.06.04.03.19 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Jun 2013 04:03:23 -0700 (PDT) From: Chander Kashyap To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 13/13] ARM: Exynos: extend soft-reset support for Exynos5420 Date: Thu, 6 Jun 2013 16:31:27 +0530 Message-Id: <1370516488-25860-13-git-send-email-chander.kashyap@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1370516488-25860-1-git-send-email-chander.kashyap@linaro.org> References: <1370516488-25860-1-git-send-email-chander.kashyap@linaro.org> X-Gm-Message-State: ALoCoQlH2jxUhIoznd0PpBik/VRqtUeygl7Mfr2I4IdcO+C/67mWCvWnf8J5ndnHKXGylGHfN2aP X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130606_070346_577647_5CFC8E10 X-CRM114-Status: GOOD ( 10.66 ) X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.192.180 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: kgene.kim@samsung.com, linux-serial@vger.kernel.org, t.figa@samsung.com, Chander Kashyap , linux-samsung-soc@vger.kernel.org, thomas.ab@samsung.com, s.nawrocki@samsung.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Extend the soft reset support for Exynos5420 SoC. Signed-off-by: Chander Kashyap --- arch/arm/mach-exynos/common.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-exynos/common.c index fbe1aa7..dc7c134 100644 --- a/arch/arm/mach-exynos/common.c +++ b/arch/arm/mach-exynos/common.c @@ -321,7 +321,8 @@ void exynos5_restart(char mode, const char *cmd) u32 val; void __iomem *addr; - if (of_machine_is_compatible("samsung,exynos5250")) { + if (of_machine_is_compatible("samsung,exynos5250") || + (of_machine_is_compatible("samsung,exynos5420"))) { val = 0x1; addr = EXYNOS_SWRESET; } else if (of_machine_is_compatible("samsung,exynos5440")) {