From patchwork Fri Dec 22 16:53:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13503554 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 7D4A2C41535 for ; Fri, 22 Dec 2023 16:55:16 +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: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:In-Reply-To:References: List-Owner; bh=3Yp+FLAYElCH5ifWzIi1y+dT44H+2LfCKT2Xs2qSVP8=; b=A30Hd0zR2LiKov IkdMgdOa8b9C1cnJY5+bzXdnUQjxHWWH/zK1o4BirGjrxVT2spoq8bWCOvdF0y4fu/tOX/LsfaKpe oE5eOZOw55iDxR1z5UK/J9C6eGxF98YuoWgUrqA2JBvfHUrpzcSKao20ekpYG6VbSvowfbiA+3DJp wbM8v+fk8YEr7w9RU14ltg+mhrG8AQzMip/NPjenqamiil1mILthO9ypdVMNCMmA5J1zBj+RAN7Fl kYMsaPFTHNThxPEjNfgrUShXPzWI1/OkNdqArZ1L3m/sWJE+BI/L8EPuQpD3hPBuLgN3dTRD0fKvB ju17Hs18CRC2mHx2Ja4g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rGinQ-006SK9-2X; Fri, 22 Dec 2023 16:54:48 +0000 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rGinO-006SJ6-0w for linux-arm-kernel@lists.infradead.org; Fri, 22 Dec 2023 16:54:47 +0000 Received: by mail-wr1-x430.google.com with SMTP id ffacd0b85a97d-3367632ce7bso1661697f8f.2 for ; Fri, 22 Dec 2023 08:54:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703264081; x=1703868881; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Tp4rJuQG3OHFx6oF8DI0RVZGd4i2skFPkCRfzzGlz8s=; b=M343TKHrX69nlmhMM635dtiJ3rWec/J7Yvr/GrqxvNObtdlyTpB3xUUvUiIgfYdUs6 BIz6xY3yoJUTD1qo2gANpEliKHzLipI+4oF07g1yyA0Iu18DOyiPxgT0uAGbUCHuEl7X vUPUVHyzwCSD5lBNwuVfvB9QIy+9LcwyGdDzGeXzuhEoTp6ZFxfe85+rhS335txrWyIx T0opGVFAxS6ZlO0hD89UkZttPpFZAtphw45sOFP57P72kXG0ys9BT8wkzriJ/b1HXVGe AY04qkJXlk7UbPEhZVzaCW3Ao7nLxM38ehUh029ERT4dEtozGGWS3w4HkHvhwnjpVHTy 9gDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703264081; x=1703868881; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Tp4rJuQG3OHFx6oF8DI0RVZGd4i2skFPkCRfzzGlz8s=; b=baLlKAvb7AtFO8+D+/aUD45BHQa+nTKVZDNWqYVUiWL+fUDztMO9jmtwIrnJ4/XGzz l0X/IuFoS9ysnhUU1GLgqeBhfhe2O8a9y2yi7XI/PLj7xf1S6lwh7vdCxeMRKXSJAlS1 k5+berNsu1FLrnMB4uiUXG87ce4sRE0BFhoEDsqVFcoBREK6UIBwaPwqVkIBs0jqOeJ5 gZ7Cg2i0OoAjZQ0TqUEuWshgwXKnqOrkRm/PSZ+vziMn6hSlZ0Rzs/uz2fn1GvLOT67k uTPWRmFhfxP6Wbrsx8qpfCNGnMdT0g6Ug4M18b49DnS2jGdWg900I4TlRrBRL3GairMo Sufg== X-Gm-Message-State: AOJu0YwxRBBfvcCvMfHEgp7zuDbhnpLLZKt1XyozC5etyXL6gwjaJr4p nIoxjONzcCWl9f2t5NSkfvcC96w3fxVAGQ== X-Google-Smtp-Source: AGHT+IHImM4HfK5e0bczSc3i+bOXtwSGNqlpqls7j9IZ1sajgCFkS/wlJMk9ERJ1tkqE8H+tfsc8fw== X-Received: by 2002:a05:600c:19c8:b0:40d:4da9:db82 with SMTP id u8-20020a05600c19c800b0040d4da9db82mr105248wmq.45.1703264081104; Fri, 22 Dec 2023 08:54:41 -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.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 08:54:40 -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 0/3] Enable Multi Core Timer (MCT) for gs101 Date: Fri, 22 Dec 2023 16:53:52 +0000 Message-ID: <20231222165355.1462740-1-peter.griffin@linaro.org> X-Mailer: git-send-email 2.43.0.472.g3155946c3a-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231222_085446_355577_791E2D0B X-CRM114-Status: UNSURE ( 9.50 ) 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 Hi folks, This series enables Multi Core Timer (MCT) for gs101. As part of enabling MCT we also need to register cmu_misc bank of clocks early so exynos_mct can obtain it's clock. MCT timer is required longer term as the Arm arch timer can't wake the CPU from suspend. This series is based off todays linux-next. Note the dtsi change without the corresponding clock driver changes will result in a system that doesn't boot. So ideally this would both be merged together through Krzysztofs Samsung exynos tree. If that is OK with everyone? regards, Peter Peter Griffin (3): dt-bindings: timer: exynos4210-mct: Add google,gs101-mct compatible clk: samsung: gs101: register cmu_misc clocks early arm64: dts: exynos: gs101: define Multi Core Timer (MCT) node .../timer/samsung,exynos4210-mct.yaml | 2 ++ arch/arm64/boot/dts/exynos/google/gs101.dtsi | 20 +++++++++++++++++++ drivers/clk/samsung/clk-gs101.c | 12 ++++++++--- 3 files changed, 31 insertions(+), 3 deletions(-)