Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp13746lqg; Thu, 29 Feb 2024 17:53:00 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXqL5QXUmRRoqFUmsUPBBGMHHdmBODuyDvqs2P5Zo1T6eo+4GV4r4CpYS/josmNXGdGxk3nYTMmVsoya/v+I1q/zmKLbG/bLEXgk7ceLQ== X-Google-Smtp-Source: AGHT+IHSgSDBh49MGBdDZms/9nucZrg8vtgxMLi9FPVUnPLW9F72ve9z0jteb2/5fVi3vYQxWit6 X-Received: by 2002:a05:6e02:19cc:b0:365:3010:14b1 with SMTP id r12-20020a056e0219cc00b00365301014b1mr507957ill.10.1709257980306; Thu, 29 Feb 2024 17:53:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709257980; cv=pass; d=google.com; s=arc-20160816; b=amEkZB4FVOl+F6N2FEbDh/UyPQ8MU5a4JDkmv/auqROOTCrNsbYAqv4DRs3aEUidGV kxOmhwduK4+5bxlgDMSeHP2Ygws+8wEwKsq7cG6oRZDrzf7vNJY6TNPAB63AxSYeEQXU LJa8YBS1ijHDsINae9Mv1ddvY8rqVSXa2JevdUiAT1cXxLD8dI4zgyXX+pB42rtSiNq7 RqlPL7/0idE8Xx66kFuJucTvXbHmKt96eOV8e52Ba9v3yDQh511Jw2AmmGtOrSOkRUQr Iu4GhuHjPYxnNiHRuz3rB+i6MMFC7kKRtP9TxgTGTXADBtR/Q/sNOjava9OMsH3TAfd/ V6PQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=jiCxGhizFNRcTB4tNXp2x/NDTlkj4gUJN/57L1mqhmQ=; fh=qPG+Cz/Wdmp+s4CPamHO1LupC16z9n/bgvpkgjoQQ+g=; b=fV3x3IysaZ7R2bzrk0YCoP7MWkAw2D6Kg4J3nwqc1Yv9soxmry6k0X94iKixwxVWaj 2A2JBfMPpGs0IbeYQL2ieP6M4/9fwBkku9VYKSc4F520B6tfYGyxajxyelGtNtx6zhbs Qw0WfJEGS4vzsfjr6QuGxRr51ukvqexGwXYZ1udJbua/QDhkzAOz+h3m7Moii/7o/t8L CirwQUgP+it5RK8qTCu2QbCRGnG9woIWUpMp7AjsMOLOhGeokux5ydzilt+dj4VPi1/f Doe59aKdOpa4o7cNfNNfWDgj3v24EDKsytNhxkIN30rWvUTXXzTMcZe3uRG67o9GBL9Z Eitw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ip3sHbMI; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-87800-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87800-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 17-20020a631351000000b005c1b30b1b65si2658764pgt.648.2024.02.29.17.53.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 17:53:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-87800-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ip3sHbMI; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-87800-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87800-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 87010285B27 for ; Fri, 1 Mar 2024 01:51:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7F28E38F99; Fri, 1 Mar 2024 01:51:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ip3sHbMI" Received: from mail-oa1-f50.google.com (mail-oa1-f50.google.com [209.85.160.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E85A6364BC for ; Fri, 1 Mar 2024 01:51:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709257883; cv=none; b=MEyS9nGlaXqLoIy0x+CxVHSpu0YCHpaal6nFQwOOo8yHwECWOvgc2aiIdu5HvCKFbkXC9bp8JXh7rLs+SSCf96X3hmXb3I/nyqY91QHUqvJRkQl8i5xQ0Ti5y34beBRr5lCDQZOA/hNNX2g7h+OGsJ3AbzL0/J7Gn9Q5vp8+504= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709257883; c=relaxed/simple; bh=ynSp4BOfTgMg4ogCAHRZ6Dvo2D19rcIObO4Ct27E17o=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=IYld7wOxegjnEr9lUfYgm8eb1b6ZUr52liDzsPehZ7O2uu1TUeklH4m4ErD1pqEChuk/uxu6PRNNWLEcCMGgUt6Zd2i9sjXGeUx90QGG377cEF9AzZ1qSch47BkmvzovJmbWY551JMLl3EJ9HTdvh9uOWT+D1Drtf1iXC8+RkvI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=ip3sHbMI; arc=none smtp.client-ip=209.85.160.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-oa1-f50.google.com with SMTP id 586e51a60fabf-204235d0913so928926fac.1 for ; Thu, 29 Feb 2024 17:51:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709257881; x=1709862681; darn=vger.kernel.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=jiCxGhizFNRcTB4tNXp2x/NDTlkj4gUJN/57L1mqhmQ=; b=ip3sHbMIeDpLc+d7dIDNdl/wjOF6EJevj8yb8S5qkEDlbgJTpvzANadccJvdqAAHvO 0tHBJ3v4M0ap6FxpNPRC7yhEY0zvX4ZeoLWdvnDUc2JcQVgnTc5xGEk1JFoGxnVhiCH3 uHftbM+ng70tOuRNx1czxCs7nq2TSWw21goVD0jkawQS00TpQiaYYR3S1toCy/lRwe0S 5IdC37gY6GOvx2OvIyhlUtZhBmgofvMqfXJUAzjvoInMsFz63R4PH6OpsrwaJg88dmRq m1BrDlgmo7N3MRB0m+RmMhwv5rLHPYSvtcBb2VFnOB+4J6sGLkswIvw10SAGxeFHhAYK Dl1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709257881; x=1709862681; 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=jiCxGhizFNRcTB4tNXp2x/NDTlkj4gUJN/57L1mqhmQ=; b=MZ9NroaECZWz6ieHQqvgU2fC58ZejveZmUEbvdYT2Q0wK7qyM209HPhA6qoPos3cJm 4qfoxfmMDSWsxwXJvk2yZJ9BeS1YrUJk4zaNgKBLQu/hqhiICAiokKvyLYnFsWgpE9PV 4k+AFwxRQhEYHWPdnr1Cm7TAzf3eWiz+8k7eX6u45kjwj+RLd1dMFYTvagLa2TORJ0C6 UFZIn+MRgKTNCkQ3NDJmeXLYAUzqRPEoAbaRDSoRzPSslccJL/hGExHSdqzKv38easoc 0J1uxfVVriJ5LaS3k6UEBZ9/zEOOgDmcvwCVCHWn8g1JxEvbvAenorh8OPiAJvWLL07b pc1Q== X-Forwarded-Encrypted: i=1; AJvYcCVjhlA7IDB0PaSeK808seoGkwY/uZSvoldks3yL/pCjwIYCQ9RvGzGXAafZuXSg6XNs1NKd6zrGMOext69+vlSPP/3pZqzzgwUz8Z8I X-Gm-Message-State: AOJu0YxlMbejcP+pXgSP3DBV9lrc5C6IEjPe7PONuDqBwBb6s65CWles v0YLvRm/a9plXK4Ky3rE2Ow2sDADpLtJWYUFc6LOAkKpLoQ+R6U8nEYf6s/hOAo= X-Received: by 2002:a05:6870:b001:b0:21e:e9bd:afa9 with SMTP id y1-20020a056870b00100b0021ee9bdafa9mr296486oae.21.1709257881008; Thu, 29 Feb 2024 17:51:21 -0800 (PST) Received: from localhost ([136.62.192.75]) by smtp.gmail.com with ESMTPSA id wo6-20020a056871a98600b0021fe6bbf8c2sm767017oab.31.2024.02.29.17.51.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 17:51:20 -0800 (PST) From: Sam Protsenko To: Krzysztof Kozlowski Cc: Sylwester Nawrocki , Chanwoo Choi , Alim Akhtar , Michael Turquette , Stephen Boyd , Rob Herring , Conor Dooley , Tomasz Figa , linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 3/3] arm64: dts: exynos: Add CPU clocks for Exynos850 Date: Thu, 29 Feb 2024 19:51:18 -0600 Message-Id: <20240301015118.30072-3-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240301015118.30072-1-semen.protsenko@linaro.org> References: <20240301015118.30072-1-semen.protsenko@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Define CPU cluster 0 and CPU cluster 1 CMUs, which generate CPU clocks, and add corresponding CPU clocks to CPU nodes. Signed-off-by: Sam Protsenko --- Changes in v4: - none Changes in v3: - none Changes in v2: - Added "for Exynos850" part to the commit title arch/arm64/boot/dts/exynos/exynos850.dtsi | 26 +++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos850.dtsi b/arch/arm64/boot/dts/exynos/exynos850.dtsi index 2ba67c3d0681..0706c8534ceb 100644 --- a/arch/arm64/boot/dts/exynos/exynos850.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos850.dtsi @@ -93,6 +93,8 @@ cpu0: cpu@0 { compatible = "arm,cortex-a55"; reg = <0x0>; enable-method = "psci"; + clocks = <&cmu_cpucl0 CLK_CLUSTER0_SCLK>; + clock-names = "cluster0_clk"; }; cpu1: cpu@1 { device_type = "cpu"; @@ -117,6 +119,8 @@ cpu4: cpu@100 { compatible = "arm,cortex-a55"; reg = <0x100>; enable-method = "psci"; + clocks = <&cmu_cpucl1 CLK_CLUSTER1_SCLK>; + clock-names = "cluster1_clk"; }; cpu5: cpu@101 { device_type = "cpu"; @@ -254,6 +258,28 @@ cmu_peri: clock-controller@10030000 { "dout_peri_uart", "dout_peri_ip"; }; + cmu_cpucl1: clock-controller@10800000 { + compatible = "samsung,exynos850-cmu-cpucl1"; + reg = <0x10800000 0x8000>; + #clock-cells = <1>; + + clocks = <&oscclk>, <&cmu_top CLK_DOUT_CPUCL1_SWITCH>, + <&cmu_top CLK_DOUT_CPUCL1_DBG>; + clock-names = "oscclk", "dout_cpucl1_switch", + "dout_cpucl1_dbg"; + }; + + cmu_cpucl0: clock-controller@10900000 { + compatible = "samsung,exynos850-cmu-cpucl0"; + reg = <0x10900000 0x8000>; + #clock-cells = <1>; + + clocks = <&oscclk>, <&cmu_top CLK_DOUT_CPUCL0_SWITCH>, + <&cmu_top CLK_DOUT_CPUCL0_DBG>; + clock-names = "oscclk", "dout_cpucl0_switch", + "dout_cpucl0_dbg"; + }; + cmu_g3d: clock-controller@11400000 { compatible = "samsung,exynos850-cmu-g3d"; reg = <0x11400000 0x8000>; -- 2.39.2