Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp309976rwb; Thu, 12 Jan 2023 20:30:33 -0800 (PST) X-Google-Smtp-Source: AMrXdXs3LZyWcxb8AOLms1YhuPKKFwZUpqCck4hjJSqrs3X/OzVhrUrrJ39MJLxyEP5/VzCctBSM X-Received: by 2002:a05:6a21:33a3:b0:b5:ce03:5b4e with SMTP id yy35-20020a056a2133a300b000b5ce035b4emr25394605pzb.57.1673584233609; Thu, 12 Jan 2023 20:30:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673584233; cv=none; d=google.com; s=arc-20160816; b=p9d0LMoz0tfsh2O2H+UJ1XywL+tSuX0drSc9zeklV034JT4rwc1FVMSSNSkYvnLgpU RveBx3QNo/gndOJeLGSYfQ3SIVjtwrLqtFOwNZJcSZat8NWvsZ6Z5xG9UNySCYZQJ6u1 HSF4vOKtKEeehRGZr8Tv07biMN79iPBIhH4HEZD2OYUhHH5omExOmkhGJ205e5BTEzE/ VZoDbdCwC7DxtmAt6wl6fgNTFHS7d1UPbBE50tawPuAcjV6w6wKQTJfM577PVVJ55M4T 2QG7oazTaoReyONd0+A81It6UI5Y0W55va9fM3Vqxx5rfNCEN3x74T7PDAqETBtqLEnN yXvQ== 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=URtOFWc4Y3NxXCjmj7AoFN5jaz8UOuGFeVdCsjgAKHQ=; b=jeRaepoVr3iYwmXsJ8zQ50Vjjvha+ougeVvER2GgOrfE8aJs9xoR5TE8D9L+t6bV/z /OmKgdgmnM4ZyShUndkCIiMzrDblJ6eTI5JRNjCn2lGyi36r99q805hSofBb1wBN5f0P cOZj2qzeI8oh0gujASlGAwkfiAMXv58q7s1aI5dSwQbq7Pi89uGuHNu2xTV2eCckAQi8 MgVlgVr/SeQWs4u4wsUuTUrrymNEZx6sG0dOuLcMxPmkG2Mzj9/a4pkdPB+kjlS3AHIG lbqYTgugdK31Jr1YHel+Be6Iyf700T63e6l9/UYMSzwzwmnjq3KNNeHcBcD2TQcp8cF4 QiJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=n15d5i1b; 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 cn15-20020a056a00340f00b00588e53600aesi11632295pfb.79.2023.01.12.20.30.27; Thu, 12 Jan 2023 20:30:33 -0800 (PST) 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=n15d5i1b; 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 S237953AbjAMEVX (ORCPT + 50 others); Thu, 12 Jan 2023 23:21:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236012AbjAMEU3 (ORCPT ); Thu, 12 Jan 2023 23:20:29 -0500 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 715EF669BE for ; Thu, 12 Jan 2023 20:16:29 -0800 (PST) Received: by mail-lf1-x134.google.com with SMTP id cf42so31421143lfb.1 for ; Thu, 12 Jan 2023 20:16:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=URtOFWc4Y3NxXCjmj7AoFN5jaz8UOuGFeVdCsjgAKHQ=; b=n15d5i1b2JsF8ap0e3rcuLaCuH0PeyokVa8wCGGEM6lsGiHuwi14ThJo3h8e2SEiW8 nnYqZQNvmtOucAd0ruIgTM1aZ9q14Hise7ZkAm+ZzrSkH1t3XL1CDVG/CTAMZW1DFm/a B1CNMhEK5uOwnpzNZVvFQK+kaeXJMG+2+/26d3UVJa/CR/Mo0MefuRbIZg+XPjgdhK1D NNa5VEo7/TdHA7cTcpdJ1tGsYDEU2O+Ujr6NonQbNjr46FuBM+qMyTB8ZXP3ACz7cTj1 IvqWFbenwDmwH9Pzw0fsHNEANVJdvsBMEvW+7JMD9FNNoPGG8op4yyBW2IL3P3CFahCO bu+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=URtOFWc4Y3NxXCjmj7AoFN5jaz8UOuGFeVdCsjgAKHQ=; b=ulzaWcEA8d2SwVv2+gCOHVuG2IpUHZpAMH/XfuGAXPS5xYAv546nBUMobAd0XSS4He qb4fUUC/oQY1AXZ+3h8torfxXQxJNQLlGdNe8UkBLEYjV0t6lGWSmmLtNeescVgPeaey 5MwI/HfGQoj5gZrNYFrkOWoS0D8cPzwBS9pP9Rjl+8dGBKnGMwq1KyJbIhe7HwbIs+af WdqtnPwvGQ7aD3m+RbVfl0IoFu19eW/3hvBKFYcYJ6q6cPTjGDNuKnS/spitEu0Wh+md m7bBBoz3pnNnVerN5YNs3wTVP2NsOMoshHOg3PNyEJ6kBu/lJ+XL86QgdKkl+FUQxem2 5ApQ== X-Gm-Message-State: AFqh2krLElCaPaWZBIHc5fwhXTZ8z8MCkJnai9OMVb3oaw0PG0RopkyI kD2Iow/7qenu3DZnGzNJYFxRyw== X-Received: by 2002:a05:6512:38cc:b0:4a4:68b9:19f0 with SMTP id p12-20020a05651238cc00b004a468b919f0mr18223586lft.24.1673583387558; Thu, 12 Jan 2023 20:16:27 -0800 (PST) Received: from [192.168.1.101] (abym53.neoplus.adsl.tpnet.pl. [83.9.32.53]) by smtp.gmail.com with ESMTPSA id p18-20020a19f012000000b004cc9e4bc00esm922753lfc.2.2023.01.12.20.16.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 12 Jan 2023 20:16:26 -0800 (PST) Message-ID: Date: Fri, 13 Jan 2023 05:16:25 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH] clk: qcom: Remove need for clk_ignore_unused on sc8280xp Content-Language: en-US To: Bjorn Andersson , Bjorn Andersson , Michael Turquette , Stephen Boyd , Abel Vesa Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230113041038.4188995-1-quic_bjorande@quicinc.com> From: Konrad Dybcio In-Reply-To: <20230113041038.4188995-1-quic_bjorande@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_HTTP,RCVD_IN_SORBS_SOCKS,SPF_HELO_NONE,SPF_PASS autolearn=no 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 The subject could be more in the likes of "use disable_unused sync_state".. On 13.01.2023 05:10, Bjorn Andersson wrote: > With the transition of disabling unused clocks at sync_state, rather > than late_initcall() it's now possible to drop clk_ignore_unused and > unused clock disabled once client drivers have probed. Do this on > SC8280XP. > > Signed-off-by: Bjorn Andersson > --- Acked-by: Konrad Dybcio Konrad > drivers/clk/qcom/dispcc-sc8280xp.c | 1 + > drivers/clk/qcom/gcc-sc8280xp.c | 1 + > 2 files changed, 2 insertions(+) > > diff --git a/drivers/clk/qcom/dispcc-sc8280xp.c b/drivers/clk/qcom/dispcc-sc8280xp.c > index 167470beb369..c84a6481b879 100644 > --- a/drivers/clk/qcom/dispcc-sc8280xp.c > +++ b/drivers/clk/qcom/dispcc-sc8280xp.c > @@ -3199,6 +3199,7 @@ static struct platform_driver disp_cc_sc8280xp_driver = { > .driver = { > .name = "disp_cc-sc8280xp", > .of_match_table = disp_cc_sc8280xp_match_table, > + .sync_state = clk_sync_state_disable_unused, > }, > }; > > diff --git a/drivers/clk/qcom/gcc-sc8280xp.c b/drivers/clk/qcom/gcc-sc8280xp.c > index b3198784e1c3..f4fdc5b9663c 100644 > --- a/drivers/clk/qcom/gcc-sc8280xp.c > +++ b/drivers/clk/qcom/gcc-sc8280xp.c > @@ -7441,6 +7441,7 @@ static struct platform_driver gcc_sc8280xp_driver = { > .driver = { > .name = "gcc-sc8280xp", > .of_match_table = gcc_sc8280xp_match_table, > + .sync_state = clk_sync_state_disable_unused, > }, > }; >