From patchwork Fri Jan 21 19:35:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Perier X-Patchwork-Id: 12720159 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 6E2FFC433F5 for ; Fri, 21 Jan 2022 19:37:39 +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=4x2R/ezFSsc/RX qSrCbXLZ11Qaw5knogQAdQm0Qar/BcMAJ61xvAfWGYRZ2zY4Z11UbGumnsYQ+x0n57S8xFhJgLRaK OPtCdRDgP0h9li7LwLMSUqNcnRqQ0nUUthuRxekI2J+cAZagXtQwPnCBQ3GwYoWVQ1IO5Zst3hQ8m De7Z9oUbeH1adPctmkS9STPqMcCPN2pos+nbpKCJWylRfFpksoTw3JQu5Tx6tJbFbczPfER2pXMF0 dwcd4jJybCplMeMdDdpupKny9vVHCVj4ZgZFUGSANeHTgRPif1F9GWxFT7RdD/LhqGsIR6BRt15gU Cx5xe6Ps0/vPt24IlUQw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nAzhy-00Fw9A-F4; Fri, 21 Jan 2022 19:36:26 +0000 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nAzhT-00Fw1H-1f for linux-arm-kernel@lists.infradead.org; Fri, 21 Jan 2022 19:35:56 +0000 Received: by mail-wr1-x42f.google.com with SMTP id i2so1511017wrb.12 for ; Fri, 21 Jan 2022 11:35:54 -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=Zb3yvV8MVsbfeX2uJTVV0mDC/k2FVo5eUqOEa/6+RsmzqRnVdxDKLBqIORddIF8P4a SJ82SjXJm/LnU/+KgeyRnVoAu2/AZkEFyEBIKuz66YRdjjNYdCsX2m0JJ8OZB3XrSLXd ma7fKE0aXjWBMNCiQVaNYvAyW1beQeV8prUT0UgMdyS3jU+RoFRqvqAMuFMG8+CuUgp3 LcTV1BU09Px/X4sw9YXA1Fyqi+lDmy/tpGN67mn+sGsmeecCtRIfITVlICunM7HYfG4W 8niX6RdzqQy1Y/R1CdwVynDw7IQb2r7+ENcHd/UbzKs3yeqRHehoYJQTbJw34SlSsHZy O1MA== 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=51IBgQk88jW6tQdtL9TBT3k7dUUtU3+PYYP89BvTgWj0+mPtWLbmMq7mq/Nnj1YdKW t03X98QkMedcYCbbO3h3fCdWzCLD3LxfjKRuK+2FDN9/udyjpf6Nzxxvi0GGt5ZNhIPK JNYcYcrs3FDoaLbn2SPnbInZF2f9urp1DUxZg1uqz0Cv7AgJDehBgse3SR1hgfXF7g0q F20reKAyZsSZapNwc+ULYcCedYBEDqruSXfv3wDBoFbhpo3qSWtpqNg5wfHsSw1uSdgU wX+wW1s6wTRAnzHn1i9C4LCZl/KecuvvVDQujVA2B403TdRhfrheoDsTEUx4I1YsRo6x yZ1Q== X-Gm-Message-State: AOAM530lWpn6it0cwmpACyuW9ttQvgKFcG02WJpuS84KWEVOkIkQcDMx qvsq+XRdG9Wh8g+Dr4jR+Hc= X-Google-Smtp-Source: ABdhPJz/yyKTop0c1yy7w6Te13IbfsihUpUUoHk/+QjEOJh7+CLMLP5HY4zH5iMxPZBPv9M8ghdBYA== X-Received: by 2002:a05:6000:1092:: with SMTP id y18mr5111916wrw.668.1642793753680; Fri, 21 Jan 2022 11:35:53 -0800 (PST) Received: from debby ([2a01:e0a:a6d:a8d0:7ff4:8f61:5574:9f95]) by smtp.gmail.com with ESMTPSA id 16sm5739222wmj.12.2022.01.21.11.35.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jan 2022 11:35:53 -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 v3 4/9] ARM: mstar: Link cpupll to cpu Date: Fri, 21 Jan 2022 20:35:39 +0100 Message-Id: <20220121193544.23231-5-romain.perier@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220121193544.23231-1-romain.perier@gmail.com> References: <20220121193544.23231-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-20220121_113555_111699_D731E8A3 X-CRM114-Status: GOOD ( 11.58 ) 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"; }; };