Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp341331rdb; Thu, 19 Oct 2023 06:14:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHshVXQX/+MPW2bbLvDMuYQPRaJ00lz+diaRAqKHiDTAldIzupN5Wu/HkenejXW1bBd5ePg X-Received: by 2002:a17:90b:60d:b0:26b:219f:3399 with SMTP id gb13-20020a17090b060d00b0026b219f3399mr1704337pjb.35.1697721253544; Thu, 19 Oct 2023 06:14:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697721253; cv=none; d=google.com; s=arc-20160816; b=maTPOIxJb7Wo1KvsuwQX219xERUa7t4gAPnmvpO4l6NuSUhXO84k+eyv9UjnF0hOUt hLQz79POmjJs/B8EiI+w7vbrSQcDTatB8yMwy95fBjfXEQce1ZrosmBiDQwefYzsG3jC SplMdtuVpLzMolQKom/iorOSKYh16fRa6ss7s3rI7mm4sEWrcEIxazKR4tBwJmHvKIOm x4WbR2WYc9YTa17/GnWypubjJsm+sqpbyKfPE9rhJYYyFyrjCaCzzRFI4CKnlLrQDxv0 9r8PSKhR25K2Yrqa8piWXD6FTf6PX2uNgowfKTgACG4gWsLTMTEYhiksTrxolYse/TYW 80iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=u5ChxAd/tAofPv7khr4Z6g73hAZNzmOJAjL/O4rF+Kk=; fh=xl2RlKdu+G8wuKrdg4B8HmIIWwR4G+fzkFrAAsU8m0c=; b=qzssvkNzXcZ0AtewBCARzDc9XgxRzP2sFSFPBaYGwiMFCHdhJ1NnihFqsJeZeLpzJ1 c8J/zjZAt3jiRYwv8nnFZ70UxTIFzPF02FLRjMXemvVpzA96t+/oR6gI+8HjlVafloyQ m+qavREE/iXvf6uFNI2SylDPkParztXQHxfwRzCreMr0u730tf7wmMyC/HQBw4cVX6QP uIp6TKisf7F8arXnMFznuupCRxSNiVSuwWInP3EUufp1C509UksJWBat75dsrLsN+gCi e039+PjIJHsWx1WQMamypSp6Dt2W7iQQBFAzV6pgqZkHJ3HJEHb7DU9q1lX7NXqxzMd2 RaBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dFG1cjb+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id pc1-20020a17090b3b8100b00274e16f797csi2196277pjb.20.2023.10.19.06.14.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 06:14:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dFG1cjb+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 48548820BF3F; Thu, 19 Oct 2023 06:14:10 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345813AbjJSNNv (ORCPT + 99 others); Thu, 19 Oct 2023 09:13:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345839AbjJSNNs (ORCPT ); Thu, 19 Oct 2023 09:13:48 -0400 Received: from mail-yw1-x112f.google.com (mail-yw1-x112f.google.com [IPv6:2607:f8b0:4864:20::112f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C03018A for ; Thu, 19 Oct 2023 06:13:46 -0700 (PDT) Received: by mail-yw1-x112f.google.com with SMTP id 00721157ae682-5a7dd65052aso106982957b3.0 for ; Thu, 19 Oct 2023 06:13:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697721225; x=1698326025; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=u5ChxAd/tAofPv7khr4Z6g73hAZNzmOJAjL/O4rF+Kk=; b=dFG1cjb+9/V16wKOVwYPMCamWFW3GTEW/Woju68SieEcec0+vf279DTCU4xqrGIf2z KG45eTcGp95GaOSFNK4kpMY7lKCEsSEL/M5hf8ovvz8NJ+Po2BShUlLXvluMOIQwieXi AVNXwUbTsWs5DPr/gaHUcCnnTNfblslxPd6IK0TCrGkdGhiiIJ5ngzWz85EP0++1Q0oQ MXH68ZGKNrlOiQA8gCcO+o9kwR8iwIZ9K6Gs6hw8mhNciDm56i1bLbu2tynWDyYPXKWX YRjJSD1qGLd32mb+0vyYXltFcJp8m3B2SVwkE7uxubY93to+g0/FbG3OjaD6E+OXWbfX B1Yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697721225; x=1698326025; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=u5ChxAd/tAofPv7khr4Z6g73hAZNzmOJAjL/O4rF+Kk=; b=otWc882QcHZo0e6hJMh6dO1yPpfavF1WjNZCRAhJAdqG0cNA3lF/jFIliOnCf/1OZG TCZwp4Wz248FHsCRh2TQpZPrq9MqQCJbuwolxojMNynWHcM89NsTBymDZTUwMacOTxFe 2edQlT29aPF/IEq5TVzuFMAnN46cLv2fR4TAtmoSF75OAWm53NF1pA/xcyC3kpOWcshL sv+lche25LCQiG+j/tJ6kFl+EOeRXeQzjbvBnWk3hs0rG4rGt99bTvA44XGo/kVcUoIA 0gg6z1LRtmVwNJ3RxIsMuKNnG2k5NcAkFzfQJl2PtlkjwbpUog4nPLuvY63JTt1s+fpx Ljuw== X-Gm-Message-State: AOJu0Yw92Y6MMA+B94KN2ci4Pi5BwB+v/Bh2WV1OKPd7QNLk/4W7h9Pp us98Z7GUNI4VyZsvxWE7LmTJLm/Pm/muloQxtj4iKQ== X-Received: by 2002:a0d:f281:0:b0:589:f995:eb9f with SMTP id b123-20020a0df281000000b00589f995eb9fmr2396557ywf.45.1697721225666; Thu, 19 Oct 2023 06:13:45 -0700 (PDT) MIME-Version: 1.0 References: <5e1c2ff9522dd29e69f286dbbe1c867433763629.1697694811.git.quic_varada@quicinc.com> In-Reply-To: <5e1c2ff9522dd29e69f286dbbe1c867433763629.1697694811.git.quic_varada@quicinc.com> From: Dmitry Baryshkov Date: Thu, 19 Oct 2023 16:13:34 +0300 Message-ID: Subject: Re: [PATCH v4 2/9] clk: qcom: clk-alpha-pll: introduce stromer plus ops To: Varadarajan Narayanan Cc: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, rafael@kernel.org, viresh.kumar@linaro.org, ilia.lin@kernel.org, sivaprak@codeaurora.org, quic_kathirav@quicinc.com, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-pm@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Thu, 19 Oct 2023 06:14:10 -0700 (PDT) On Thu, 19 Oct 2023 at 11:42, Varadarajan Narayanan wrote: > > Stromer plus APSS PLL does not support dynamic frequency scaling. > To switch between frequencies, we have to shut down the PLL, > configure the L and ALPHA values and turn on again. So introduce the > separate set of ops for Stromer Plus PLL. > > Signed-off-by: Kathiravan T > Signed-off-by: Varadarajan Narayanan > --- > v4: Ensure PLL is enabled before re-enabling > v3: Use prepare/unprepare instead of disable/enable in clk_alpha_pll_stromer_plus_ops > v2: Use clk_alpha_pll_stromer_determine_rate, instead of adding new > clk_alpha_pll_stromer_plus_determine_rate as the alpha pll width > is same for both > > Fix review comments > udelay(50) -> usleep_range(50, 60) > Remove SoC-specific from print message > --- > drivers/clk/qcom/clk-alpha-pll.c | 63 ++++++++++++++++++++++++++++++++++++++++ > drivers/clk/qcom/clk-alpha-pll.h | 1 + > 2 files changed, 64 insertions(+) Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry