From patchwork Wed Jan 26 17:56:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Perier X-Patchwork-Id: 12725573 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 DF944C28CF5 for ; Wed, 26 Jan 2022 18:07:07 +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=E5kDUAr3JPlY34D3OR1BTYqdEy196jdX2qTrrB37QPI=; b=oQPytWeypFlvlO Cxv7DVpecYnJvPA6Sad92fKzu6rO/swEQyESzSEs5aiFS6xpeWUXavWqjYfDjeshEGhb8PGUQ7r7I HlTRdhxQ+9Zw83zQjJEqbx3u2d18HN24qEk/ZCSUyNkTs3UiPiYZFvk9yVQ0skjw6RP22arRQQFQX FRD0kFo6GWF3Uf4c98Ocm6nKOxMCD0LWq2+RpA/HCgyWwl2f0Waxrupw1Z8czhLoT1Hzk4dE+6RQ/ oWe0CAwbztN8D683GGNz8jeLPKQi2KhH3awL7hfmOVXbS26S3Lo+6C4ezlg6x0KAXfTyIkUubub9i tZPKRhjc9J3FvM9WFh+Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nCmfe-00DE5V-RB; Wed, 26 Jan 2022 18:05:27 +0000 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nCmWo-00DADj-UF for linux-arm-kernel@lists.infradead.org; Wed, 26 Jan 2022 17:56:20 +0000 Received: by mail-wr1-x434.google.com with SMTP id l25so337419wrb.13 for ; Wed, 26 Jan 2022 09:56:18 -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=rDNoKV0qv6YEK56MEl2TbFC2RsE/2jQa2ifEdZIoeX0=; b=OqGltRvbjpCNbLcabWMdamxxF4OG4xNm/NOuGRc4l7L7cJ4ZF/20KF43TO2EZGCRap RUbL50jsdvJzLubUTpxcjr7fsjh4sey/1ow5NR6+a+M0LtChHzU3DMOUnC9IQKjoMqQ4 ITznzqwB8tRvcJANRiBOVBza3fBThjqy/eaw37Ji582lyGlYfZnRwjbMo+kifsbqdYp8 3sHD8y5cRzY0RlP4NWAk05iQ6sJZdJeeT/oORHWM+y+QN4OnfRAf1uUNYLADIwic5rzs l+Zvtu0DpULVx5v2qVaK3detxxPtSGS+bifTXhtxl6Oid1BOL/xuu2BaJwJynJ+dwCjm ZroQ== 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=rDNoKV0qv6YEK56MEl2TbFC2RsE/2jQa2ifEdZIoeX0=; b=UKbwqVJaCELfNn6qczcV4eL5tVdBHGSzDMuicCNuW5e5qcTEpBl8j+qjzIy7fBbEdD CYMY3EbJiTuRhyyNRsk5Vj1juC3XUeCtyeBR/qkSVCssVhW6zZq1glU5HDCvEFtuBYnD lzcG96Sz4M/6GEB2OF1KoQV3MJuO0RRQdiH5YxDw1ygVdJf28uCcZvLA8YIn0fh0Oj9a dyxBBRecIPyqphC31I4VSIg/JihbMHLfpW91Hz+467qX6sRHe8EpCSsJLOMzEuBDAUS+ zwIOFzDS5bxmky0sOMQv0/G2t3sw6uAVGtaiz4s+/Iv8jV1tnMH6rXG+mbFVhRe/t2/P X02Q== X-Gm-Message-State: AOAM531LPa7y0OeosaTeNUlCzrQH6Vx+1bamYkQg03Oo0qHRn5JL3QBF eoc3MITQ9oUBeWxZQkDowHY= X-Google-Smtp-Source: ABdhPJzoRB+ISl3F2EneRHRBb/x6urgHFoQbFid3vN+X+fH/Xm/+JtJ5GvksG57uVSkwv06e9i00Zg== X-Received: by 2002:a5d:6a08:: with SMTP id m8mr23742984wru.355.1643219777015; Wed, 26 Jan 2022 09:56:17 -0800 (PST) Received: from debby ([2a01:e0a:a6d:a8d0:7ff4:8f61:5574:9f95]) by smtp.gmail.com with ESMTPSA id s17sm20207613wrm.62.2022.01.26.09.56.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jan 2022 09:56:16 -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 v4 4/8] ARM: mstar: Link cpupll to cpu Date: Wed, 26 Jan 2022 18:56:00 +0100 Message-Id: <20220126175604.17919-5-romain.perier@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220126175604.17919-1-romain.perier@gmail.com> References: <20220126175604.17919-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-20220126_095619_029016_0D5C7E8B X-CRM114-Status: GOOD ( 11.92 ) 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 Reviewed-by: Romain Perier --- 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"; }; };