Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp28905283rwd; Wed, 5 Jul 2023 04:37:33 -0700 (PDT) X-Google-Smtp-Source: APBJJlEaVWokcYCJk+Pbh1cQ3ippvI0DXMtNUmKcc/j4q3KcD7nBg+VCqZ1voYHkctOasjhNZeW4 X-Received: by 2002:a05:6a00:1506:b0:668:97bf:5ed7 with SMTP id q6-20020a056a00150600b0066897bf5ed7mr23072274pfu.22.1688557053411; Wed, 05 Jul 2023 04:37:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688557053; cv=none; d=google.com; s=arc-20160816; b=XrcAb1WtL27bLLvdyJ24WozOi3bDwomuU0LtV6wvmjo3P/2/RPGAOCnv21BDXvJoRQ LnrugL7X/nMnqWL87zEyT6h6lwBwM2St6G2m/8MicqhIO7yGYoht1/eZbfX9ypTpqkkm N5twIvAkPFdwakZ116hLJieAStO9reQIFEA+Dgos3L5BSa6mo8mjMLhG6zrK9Pa0Cv6n +JinAlS1I0DFPFP6YnEpad11wgpA9ltIoScSZ4ERmzxMpFfz2QBz6G08Xaa6/rvh7JU1 /UGopumhmUxfrhFuCNhDMVjfjrBYvlrL+E+wokuDJCx7ywGtmNI26iLb1YnpergpAeAz fIgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=afH05+mNL9NXRT0ismRmNFKD44Gsjdb+ZZXnpi2IESQ=; fh=Vt3FH9GhRokDpFAKiUbRTV5nr1AgOrOEArHBeoLzUPs=; b=cT87B0hQaRpPe7/6MTxPvToScFAmN5Q6tB1otfX6L75r+iGzA+AnGSW4Gw8ADBDis5 0is0097yDAdLGTM5ORa5bW7GvYMBMepBAcdNUVYHgr4yNt6hxjUF1smrhN4xKM38Dx9X 8lsCDRhHkz5BGXI+5oQg/kO9CL3SADGJz4GSALAHf+dOoHmmZEVzv+KsHzhiU++mFWb2 73h12X7IQruXGKgnNUSjHpo38TYWOEyYCmCXBYbiqeuBGApWB4+SlB4pS/l+wOSW5rvY 99tpV3ZZEaKEHRgbX1d2fmQ4GuU3i9ikUXBNkDvsr0Dn4c1+xkJMYYbaUDu5ugToqDnm koHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=drJBBd1g; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k71-20020a63844a000000b0055b731aa992si10422325pgd.370.2023.07.05.04.37.19; Wed, 05 Jul 2023 04:37:33 -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=@linaro.org header.s=google header.b=drJBBd1g; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232047AbjGEKpz (ORCPT + 99 others); Wed, 5 Jul 2023 06:45:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232018AbjGEKpy (ORCPT ); Wed, 5 Jul 2023 06:45:54 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D75941989 for ; Wed, 5 Jul 2023 03:45:40 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-4fb7b2e3dacso10270116e87.0 for ; Wed, 05 Jul 2023 03:45:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1688553938; x=1691145938; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=afH05+mNL9NXRT0ismRmNFKD44Gsjdb+ZZXnpi2IESQ=; b=drJBBd1gad0btLgRml/j1/5tl/I2hFbU+EizLBQfc/kTcmEkHxBqC8h2qfcp2T58Wv fqPBItdsF0enfFAyKu5ok82TS4Nk6XFhJZw4QPc0nTfONc1yOWiODYz/H/EacfgN7RFY 1OOujCiJroctwkrpbSiBO432Dn6mFyqmoYIUYMTGKLThEapJn90/a0Jk9D31z9JZgaDO WvVgMCDXbrradrPYgtjKsTgSFBmNXWKFNM8d0yMEw6iWSHe9Rg0J8pKcNPYaunuz6ckx OkB+2RM1EJPmuP8Ro4/w0U4CPsGJ4uwHEpeM/dIPaNQBy+wT3dT919/QIfHYnnu8P8Vn mf6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688553938; x=1691145938; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=afH05+mNL9NXRT0ismRmNFKD44Gsjdb+ZZXnpi2IESQ=; b=d7vgAovfqFhfagso6wBnrV7QgdKEeN1X5JwD17YsOVclfPGBVmUU/dFkv+QCb8/u57 jOxbxLBM7JR08PFZH7fM7+C8lXNwGhAyx7qOEF66nI+hpdQvoVqMhhxIqLfeeKBck+Vi nNrV5EgKCSdYn4898ASMK3pVk2pn2udjmLCh1/MfzcY7ic1oqbifJ9HI5HdE1afYZ3bE ZJ+o1Y3zY4Q6qk/ti6nLIpI9+Ib2oSWv8nhbf0MrLHuk3HCavVFw/1lPBabnKCylTKDt ZC1C2OrAJBuwgxpQDgxZxGAtFtL73eLVk2XkZhmtLzJ9q7zVF5tOMdIki02BtFpAJiB3 R+Ww== X-Gm-Message-State: ABy/qLYfqlCZqI7vf297GoT5ljmzyLtHfwRAO58JOjKgsMc0j8Y2N4nZ Yt9lwAQGkPc1eN/pldrAbw0pUw== X-Received: by 2002:a05:6512:3a8e:b0:4fb:8a90:396c with SMTP id q14-20020a0565123a8e00b004fb8a90396cmr13348059lfu.38.1688553938302; Wed, 05 Jul 2023 03:45:38 -0700 (PDT) Received: from [192.168.1.101] (abyj26.neoplus.adsl.tpnet.pl. [83.9.29.26]) by smtp.gmail.com with ESMTPSA id y16-20020a197510000000b004fba5eb0a64sm2933153lfe.42.2023.07.05.03.45.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 05 Jul 2023 03:45:37 -0700 (PDT) Message-ID: Date: Wed, 5 Jul 2023 12:45:36 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH 4/7] clk: qcom: gcc-sc7180: Fix up gcc_sdcc2_apps_clk_src Content-Language: en-US To: Taniya Das , David Wronek , Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Turquette , Stephen Boyd , Taniya Das Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, map220v References: <20230704163848.169853-2-davidwronek@gmail.com> <20230704163848.169853-6-davidwronek@gmail.com> <9f06d400-be7b-6806-b055-8cc7f11db6ca@quicinc.com> From: Konrad Dybcio In-Reply-To: <9f06d400-be7b-6806-b055-8cc7f11db6ca@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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: X-Mailing-List: linux-kernel@vger.kernel.org On 5.07.2023 06:27, Taniya Das wrote: > > > On 7/4/2023 10:01 PM, David Wronek wrote: >> From: map220v >> >> Add the PARENT_ENABLE flag to prevent the clock from getting stuck at >> boot. >> >> Fixes: 17269568f726 ("clk: qcom: Add Global Clock controller (GCC) driver for SC7180") >> Signed-off-by: map220v >> Signed-off-by: David Wronek >> --- >>   drivers/clk/qcom/gcc-sc7180.c | 1 + >>   1 file changed, 1 insertion(+) >> >> diff --git a/drivers/clk/qcom/gcc-sc7180.c b/drivers/clk/qcom/gcc-sc7180.c >> index cef3c77564cf..49f36e1df4fa 100644 >> --- a/drivers/clk/qcom/gcc-sc7180.c >> +++ b/drivers/clk/qcom/gcc-sc7180.c >> @@ -651,6 +651,7 @@ static struct clk_rcg2 gcc_sdcc2_apps_clk_src = { >>           .name = "gcc_sdcc2_apps_clk_src", >>           .parent_data = gcc_parent_data_5, >>           .num_parents = ARRAY_SIZE(gcc_parent_data_5), >> +        .flags = CLK_OPS_PARENT_ENABLE, > > Could you please share what Stuck warnings are you observing? My educated guess would be that the max frequency uses GPLL7, which is either not enabled by default, or is shut down by unused clk cleanup down the pipe. Konrad > >>           .ops = &clk_rcg2_floor_ops, >>       }, >>   }; >