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: 2679051 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 0C06EDF23A for ; Thu, 6 Jun 2013 11:03:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932598Ab3FFLDZ (ORCPT ); Thu, 6 Jun 2013 07:03:25 -0400 Received: from mail-pb0-f52.google.com ([209.85.160.52]:52430 "EHLO mail-pb0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932400Ab3FFLDZ (ORCPT ); Thu, 6 Jun 2013 07:03:25 -0400 Received: by mail-pb0-f52.google.com with SMTP id xa12so3112185pbc.11 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=cyPAnl3y1omoPOiWJ9qvk8k31X2LKkY2mQ+5TLU54Ga4dm8LEnVa5qq3WdcFkt/MKt 6glqQhYOuoEg2eZPfffOARAlvmiv/fKyzej7spUKJkPgxjcIOZ+2IYTwV8xbF0gm71EN /ahVQPkGAXglTY85OieqKT03yM8nzaqaIVsIXRX4W+w5/AU2c1dxEFLkSzS/mwmiUTZE 4BPy2PRGoW6IeD19niaAeoy8YFXVc7S9iCHjQ2iC1DfmNz8u4xA4k2YW8vgckLwvWA97 LrZB2Rgie0Hulpftp6WUefnOUPbBuvWk9nRKAGa0bxY/X8im/tSsmtnXzbHOoiNWmsSe 2trw== 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 Cc: linux-samsung-soc@vger.kernel.org, linux-serial@vger.kernel.org, kgene.kim@samsung.com, t.figa@samsung.com, s.nawrocki@samsung.com, thomas.ab@samsung.com, Chander Kashyap 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: ALoCoQnEezherp6imKbWx4FdJ9H/d9t6sQ+EswzXkOnMzYTGq1ittL8aKWpQQ8QI5F6bUb+iB3n5 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.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")) {