Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3853873rwb; Sun, 20 Nov 2022 23:45:34 -0800 (PST) X-Google-Smtp-Source: AA0mqf4csWIKpm7ADfmi8PMPzssyOXw6TiB1JHSV1UFsSziVPqzZFUxFXMFkuF0+rHxHQyd9ppdf X-Received: by 2002:a17:902:ee51:b0:189:1dda:5675 with SMTP id 17-20020a170902ee5100b001891dda5675mr4254337plo.115.1669016734549; Sun, 20 Nov 2022 23:45:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669016734; cv=none; d=google.com; s=arc-20160816; b=OdXUxfNkbitlHsiBru7hp2W3TFgFm/R2Puit60mKUoNE26qqiXenvzrQ2tU2SyDv92 50h4uaEMHAUnP+XqTTY/MXp9FbWTXR3CnoPtiSb5NiRgwxZakyQGIhKXi+s/5k5oMyV9 87dvRdaL/VYV40oDkaE4HfinJiTNHr3sUfB+JbMx0HTewO3E6YsFIcMExDasFiw+5z8v 9gH4MK6TSEkINztW+Bn03H0zrZm9N3C3C2eGouTMYg3VxUvREAoSeJ1KqBMAYHLunrwH eTbqKJAYohW6YekBLNrhxKlom9zu/gCAzJtVOz4HeRODiVOKiqSftgc9hQJxPMqbc9mS MPlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=eGNnPg4qR8iodffqAnabStv1epW424yoY3sdhIzyvq8=; b=d9u769BnsrWHuDYhkJ7SS1HUc2WdpXz9mr9vISs+VVeVKuim5VkKckibg+CFqhBlkG PS3HdirbDVPXisEbNKsZ6peIIM7kmxXMRN1wW2f4FmjTmBLUjQTjn3/csNk4IS12c5at JXO+Md2QExB3YOXW/jXEhtTGEZzljD+2s1dO34n5cIAed+iOAsv2NGQv243kphfVwc8w M2EDR6J0/p8VfnA8MDmotmk/0z7KQ7A5PVmGkW9HDBohX23b6WSA0yxO7y4EN98TAo6P /Cwh5f5+BCvTtUDX7gqvv/DVipSCOaUF/yxIw33GWuJbf2w/G1edoe0t+2pmRhKtIVtE 8aAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Wm4nwRwe; 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 o4-20020a656a44000000b00459ba7ace44si12142635pgu.514.2022.11.20.23.45.20; Sun, 20 Nov 2022 23:45:34 -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=Wm4nwRwe; 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 S229902AbiKUHku (ORCPT + 92 others); Mon, 21 Nov 2022 02:40:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229962AbiKUHk1 (ORCPT ); Mon, 21 Nov 2022 02:40:27 -0500 Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C40F6C735 for ; Sun, 20 Nov 2022 23:39:55 -0800 (PST) Received: by mail-pl1-x630.google.com with SMTP id y10so8658486plp.3 for ; Sun, 20 Nov 2022 23:39:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=eGNnPg4qR8iodffqAnabStv1epW424yoY3sdhIzyvq8=; b=Wm4nwRweHg8ft542EPEVdNFz06icI7cqsnHnm64Gx0AHwYEwNgT9NtHcvtOtP3SbPv 1nVzrbq148A3fggruWDcKYSGelDuLW7xXPDG5U+aCOpY4TSnnFf2WimMIhuKK0FdazOd +Brxp+wC4n2nrcKk4715OqOi3hnZ9AK6Gagt2QIRgiWsNjyzDoEjwP6BEBWt9XVykdXz GPpJcVCloK4IeNUFIaHkzPiV0O3Y+/JM7Qz7D9U3sO/LWGLODeglcyj7Gdrb3Kyoap1S HaVsyziiKIHcU1LVAEeDr847FLXQT2B8L+kvjdAd2skFnhuI/7wNKRmV6WvXsLCWHyik UqnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=eGNnPg4qR8iodffqAnabStv1epW424yoY3sdhIzyvq8=; b=taDfVg4QzNHSuSuB9AvfxgKgHzCTUR/QUaT/CenjWBhSaOlGlmYBGirmjItzVjDNfL fIfjwGUnJ+ICFiok9GuNqvQX9lreRy8XGk1vAprgtpsE9kwgWWDjK+0SCgoO9Ptu6d2U m2pBW3w2tLZ6hc+lciIrS0TOr8C0yY+UgRVUMgp6zdzXni/582u/Tn1hNFfgTYt22tgB uy5KDfu+/r+3VqJrEUXOeTiop7mP55TTEZdbZ3HMnQQlbd4n0LwaMgCWhxUPuDRXeCKO HEYl9lTqwAfePS6xMWb/ICN7P7nkKXlZRdFVwNPQx3Yf3fOKhJq1s9QF/sLYWtNxZIVt mpQQ== X-Gm-Message-State: ANoB5pnwXTJJT3Fk53qRL5sqODKvfGuPiRXyuVHqBvvmWS0ErBe5/TUg TZTY02rpekhVoE7zk34tTbqc X-Received: by 2002:a17:902:e385:b0:178:7040:9917 with SMTP id g5-20020a170902e38500b0017870409917mr10600763ple.109.1669016395061; Sun, 20 Nov 2022 23:39:55 -0800 (PST) Received: from thinkpad ([59.92.99.222]) by smtp.gmail.com with ESMTPSA id u18-20020a170902e5d200b00186748fe6ccsm9014625plf.214.2022.11.20.23.39.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Nov 2022 23:39:53 -0800 (PST) Date: Mon, 21 Nov 2022 13:09:46 +0530 From: Manivannan Sadhasivam To: Johan Hovold Cc: Viresh Kumar , Viresh Kumar , Nishanth Menon , Stephen Boyd , linux-pm@vger.kernel.org, Vincent Guittot , "Rafael J. Wysocki" , andersson@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] OPP: Disallow "opp-hz" property without a corresponding clk Message-ID: <20221121073946.GE11945@thinkpad> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 21, 2022 at 08:22:01AM +0100, Johan Hovold wrote: > On Mon, Nov 21, 2022 at 12:27:48PM +0530, Viresh Kumar wrote: > > This removes the special code added by the commit 2083da24eb56 ("OPP: > > Allow multiple clocks for a device"), to make it work for Qcom SoC. > > > > In qcom-cpufreq-hw driver, we want to skip clk configuration that > > happens via dev_pm_opp_set_opp(), but still want the OPP core to parse > > the "opp-hz" property so we can use the freq based OPP helpers. > > > > The DT for Qcom SoCs is fixed now and contain a valid clk entry, and we > > no longer need the special handling of the same in the OPP core. > > Didn't this affect also sc8280xp? Perhaps you can hold off with applying > this one for a bit until the needed devicetree changes are in linux-next > for all the affected platforms. > > (It looks like Mani's series only updated sm8450 and I guess Bjorn > hasn't picked up that one up yet either.) > That's right. I have proposed to do the similar change to other SoCs as well once the series was completely merged. I thought of doing so for 6.3. Btw, there seems to be one more candidate: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm64/boot/dts/qcom/sm8250.dtsi#n2537 Looks like newer SoCs that has the GMU within the GPU block doesn't have clock property. This is because, GMU is the one supplying clocks to the GPU unlike the old SoCs where the clocks used to come from GCC itself. But we do have a GMU devicetree node, so it should be a matter of adding the clock provider support as done for cpufreq and represent it in devicetree. I'll ping Rob Clark and see how to get it done. Thanks, Mani > Johan -- மணிவண்ணன் சதாசிவம்