From patchwork Thu Sep 5 09:24:45 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chander Kashyap X-Patchwork-Id: 2853986 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 7FE649F494 for ; Thu, 5 Sep 2013 09:25:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 829172021A for ; Thu, 5 Sep 2013 09:25:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5D7352039C for ; Thu, 5 Sep 2013 09:25:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763541Ab3IEJZF (ORCPT ); Thu, 5 Sep 2013 05:25:05 -0400 Received: from mail-pa0-f51.google.com ([209.85.220.51]:62137 "EHLO mail-pa0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1763464Ab3IEJZD (ORCPT ); Thu, 5 Sep 2013 05:25:03 -0400 Received: by mail-pa0-f51.google.com with SMTP id lf1so1651949pab.24 for ; Thu, 05 Sep 2013 02:25:02 -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=XW2z+MHYkUSBZOPLu5nAjQP9rvfbO9wmfn4YP0P8NZ7ec03J/uzXRwxlcEqAiMyxC1 VyMy7Cp68aS9hJ+4rep+CMCNg93cW6ZwWhA8ehooiMG7+ctqh3g0i/FirMDpCx1Bd0Hm nadBqu+9cLrGV/CTThSdCCVbCMIAuaO9PofSeoFg0Zde08zWibp+69d6NnY0lmKFWI45 j1Q7ix8VOgOzKxVkzX46a8iIgnk5rTYQ/6iitFVHiVxGuYLeLUv1fRBE74AcN6czLabK 5whBghFROQ6bIdHlHaOKEM2VQW5HLIAmCb8rMMz2MuFiHr5IF4JAV68uxP/x6Hz2idhO rlJg== X-Gm-Message-State: ALoCoQm8i9XhvK+hWVygJPIF1AaYJdZWVqwQcMt/RJ8CJN/K91rhVGvT5FQuti/pMFcsPL6qpRWN X-Received: by 10.68.210.103 with SMTP id mt7mr8019008pbc.179.1378373102617; Thu, 05 Sep 2013 02:25:02 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPSA id xs1sm36650304pac.7.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 05 Sep 2013 02:25:02 -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 1/2] clocksource: mct: extend mct to support 8 local interrupts for Exynos5420 Date: Thu, 5 Sep 2013 14:54:45 +0530 Message-Id: <1378373086-30676-2-git-send-email-chander.kashyap@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1378373086-30676-1-git-send-email-chander.kashyap@linaro.org> References: <1378373086-30676-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, };