From patchwork Mon Oct 7 04:17:09 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chander Kashyap X-Patchwork-Id: 2994201 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 39D9A9F245 for ; Mon, 7 Oct 2013 04:17:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3D786201F7 for ; Mon, 7 Oct 2013 04:17:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5E2E3201F5 for ; Mon, 7 Oct 2013 04:17:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751604Ab3JGERe (ORCPT ); Mon, 7 Oct 2013 00:17:34 -0400 Received: from mail-pb0-f49.google.com ([209.85.160.49]:36538 "EHLO mail-pb0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751558Ab3JGERe (ORCPT ); Mon, 7 Oct 2013 00:17:34 -0400 Received: by mail-pb0-f49.google.com with SMTP id xb4so6549966pbc.22 for ; Sun, 06 Oct 2013 21:17:34 -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=SfyAliYnzOy7tjvMqQ+8DDh1783sb+stWjlLVOVfwR8=; b=TV8R+TSgpA9WbAw6vGBo0YV7kDdv0J4tXo56Twb68Fp001OJOgFtLLgutH557ZYDPJ i0XHX4bRbgBjuobwwN7VezwfFfoOMxrovuBzz/LdAmJYNeYZT0htldXc7leCzEe7C/nW 9igGcqWcoGJJEIUMP2rcRaI/2XWaAGc7Ymyo+bPeNkApKJh2B3S/wrlGuA/AXmEdGQgw VzpxBlFstTShXiaGetN/q9+9ZsikWiGxsjJ/bYYEQtZwYXijox05mqwWdTetJDyboeu+ S/vrd/SE85zW3LDWnVvnlqFDLDJM5z0dFPOpT1tI5B/naBoFTCI/FBx20+Ij6ReCXOtv DlxA== X-Gm-Message-State: ALoCoQkHZVQV0hvtgGyKqM6bJ5pu5WY9Cwh1/fsri9hYqHG+VXpY+VEC2hOkCruDW49Xl64D+APw X-Received: by 10.68.247.163 with SMTP id yf3mr28394608pbc.76.1381119453968; Sun, 06 Oct 2013 21:17:33 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPSA id o1sm30177696pbe.37.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 06 Oct 2013 21:17:33 -0700 (PDT) From: Chander Kashyap To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Cc: kgene@kernel.org, thomas.abraham@linaro.org, sylvester.nawrocki@gmail.com, Chander Kashyap Subject: [Patch v4 1/2] clocksource: mct: extend mct to support 8 local interrupts for Exynos5420 Date: Mon, 7 Oct 2013 09:47:09 +0530 Message-Id: <1381119431-12697-2-git-send-email-chander.kashyap@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1381119431-12697-1-git-send-email-chander.kashyap@linaro.org> References: <1381119431-12697-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=-6.9 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 octa-core SoC from Samsung. Hence extend exynos-mct clocksource driver to support 8 local interrupts. Also extend dts 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, };