From patchwork Fri Dec 22 16:53:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13503555 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E6769C46CD4 for ; Fri, 22 Dec 2023 16:55:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=cba5LffcDCaqibhUEtRPHBJ6p28A51VUxzl7DbLKwiE=; b=eIIgZaqfC45o95 GNVykSCmpKAA9ItbsMu0JJlQ58b7C20k41CfEUJDh6LryOLM+4+eLl//MNKClhqaokthRHtbIm4/i 3zziLsIFxKRG+E/mDLthHQ57dq4J9Gk+FtRY7q7Fz7WITONCZEj52ugZPnhGO0xpc73fzHQV3vmWB JuaAmI26e+6lzY2UNQKpwXQi39M/V8V2e51iU/gGXgjdhOOpFqw9E1xJTwF8Pzcng+rbHAR1gEDh5 8iduBneT0+nhWTNej/prWZY8HvAmGZh6HEd1hBXHqKU1EgALXpC5x1YDbPCk1TgFpMXogx5SeMuNl Xvev1h+6gdh3DOqc9Mog==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rGinY-006SLS-1n; Fri, 22 Dec 2023 16:54:56 +0000 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rGinP-006SJ8-0g for linux-arm-kernel@lists.infradead.org; Fri, 22 Dec 2023 16:54:48 +0000 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-40d3ae326f6so19921555e9.3 for ; Fri, 22 Dec 2023 08:54:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703264082; x=1703868882; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=kQK2VmtCHYl6yYZDh5S9BZ2JwRKpJFyjaq6UtHRGJsk=; b=BNIZOzDVcNaWMy3fzfrhyWj7SF5csUWNcKzz3/rIY20vUyezlhR07SwRtW6aLzYlqc 3HwvxWS6x6HFADa/R0Z8BiMgrI9qF+xehivgiVEEQkbT7/jPWThAdLOQxp6J+TkxKCZn D/jseUTWg7t1/q52jnHE6+l8KQ2b0m/bVQPMABZJYC3E4WifAY2tioaNdQYYBPwK0fKi /0n8b0+05JN5on8heoH1nqQW+QXCVw/24bPlOGrenY6QxblJ4an76dDDhaqOpKbiIhT7 0D1YAY3MhGM9zFmUw6h4+3GDEUWcklWJc906KbI8VnskEGp/s8pnU4dkUXOPcQKuABrU DguA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703264082; x=1703868882; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kQK2VmtCHYl6yYZDh5S9BZ2JwRKpJFyjaq6UtHRGJsk=; b=MEN32obx3nNM9f5WWIkQoJyzR411EU7cFn36xriQuFML24OtYj074nL6X6200wGBr2 P6QLCCdsgMdRdzjD/xlmout8M7KO9hWzgaFyi8kqXR6sKvhEBqwUTC5pGxJigwS9/hVr liNbMWH2QisvbAPnMjwRVMaTzNd1WdBPnv66LAoVKAhR7N+Pna56Og6yhEJOLBr1pbJe WR460qAal9q3mBPC4JplYJMgz99kcKxTxb32Iy4MLtsQ0j8Z8pE5NTc+rfgTeyc/An/z 6RvorI3ypxEPdt5S3qJAEU4HpSQPbjzeY0pLlTYIfQueEUDv7iPXkP810X2hOfZb3LjX HH5g== X-Gm-Message-State: AOJu0Yzud0UAH9FHWX+6QiqP5l/RmuXyTqaOK+7C9rxgEmzv9dmS5P2l eUxn9F4ckhd14Y2gu1ASt1p4n856qNzRxw== X-Google-Smtp-Source: AGHT+IFGi3TkdV0/ZkWoMA0Zj2LD/mEXVScaCaz/LMNhdFpRM0fz7SwOa9CY7MhveuIg3OuXknU8lA== X-Received: by 2002:a05:600c:34d6:b0:40d:43ea:e56b with SMTP id d22-20020a05600c34d600b0040d43eae56bmr853910wmq.22.1703264082711; Fri, 22 Dec 2023 08:54:42 -0800 (PST) Received: from gpeter-l.lan (host-78-151-55-40.as13285.net. [78.151.55.40]) by smtp.gmail.com with ESMTPSA id i15-20020a05600c354f00b0040d378510adsm10138520wmq.1.2023.12.22.08.54.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 08:54:41 -0800 (PST) From: Peter Griffin To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, daniel.lezcano@linaro.org, tglx@linutronix.de, conor+dt@kernel.org, alim.akhtar@samsung.com, s.nawrocki@samsung.com, tomasz.figa@gmail.com, cw00.choi@samsung.com, mturquette@baylibre.com, sboyd@kernel.org Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@android.com, peter.griffin@linaro.org, tudor.ambarus@linaro.org, andre.draszik@linaro.org, semen.protsenko@linaro.org, saravanak@google.com, willmcvicker@google.com Subject: [PATCH 1/3] dt-bindings: timer: exynos4210-mct: Add google,gs101-mct compatible Date: Fri, 22 Dec 2023 16:53:53 +0000 Message-ID: <20231222165355.1462740-2-peter.griffin@linaro.org> X-Mailer: git-send-email 2.43.0.472.g3155946c3a-goog In-Reply-To: <20231222165355.1462740-1-peter.griffin@linaro.org> References: <20231222165355.1462740-1-peter.griffin@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231222_085447_250279_E66865C0 X-CRM114-Status: UNSURE ( 9.16 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add dedicated google,gs101-mct compatible to the dt-schema for representing mct timer of the Google Tensor gs101 SoC. Signed-off-by: Peter Griffin Reviewed-by: Sam Protsenko Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/timer/samsung,exynos4210-mct.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/timer/samsung,exynos4210-mct.yaml b/Documentation/devicetree/bindings/timer/samsung,exynos4210-mct.yaml index 829bd2227f7c..774b7992a0ca 100644 --- a/Documentation/devicetree/bindings/timer/samsung,exynos4210-mct.yaml +++ b/Documentation/devicetree/bindings/timer/samsung,exynos4210-mct.yaml @@ -26,6 +26,7 @@ properties: - items: - enum: - axis,artpec8-mct + - google,gs101-mct - samsung,exynos3250-mct - samsung,exynos5250-mct - samsung,exynos5260-mct @@ -127,6 +128,7 @@ allOf: contains: enum: - axis,artpec8-mct + - google,gs101-mct - samsung,exynos5260-mct - samsung,exynos5420-mct - samsung,exynos5433-mct From patchwork Fri Dec 22 16:53:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13503557 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4DE94C46CD4 for ; Fri, 22 Dec 2023 16:55:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=PiCRma7iJkvckVBXair40eeXqQl9iO2FWmqEbQWj6pw=; b=RTUdruLDPqj9ag rPchkrM14NdvqXM59ih1BgkmGuXwR0HexRyM19G+EDL0GMl0UCMS4SlLQCDX1yzYxD+HJGtkEAeJ2 hiAzZSDFugmOdk8LgyKygZyw4Gij3UQ/L5NKx8fpzLeuzbs7YsBY/hPAAXVCkBix+GrbUAPTZ4azL 5/eOyK0M6z5Xx+APfM0/otTWWRjLIQV7AngoBeL//bP0z0FH28qC8kz172n2gO/GqI2vnwJ0io8Pl +hHnfuPu9vqdkdda2424Ebt9Q3mygjuchd/NivWWItuSK4qayH0zc66k0PfB7lxOjljYeI0NJUCxc I3TTDMycbuSkLJvrTKig==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rGinZ-006SLi-0G; Fri, 22 Dec 2023 16:54:57 +0000 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rGinP-006SJA-28 for linux-arm-kernel@lists.infradead.org; Fri, 22 Dec 2023 16:54:48 +0000 Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-40d2e56f3a6so12068365e9.1 for ; Fri, 22 Dec 2023 08:54:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703264084; x=1703868884; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=H2C5UTNIPG7mjByyTbN4UUYUJWv2TfPmtilLr3g/kHI=; b=s7CTc34BGlQzc999FUeGIsWay58c3NxmR3AnshByTODqAA4LejEKwvWeVX97lbuv+t cu2hnn8xnzSKwDmEKrlIeiEqMTChB5D3eYoZCVWWB7nYSkIH0zloF0Em7AF2b/zIQcw0 T+XLTwezvmkCtJfqB7SZ5rYmjFeSIC8gGseal/cwAlMsfXq20GpEBl2jQZ9SC32Euqcw djlehzmVD9gPrpDfSOVLz8mWqfvqYsL0y/l/+Ok9MH7+muJCcAtyNeVxEQ+84TLg//63 dCSZ2X5IOfYgpU0sNimf6eTPtfsy1fcaSkMKWKlmcwNseRY7C26rAvX0cYLfn3j61r3N uyDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703264084; x=1703868884; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=H2C5UTNIPG7mjByyTbN4UUYUJWv2TfPmtilLr3g/kHI=; b=SxuF9k8lavS4ZV5zIGEmO+Z2gH8AN7JE6W7gAnJlvSG8srHk8j+hR1INKeuiuqftd2 DFToPxne7xf1rjTKQZibE2+tByAwN6FhhS7JCVv2oqpcZP6YnY3Ns16U53YItfCL4tE4 ABIXGiOyii0sp+vZ6rTkFKBkICb5nCra4gzI72qzS204bbWRbtUtskF0D4I62eQBG3NY 8a3Qlzh6JKgeJa9jwyP2Eb3YIaQB3Cl3YYyACdP9CwvQxWxe4RQK02VEL3tymHhI8uG3 n/YbdXdedo1HKPz/6tcKabP+xM3pl2L1kDl/iLECrUeswA/hrsEeiihuO5yNMQ/yrElL 6WBA== X-Gm-Message-State: AOJu0Yx7OWOwc0zOVWauyxrMiIgB73NLMWkuZqp3kUIfw/2OUvTvrX1b 0/eejUqLZm9tp4wTjYWny38Ua5a85f5V8g== X-Google-Smtp-Source: AGHT+IEDtRq/ZQw8ts0TCzkxHtm3cLI7WebPXBaKkTQlRZdi99kRrHc6ikhQl7aJvQ9Z9sqp/hNTUA== X-Received: by 2002:a05:600c:a686:b0:40d:39ea:1076 with SMTP id ip6-20020a05600ca68600b0040d39ea1076mr900090wmb.93.1703264083920; Fri, 22 Dec 2023 08:54:43 -0800 (PST) Received: from gpeter-l.lan (host-78-151-55-40.as13285.net. [78.151.55.40]) by smtp.gmail.com with ESMTPSA id i15-20020a05600c354f00b0040d378510adsm10138520wmq.1.2023.12.22.08.54.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 08:54:43 -0800 (PST) From: Peter Griffin To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, daniel.lezcano@linaro.org, tglx@linutronix.de, conor+dt@kernel.org, alim.akhtar@samsung.com, s.nawrocki@samsung.com, tomasz.figa@gmail.com, cw00.choi@samsung.com, mturquette@baylibre.com, sboyd@kernel.org Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@android.com, peter.griffin@linaro.org, tudor.ambarus@linaro.org, andre.draszik@linaro.org, semen.protsenko@linaro.org, saravanak@google.com, willmcvicker@google.com Subject: [PATCH 2/3] clk: samsung: gs101: register cmu_misc clocks early Date: Fri, 22 Dec 2023 16:53:54 +0000 Message-ID: <20231222165355.1462740-3-peter.griffin@linaro.org> X-Mailer: git-send-email 2.43.0.472.g3155946c3a-goog In-Reply-To: <20231222165355.1462740-1-peter.griffin@linaro.org> References: <20231222165355.1462740-1-peter.griffin@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231222_085447_694680_3D2AFFD1 X-CRM114-Status: GOOD ( 12.30 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Update cmu_misc so it is registered early, as it contains the gate which clocks the Multi Core Timer (MCT). This clock is required early in boot, otherwise exynos_mct will fail obtaining the clock. Note this wasn't previously an issue as exynos_mct wasn't enabled. Signed-off-by: Peter Griffin Reviewed-by: Sam Protsenko --- drivers/clk/samsung/clk-gs101.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/drivers/clk/samsung/clk-gs101.c b/drivers/clk/samsung/clk-gs101.c index 0964bb11657f..590119a25c18 100644 --- a/drivers/clk/samsung/clk-gs101.c +++ b/drivers/clk/samsung/clk-gs101.c @@ -2478,6 +2478,15 @@ static const struct samsung_cmu_info misc_cmu_info __initconst = { .clk_name = "dout_cmu_misc_bus", }; +static void __init gs101_cmu_misc_init(struct device_node *np) +{ + exynos_arm64_register_cmu(NULL, np, &misc_cmu_info); +} + +/* Register CMU_MISC early, as it's needed for MCT timer */ +CLK_OF_DECLARE(gs101_cmu_misc, "google,gs101-cmu-misc", + gs101_cmu_misc_init); + /* ---- platform_driver ----------------------------------------------------- */ static int __init gs101_cmu_probe(struct platform_device *pdev) @@ -2495,9 +2504,6 @@ static const struct of_device_id gs101_cmu_of_match[] = { { .compatible = "google,gs101-cmu-apm", .data = &apm_cmu_info, - }, { - .compatible = "google,gs101-cmu-misc", - .data = &misc_cmu_info, }, { }, }; From patchwork Fri Dec 22 16:53:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13503556 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6CF32C41535 for ; Fri, 22 Dec 2023 16:55:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=6QZw95ulIbWNkcZpW84pMRwv213Qgb29o41/cxHzDqs=; b=KBFbPODq2JmXkv nOv+uqS5cJhDomzI+D5lXtM/fh+HSdkyu28KLw17upH3oEJRxFlT+M5IHQAx+Uly9nGX0wsakdEMP GGKSmP0EUB1eZoyO0iL7wGyEZBRauWg7vbbTK4qp/RfaBlY3fIvZsiNmaalgZQA+N+l7jQ1Qg7iPc 8gfWy+YycAYaDOLb0bBc/LpX5i0Qo7WNUd0GhE3dz1n0T3dqiF71rxXaHAtOls7YiEkdi8Lx7JRcX yUEIl1qlUXIP12SFhGErU23dRoFObSLYJPBJzwW7ln1wif1qtkbBvZDQKZBqycjmGzkxAl3b21nab o2Lqa32La6wd4H0FilFA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rGinZ-006SMV-2K; Fri, 22 Dec 2023 16:54:57 +0000 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rGinP-006SJC-2u for linux-arm-kernel@lists.infradead.org; Fri, 22 Dec 2023 16:54:49 +0000 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-40d48304efdso3968905e9.0 for ; Fri, 22 Dec 2023 08:54:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703264085; x=1703868885; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=CivDZddIU1oXgeJl9yAANMyChstbAynIX36qq2yqXq0=; b=YhERjDNTDk8EddSTqpyDDUPmLxWIasN4NZqNBKM5kqloi8s/U1Ljutl4v/h0kvehnN Z9oDRtgnXOD5xwX0b9RWPkiTrkZonGxxdES28j+f8IPFriCbx2YW/coD6wY9ckSU7uy4 CZ/6JHo6C9Jrz80ql+2sYXSTN1DKrnX2Dc7VGOCL6PYbvnUaUCLIjYpOwncRbh0g4K9+ YYI7S3QYF//j9V6vGzSH4mw2L1t96IKh/N3NslQlg3cKInd1sVpgIpzLAEBWksPVtW0d LEB2yvfUu2Zmj93JbtJdKBvmpi4QUieNhY0SIaPKDz0MNKhphetMOIWKMjut7R45S0kL /lAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703264085; x=1703868885; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CivDZddIU1oXgeJl9yAANMyChstbAynIX36qq2yqXq0=; b=rwtX1ak65jpDdyKruWJ9TkDm6ptRH4NNX7xZfRfksbeRG0iKVPoz75gw6Oy6ocKgQd C7bcR+5dKkOsQSuLJJJK0S9txov7cGIEmAwF8OuwIJ6RJWtQiT6PJpPS+aj4HwibDzrv 1k4/kxTHn7SSl/ovSA9Vso4wCLPwt8mR+tt9ut+ihQ7ik8MLo8IxN300WZm3ktGJ8ddb 63e68+aBEXe2XPqNJUaXjVF3jQEIDfkv25iX4O02DWKc0bEwZBHEJrTY4/WJZBEOsT6v BxjM+YxMrXtIB+6wRFUczYa9nhg7sdd3a2pXYT7sPZPn8JUJYPE5alrv/mcLPHtaOIgA s8RQ== X-Gm-Message-State: AOJu0YxMCVWHUcwgWF9yF6HLhHL/4l48jrc+QkfZtJBVen4rV2E1Do36 fvr5izcjCHCIrTU0fizNhFgidSEIsrYw9A== X-Google-Smtp-Source: AGHT+IEAvkSh4ddQHp5zuB6x9sxaGJ/xdv0XpTipLUPjLXBv1HMvTHIR8c78uD3+cHX5A/MeMODLVw== X-Received: by 2002:a05:600c:1d26:b0:40d:2876:def6 with SMTP id l38-20020a05600c1d2600b0040d2876def6mr971581wms.45.1703264085160; Fri, 22 Dec 2023 08:54:45 -0800 (PST) Received: from gpeter-l.lan (host-78-151-55-40.as13285.net. [78.151.55.40]) by smtp.gmail.com with ESMTPSA id i15-20020a05600c354f00b0040d378510adsm10138520wmq.1.2023.12.22.08.54.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 08:54:44 -0800 (PST) From: Peter Griffin To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, daniel.lezcano@linaro.org, tglx@linutronix.de, conor+dt@kernel.org, alim.akhtar@samsung.com, s.nawrocki@samsung.com, tomasz.figa@gmail.com, cw00.choi@samsung.com, mturquette@baylibre.com, sboyd@kernel.org Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@android.com, peter.griffin@linaro.org, tudor.ambarus@linaro.org, andre.draszik@linaro.org, semen.protsenko@linaro.org, saravanak@google.com, willmcvicker@google.com Subject: [PATCH 3/3] arm64: dts: exynos: gs101: define Multi Core Timer (MCT) node Date: Fri, 22 Dec 2023 16:53:55 +0000 Message-ID: <20231222165355.1462740-4-peter.griffin@linaro.org> X-Mailer: git-send-email 2.43.0.472.g3155946c3a-goog In-Reply-To: <20231222165355.1462740-1-peter.griffin@linaro.org> References: <20231222165355.1462740-1-peter.griffin@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231222_085447_937086_7F26055F X-CRM114-Status: UNSURE ( 8.97 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org MCT has one global timer and 8 CPU local timers. The global timer can generate 4 interrupts, and each local timer can generate an interrupt making 12 interrupts in total. Signed-off-by: Peter Griffin Reviewed-by: Sam Protsenko --- arch/arm64/boot/dts/exynos/google/gs101.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/google/gs101.dtsi b/arch/arm64/boot/dts/exynos/google/gs101.dtsi index 9747cb3fa03a..4b09e740b58a 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101.dtsi +++ b/arch/arm64/boot/dts/exynos/google/gs101.dtsi @@ -292,6 +292,26 @@ cmu_misc: clock-controller@10010000 { clock-names = "dout_cmu_misc_bus", "dout_cmu_misc_sss"; }; + timer@10050000 { + compatible = "google,gs101-mct", + "samsung,exynos4210-mct"; + reg = <0x10050000 0x800>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + ; + clocks = <&ext_24_5m>, <&cmu_misc CLK_GOUT_MISC_MCT_PCLK>; + clock-names = "fin_pll", "mct"; + }; + watchdog_cl0: watchdog@10060000 { compatible = "google,gs101-wdt"; reg = <0x10060000 0x100>;