From patchwork Sun Jan 2 16:57:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Perier X-Patchwork-Id: 12702316 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 5D843C433EF for ; Sun, 2 Jan 2022 16:59:33 +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=4L//94/KQ+BFzxzha0MqyQNIZZiLvYbFczZoEnneUVU=; b=pFhjyr7GQMZd4l uGcwx9jDz2MNuLbAovL7sOA5DTUu91wFzQKKKPzqTH7ZddvRtxLjh62GiHr0c9nID906WswBSulI1 bDsuoHwu8fWABO10lGzPyINnjK0P09jVhruODz6JpQ6V3ApCwiqkoBcwwhC74S+/HPHshzF3wxcRB 0zlwSX2rLuLjrYS/2H+lihTUAqnMmuMLVgb5x9E6KuK4G/2ebC/LZkdm1m7EQMB5H/IYIQ1mLwP/x vGMk8WmkvyDlI0TdNgI2mdXBNBNkQMLSii3FlM9RtL8b8D5jzfNzk3UlVahrY2BNW2tHqXH8jOKGt bJgRO7HNgtgEKzOk2/fg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n44BW-007yyJ-Df; Sun, 02 Jan 2022 16:58:18 +0000 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n44Au-007yni-BB for linux-arm-kernel@lists.infradead.org; Sun, 02 Jan 2022 16:57:41 +0000 Received: by mail-wr1-x435.google.com with SMTP id s1so65680936wra.6 for ; Sun, 02 Jan 2022 08:57:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=PSLPG0MzXHr2sBAsU44qorgJ49GZ8FzI0+68Kp64Drs=; b=VOQd0Ow+1WrNgYoFwglIyEDD6eh0BYvqxp/o+V8B/ljFwgxQTOEv6OJej9Mm5R+oYR hkhJn924zrQiLQcJnGGw3JAdk3VOqMJwJkpkOvmlDEjNQ9hU+kQ52Ftz1a4TKcUJNrUa 7Ozk7l+nDnMIdRpuzunuEk28K5nHqv3kP+A1i5CiKF6V6WSNN848CrI8bs1omgDwEv4V ERNaMlDYKH8a4Jrd9vug/k4Fy7od9oHsSA9alNkU50hWXcUwFZRz4/96ke0ewxaIol8+ wVJt6r+O7Yh/X2+qAXheK37OiawrgLjj3R3NxZKPGn/xstgbIaeGGFecPDFaDkmdSrm4 0cRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=PSLPG0MzXHr2sBAsU44qorgJ49GZ8FzI0+68Kp64Drs=; b=XA7UnlvRqiME1IdjKkPFlF8yruMJyZhQpT4fNuuLu8IJ7e8/JUQQgWEQy3fruLR/s3 5StFjm//x5h8m4fFzI8nWzqXUGsyN6HnJsOLn8p/GoVEpKtka0WTDFMsiA8RyyawOXRq ApxF6Zju9K9bycGydWp+asiPHaRbmfWy4Lj/+JTFSzFtjKeFC+0KPYDpsTxE4phbotbi zwDDphNstmaTECNll8hPUJ5shokp6C5dLI93x945NOaiB2lKZyEK4sLmHYj3Sd8wten5 zQWV+ZhKZr4NUUPClaszCJM8xlrLbfzv+8T5Qp1603niWBhXhsx04tWYLnd7myYS37aH 7POQ== X-Gm-Message-State: AOAM533d8/jA+Ys6KlIg/5pzDlgwhehqJmPaaa3TMgn4GtGgFluUAmbi LjbFjBPqaRgwUjn1ABEC4xo= X-Google-Smtp-Source: ABdhPJz7QrYuQYvDwF8GFlCqsOZUggIWRhwsYrBN7X2EcIR/k/YLBCU5wE1SdWo+1XMV6CkNH71Jkg== X-Received: by 2002:a5d:6d0e:: with SMTP id e14mr37348800wrq.407.1641142658912; Sun, 02 Jan 2022 08:57:38 -0800 (PST) Received: from debby ([2a01:e0a:a6d:a8d0:7ff4:8f61:5574:9f95]) by smtp.gmail.com with ESMTPSA id p13sm25786857wrs.54.2022.01.02.08.57.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Jan 2022 08:57:38 -0800 (PST) From: Romain Perier To: Michael Turquette , Stephen Boyd , linux-clk@vger.kernel.org, Arnd Bergmann , Daniel Palmer , Romain Perier , Rob Herring Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 4/9] ARM: mstar: Link cpupll to cpu Date: Sun, 2 Jan 2022 17:57:25 +0100 Message-Id: <20220102165730.50190-5-romain.perier@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220102165730.50190-1-romain.perier@gmail.com> References: <20220102165730.50190-1-romain.perier@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220102_085740_411618_8926CA97 X-CRM114-Status: GOOD ( 12.01 ) 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 From: Daniel Palmer The CPU clock is sourced from the CPU PLL. Link cpupll to the cpu so that frequency scaling can happen. Signed-off-by: Daniel Palmer --- arch/arm/boot/dts/mstar-v7.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/mstar-v7.dtsi b/arch/arm/boot/dts/mstar-v7.dtsi index 2249faaa3aa7..c26ba9b7b6dd 100644 --- a/arch/arm/boot/dts/mstar-v7.dtsi +++ b/arch/arm/boot/dts/mstar-v7.dtsi @@ -21,6 +21,8 @@ cpu0: cpu@0 { device_type = "cpu"; compatible = "arm,cortex-a7"; reg = <0x0>; + clocks = <&cpupll>; + clock-names = "cpuclk"; }; };