From patchwork Mon Feb 21 17:45:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alim Akhtar X-Patchwork-Id: 544595 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B817DC433F5 for ; Mon, 21 Feb 2022 17:34:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235247AbiBURen (ORCPT ); Mon, 21 Feb 2022 12:34:43 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:42332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232956AbiBURem (ORCPT ); Mon, 21 Feb 2022 12:34:42 -0500 Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9819D1B79D for ; Mon, 21 Feb 2022 09:34:15 -0800 (PST) Received: from epcas5p4.samsung.com (unknown [182.195.41.42]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20220221173411epoutp0153c1e924b8b9d84f541109c7c2823da3~V3ZCYEcAE0756207562epoutp01A for ; Mon, 21 Feb 2022 17:34:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20220221173411epoutp0153c1e924b8b9d84f541109c7c2823da3~V3ZCYEcAE0756207562epoutp01A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1645464852; bh=czJXhhu7BKvM2wKopoIGmCQLR5jigccH7TKoGeuBU3c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GXnZj7TmOar23rEu0LnP0YxcVZ9LXcVvjW013sMFlXUlfKek2tYy3VGQKPUW6kKMr VRFFL3GlvidTKn2QaA2zZMeC4c8IH3xBV0Gt530duI52mD1g25OlQYy3scQXTaUSt3 MiMTuCaivsZi91+jKo5XLbxDQjpd4BKyntIAM5nE= Received: from epsnrtp4.localdomain (unknown [182.195.42.165]) by epcas5p1.samsung.com (KnoxPortal) with ESMTP id 20220221173410epcas5p1b92b382e13b34682517d2914c47fd301~V3ZA9Km8I1540215402epcas5p1w; Mon, 21 Feb 2022 17:34:10 +0000 (GMT) Received: from epsmges5p1new.samsung.com (unknown [182.195.38.182]) by epsnrtp4.localdomain (Postfix) with ESMTP id 4K2Ttk0WN3z4x9Pq; Mon, 21 Feb 2022 17:34:06 +0000 (GMT) Received: from epcas5p1.samsung.com ( [182.195.41.39]) by epsmges5p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 94.A0.06423.D0DC3126; Tue, 22 Feb 2022 02:34:05 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas5p4.samsung.com (KnoxPortal) with ESMTPA id 20220221173404epcas5p44ceb57158d3df4808ec1f409f53a0e81~V3Y71--eY2548525485epcas5p49; Mon, 21 Feb 2022 17:34:04 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20220221173404epsmtrp1dad9756e3a6408cc7a11508f9c7d57d5~V3Y71NOvs2875728757epsmtrp1C; Mon, 21 Feb 2022 17:34:04 +0000 (GMT) X-AuditID: b6c32a49-b01ff70000001917-ae-6213cd0d33b7 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id CA.DA.29871.C0DC3126; Tue, 22 Feb 2022 02:34:04 +0900 (KST) Received: from Jaguar.sa.corp.samsungelectronics.net (unknown [107.108.73.139]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20220221173403epsmtip2e537cd01c5f19d10a80eaa8432ccc376~V3Y6itD6t0992909929epsmtip2N; Mon, 21 Feb 2022 17:34:03 +0000 (GMT) From: Alim Akhtar To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: krzysztof.kozlowski@canonical.com, linux-samsung-soc@vger.kernel.org, daniel.lezcano@linaro.org, tglx@linutronix.de, pankaj.dubey@samsung.com, m.szyprowski@samsung.com, Alim Akhtar Subject: [PATCH v3 2/3] clocksource/drivers/exynos_mct: bump up mct max irq number Date: Mon, 21 Feb 2022 23:15:46 +0530 Message-Id: <20220221174547.26176-2-alim.akhtar@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220221174547.26176-1-alim.akhtar@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrHKsWRmVeSWpSXmKPExsWy7bCmui7vWeEkgz8L9SwezNvGZjHvs6zF xrc/mCw2Pb7GanF51xw2ixnn9zFZrD1yl91i0dYv7BabN01lduD0mNXQy+Zx59oeNo93586x e2xeUu/Rt2UVo8fnTXIBbFHZNhmpiSmpRQqpecn5KZl56bZK3sHxzvGmZgaGuoaWFuZKCnmJ uam2Si4+AbpumTlANykplCXmlAKFAhKLi5X07WyK8ktLUhUy8otLbJVSC1JyCkwK9IoTc4tL 89L18lJLrAwNDIxMgQoTsjNmnGlgLnjKVtF4cjZbA+M11i5GTg4JAROJZTfPs3cxcnEICexm lDgz4zgrhPOJUeL2mzdsEM43RokZzZdZYFoOT/zOBJHYyyix9eAXqP4WJomva+aDVbEJaEvc nb6FCcQWEXCTuNHYAdbBLHCNUeLPxEOMIAlhgRCJo7d/ATVwcLAIqEq0XWIDMXkFbCQ+nTeE WCYvsXrDAWYQm1PAVuLEhH5GkDESAvfYJS7N/c4MUeQi8fDBayYIW1ji1fEt7BC2lMTL/jZ2 kJkSAtkSPbuMIcI1EkvnHYN6xl7iwJU5YBcwC2hKrN+lDxJmFuCT6P39hAmik1eio00IolpV ovndVahOaYmJ3d3QUPSQmHN5GZgtJDCBUWLO3qQJjLKzEIYuYGRcxSiZWlCcm55abFpgmJda Do+m5PzcTYzghKbluYPx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xje91xZrXiyn6evGy2OfLXvYOljuuk 8N1K+304d0PAO/6Ein7HyWFt2jI6zn7RlhY+p358nHbhZIrE/urnHhz/FpzVrtZlNY14FFib aqS3+ce9j5Mvr65a4XZ2QtIhL8Gcu9J8IuFf5L4unyKakcQWNWGG1CGHPG6OxQeVTPInb1+6 woklYafh3D1f28wXvZZiuMS9rnzJgVU3OJafmrtTdEnahTq/P8Wr353MSNT2bKzYtfrDy+ik Sb+z6t4sPr95i07jPP3zD3jnL1nC3HHldPikBxsmrvT5bXX2t+N/v/WL3/PVyFgbnl/0Zm3A 563i9nlTCrZc7tiwRIHhmbD9+lbxH7q7bgexuiuxFGckGmoxFxUnAgChCF98tQIAAA== X-CMS-MailID: 20220221173404epcas5p44ceb57158d3df4808ec1f409f53a0e81 X-Msg-Generator: CA CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20220221173404epcas5p44ceb57158d3df4808ec1f409f53a0e81 References: <20220221174547.26176-1-alim.akhtar@samsung.com> Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Bump-up maximum number of MCT IRQ to match the binding documentation. This make driver scalable for SoC which has more than 12 timer irqs, like recently added FSD SoC. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Alim Akhtar --- drivers/clocksource/exynos_mct.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clocksource/exynos_mct.c b/drivers/clocksource/exynos_mct.c index b3f3d27a837b..0c7931f7f99a 100644 --- a/drivers/clocksource/exynos_mct.c +++ b/drivers/clocksource/exynos_mct.c @@ -64,7 +64,8 @@ #define MCT_G0_IRQ 0 /* Local timers count starts after global timer count */ #define MCT_L0_IRQ 4 -#define MCT_NR_IRQS 12 +/* Max number of IRQ as per DT binding document */ +#define MCT_NR_IRQS 20 enum { MCT_INT_SPI,