From patchwork Thu Sep 5 10:22:29 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chander Kashyap X-Patchwork-Id: 2854016 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 4EC949F495 for ; Thu, 5 Sep 2013 10:22:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2153D20431 for ; Thu, 5 Sep 2013 10:22:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1501720426 for ; Thu, 5 Sep 2013 10:22:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935552Ab3IEKWs (ORCPT ); Thu, 5 Sep 2013 06:22:48 -0400 Received: from mail-pb0-f54.google.com ([209.85.160.54]:35626 "EHLO mail-pb0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932066Ab3IEKWs (ORCPT ); Thu, 5 Sep 2013 06:22:48 -0400 Received: by mail-pb0-f54.google.com with SMTP id ro12so1608958pbb.27 for ; Thu, 05 Sep 2013 03:22:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=s2rdQw2anwTZBdT/H4eddSvo+3+EVjVabMu3wHZx9zw=; b=V8hr2eon0GrgP0EFdGXISxa4aq0LyHAR6lgWPIBVQw7bhFmuJ81oNDUpOSU6B7JSb/ 3KW57JelvwF4L8NAu08Pw3NSgbJXVq96uNSK0e0UkOIFTWiVr2G29Dbx31tvFWEL0LjH zO035Fpeaacorn3/upRHo1bd3gTACSZctQYUGJVBJFQ6PK0+kv2E0x3HfAWGPB8reDoJ ZVE7zE/mkAtzNeC5rrRqAy5Ofp04C1bfbp/ip4cAzrMWmwkrcX/SqG/ziP22ghAzTS03 xWfUFfngwsKSrIJ/g0hgZL09EcyFl/3V037RFKp8mQgwZNZm0xH7g0tm91njemzV+xo0 uJnQ== X-Gm-Message-State: ALoCoQlNizmM6NyvFV3pbRwml6IeiWCL3v0feiYe3ybc3+KTJCtV7zSKkL/QxgewcKbIefoTHffc X-Received: by 10.68.217.34 with SMTP id ov2mr295779pbc.204.1378376567623; Thu, 05 Sep 2013 03:22:47 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPSA id yg3sm36971622pab.16.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 05 Sep 2013 03:22:47 -0700 (PDT) From: Chander Kashyap To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Cc: kgene.kim@samsung.com, thomas.abraham@linaro.org, Chander Kashyap Subject: [PATCH v2 1/2] clocksource: mct: extend mct to support 8 local interrupts for Exynos5420 Date: Thu, 5 Sep 2013 15:52:29 +0530 Message-Id: <1378376550-27762-2-git-send-email-chander.kashyap@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1378376550-27762-1-git-send-email-chander.kashyap@linaro.org> References: <1378376550-27762-1-git-send-email-chander.kashyap@linaro.org> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-9.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 Exynos5420 is octacore SoC from Samsung. Hence extend exynos-mct clocksource driver to support 8 local interrupts. Also extend dt entries for 8 interrupts. Signed-off-by: Chander Kashyap --- arch/arm/boot/dts/exynos5420.dtsi | 9 +++++++-- drivers/clocksource/exynos_mct.c | 4 ++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index 6ce2f94..e97c87b 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -69,7 +69,8 @@ compatible = "samsung,exynos4210-mct"; reg = <0x101C0000 0x800>; interrupt-parent = <&mct_map>; - interrupts = <0>, <1>, <2>, <3>, <4>, <5>, <6>, <7>; + interrupts = <0>, <1>, <2>, <3>, <4>, <5>, <6>, <7>, + <8>, <9>, <10>, <11>; clocks = <&clock 1>, <&clock 315>; clock-names = "fin_pll", "mct"; @@ -84,7 +85,11 @@ <4 &gic 0 120 0>, <5 &gic 0 121 0>, <6 &gic 0 122 0>, - <7 &gic 0 123 0>; + <7 &gic 0 123 0>, + <8 &gic 0 128 0>, + <9 &gic 0 129 0>, + <10 &gic 0 130 0>, + <11 &gic 0 131 0>; }; }; diff --git a/drivers/clocksource/exynos_mct.c b/drivers/clocksource/exynos_mct.c index b2bbc41..ff4711e 100644 --- a/drivers/clocksource/exynos_mct.c +++ b/drivers/clocksource/exynos_mct.c @@ -71,6 +71,10 @@ enum { MCT_L1_IRQ, MCT_L2_IRQ, MCT_L3_IRQ, + MCT_L4_IRQ, + MCT_L5_IRQ, + MCT_L6_IRQ, + MCT_L7_IRQ, MCT_NR_IRQS, };