Message ID | 20230527093934.101335-1-y.oudjana@protonmail.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp230036vqr; Sat, 27 May 2023 02:41:26 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6MkBBhq4P+9bk+PdWjJmqazTvQKMA3/K3vncHeUeiTxKy+GACcV09MjuzQ/JwpNrKC6f4C X-Received: by 2002:a17:90a:17a2:b0:253:37ef:ce63 with SMTP id q31-20020a17090a17a200b0025337efce63mr1957079pja.18.1685180486479; Sat, 27 May 2023 02:41:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685180486; cv=none; d=google.com; s=arc-20160816; b=XExQtGVGmxIMWwFYpEk34ftfIAC2WVoBlQL2IMPsCwBw7FOLCg2CuCmPrCmD43Nonm YvJGBQGaUHzTyF5iiibmhsBpfGfMWUt6jZfQTr6Kee8QXea3/77iDlZg4HeiMCsXVDeL J43dfVngZmYWb67ivqnen3XcPXrO4WZe/tG2vwkUeVA6CsdhAZnY7aaH7AZbOaquiAiY U1f03MSisFDlhjgqh92mNCqH7wFGVMJHlGRWhy8WkjpZoDInGmnAN6DoqfPWy9zneHR/ 8ipHGa5gXT6/Jr0NGU91c1kjyNaMSGXqy9xSyPCk4EJoUgvFmlDOb1xr4p7wtxqKI0eF kftQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Np2TY4wzluYjw6tvBst2SYU6co+dQh0uK/Q/WT/NspM=; b=XYEd0G3c6dKypH+cYWTqst5PqVo0Dbag6D+ITy8toPqvzP0QOe9Cm4rll0S++JWksA lfFNFu9fgOpxEderhQ2ZQoLNPj11r/SMyZt2AbKDhWLJCbV4uqiedntQRtrj56hq9oxU OS4QIA7hiAoOs5Row4joHT/KFJbaNBOaloc9VXIVn0cuB1Dr107r1bs0BsQjobOUJ/4u uOUG0EHrqHOzAax/+JgJrfeCnMPfi0Rt3G7ZMR8Fij+kML1gjc/PSVPDl880ncBg20Ie htkNume436+cReLRii6v802Wq26WecCxN0j8T3sINMw1OV1LZ6EL/Z9X0GHTomsPy20G UqGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=fQM6Hilq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hk9-20020a17090b224900b002563fbb8a85si493619pjb.111.2023.05.27.02.41.15; Sat, 27 May 2023 02:41:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=fQM6Hilq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229634AbjE0JkQ (ORCPT <rfc822;zhanglyra.2023@gmail.com> + 99 others); Sat, 27 May 2023 05:40:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36754 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232160AbjE0JkA (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 27 May 2023 05:40:00 -0400 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43B90DE; Sat, 27 May 2023 02:39:59 -0700 (PDT) Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-96f7377c86aso281476266b.1; Sat, 27 May 2023 02:39:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685180398; x=1687772398; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Np2TY4wzluYjw6tvBst2SYU6co+dQh0uK/Q/WT/NspM=; b=fQM6Hilq3wWlqNn7ZUh7pa2JPh3q2D1ecibqbwZpL2dseryd4IVDDqU7WPm7Yqayl7 JS8c6KW0KTxrAjKif0wMTDHuqQuGRpEXA4PnqYbkwJSuYRN7sBt4r7NJNSq7k8VUHg/P ZYTNCWgy3BPS0iEY3oS7GkiJaUkujMlZB4EzF+x4O4hr6K7VzfFPm2Nt7mO6Oqrh95m+ 3V4PLk9StJWPbL8yCz5rzQ9jDq0GtCk/frzJexGqAhzu6E4SgvXTesAT/JspksDv0M0y JKESjO9U3jAeApv1zX75mKwraMofG7Fl1Lhnrdf8OkucHpd8GK41/O1La/DcodmaXdKH kvng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685180398; x=1687772398; 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=Np2TY4wzluYjw6tvBst2SYU6co+dQh0uK/Q/WT/NspM=; b=kf9uHqodSVwbU9CRfIxgRVGjlXWGOAYlC9s+smuVQONVg2sva7yyUTvZ7plN77jejK 41eUYpIBPGDuPsa74QgublYU064Di+BEVYuiMLzrdyZ5TKDWmTXkUhOo6CnDOABnzIld yUT7041NsC0mpR4e5dQJUzWw4mWx8q8eMn/sC+mkP6z88Cq34p03VLjqGi1Xjo+uaeNT D/xS8OrphHdXrVEDXPmh8YyPR8ZcOV9D/2FnRKbjrhTTfez0xqn/QN+Sw59OBz2jLLAG gZotTUKjKbaZSSzlT7Dwo0rrnrBdb/ZrHzoYd9yqAsf9GlYTkAh/KapsCremnO0jtysk g/Kw== X-Gm-Message-State: AC+VfDydmE3JFedwf8s+5rV3Lwe8yiCTQBgWpkzdVItlfoAxSL7qHGqc 495bjtJVMjjlT3395ZhBbHo= X-Received: by 2002:a17:906:ee88:b0:96a:928c:d382 with SMTP id wt8-20020a170906ee8800b0096a928cd382mr4311846ejb.48.1685180397384; Sat, 27 May 2023 02:39:57 -0700 (PDT) Received: from localhost.localdomain ([95.183.227.33]) by smtp.gmail.com with ESMTPSA id kq12-20020a170906abcc00b009596e7e0dbasm3163623ejb.162.2023.05.27.02.39.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 May 2023 02:39:56 -0700 (PDT) From: Yassine Oudjana <yassine.oudjana@gmail.com> X-Google-Original-From: Yassine Oudjana <y.oudjana@protonmail.com> To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Cc: Yassine Oudjana <y.oudjana@protonmail.com>, Yassine Oudjana <yassine.oudjana@gmail.com>, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/3] MSM8996 Pro CBF scaling support Date: Sat, 27 May 2023 12:39:31 +0300 Message-Id: <20230527093934.101335-1-y.oudjana@protonmail.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767039813906636505?= X-GMAIL-MSGID: =?utf-8?q?1767039813906636505?= |
Series | MSM8996 Pro CBF scaling support | |
Message
Yassine Oudjana
May 27, 2023, 9:39 a.m. UTC
From: Yassine Oudjana <y.oudjana@protonmail.com>
MSM8996 Pro has a /4 post divisor on its CBF PLL instead of /2, allowing
it to reach 192000000Hz on the lowest CPU OPPs (compared to 307200000Hz
on MSM8996). Add a compatible string to differentiate between the two and
handle the different divisor in the driver. Finally, add peak bandwidths
to CPU OPPs in msm8996pro.dtsi.
This series depends on the following patch series:
clk: qcom: msm8996: add support for the CBF clock
https://lore.kernel.org/linux-arm-msm/20230410200014.432418-1-dmitry.baryshkov@linaro.org/
Changes since v1:
- Patch structs during probe instead of defining new ones.
Yassine Oudjana (3):
dt-bindings: clock: qcom,msm8996-cbf: Add compatible for MSM8996 Pro
arm64: dts: qcom: msm8996pro: Add CBF scaling support
clk: qcom: cbf-msm8996: Add support for MSM8996 Pro
.../bindings/clock/qcom,msm8996-cbf.yaml | 4 +-
arch/arm64/boot/dts/qcom/msm8996pro.dtsi | 51 +++++++++++++++++++
drivers/clk/qcom/clk-cbf-8996.c | 10 +++-
3 files changed, 62 insertions(+), 3 deletions(-)
Comments
On Sat, 27 May 2023 12:39:31 +0300, Yassine Oudjana wrote: > From: Yassine Oudjana <y.oudjana@protonmail.com> > > MSM8996 Pro has a /4 post divisor on its CBF PLL instead of /2, allowing > it to reach 192000000Hz on the lowest CPU OPPs (compared to 307200000Hz > on MSM8996). Add a compatible string to differentiate between the two and > handle the different divisor in the driver. Finally, add peak bandwidths > to CPU OPPs in msm8996pro.dtsi. > > [...] Applied, thanks! [2/3] arm64: dts: qcom: msm8996pro: Add CBF scaling support commit: 34354cc946abe6b6e4b71883dddfdd368e856d65 Best regards,
On Sat, 27 May 2023 12:39:31 +0300, Yassine Oudjana wrote: > From: Yassine Oudjana <y.oudjana@protonmail.com> > > MSM8996 Pro has a /4 post divisor on its CBF PLL instead of /2, allowing > it to reach 192000000Hz on the lowest CPU OPPs (compared to 307200000Hz > on MSM8996). Add a compatible string to differentiate between the two and > handle the different divisor in the driver. Finally, add peak bandwidths > to CPU OPPs in msm8996pro.dtsi. > > [...] Applied, thanks! [1/3] dt-bindings: clock: qcom,msm8996-cbf: Add compatible for MSM8996 Pro commit: 434cb57732cd6b39c41a218f2e1dfddd5373fe1b [3/3] clk: qcom: cbf-msm8996: Add support for MSM8996 Pro commit: bc48641a68dcf9998c78248ce7e79d1a492463c1 Best regards,