From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 680AFC433F5 for ; Wed, 20 Oct 2021 06:24:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 40C3A6117A for ; Wed, 20 Oct 2021 06:24:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229771AbhJTG0i (ORCPT ); Wed, 20 Oct 2021 02:26:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229741AbhJTG0h (ORCPT ); Wed, 20 Oct 2021 02:26:37 -0400 Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8EBABC061746 for ; Tue, 19 Oct 2021 23:24:23 -0700 (PDT) Received: by mail-pj1-x1036.google.com with SMTP id qe4-20020a17090b4f8400b0019f663cfcd1so1718607pjb.1 for ; Tue, 19 Oct 2021 23:24:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=ZMa8oCiSPBB4qo4oZt/cEUfPi1StRHdqetrtRfqP29Y=; b=kTa0oB0oyUuF2eXHW8FxZr/FXVaCNsZ3FWzqfiNr+TmvWIino64ikTH55/AD8Y8WMW Ks+c1IsZxgXGEKBPkE//6YEXeWwlkwR6T64Iy0NHqc76Tkl/OBpu3QR/Afe7N3+QdCLE AkJs5N6rmLHSRqIo1aiA6vQGGiMxWWFQ+I5FzZ+DlUG+Sy8VFX9V9pXsN0X3/e+9C4wr x2P3ao+F/hIq2Eg1FmSscVgt/Sp6Rl8lh7b2h1r6czNZqAI/rhABg0IPHCLJ5HQnHCly sQP4OL78IkBOIaSBjk1lQlbJ7dCXTq9rVjoQqwSvj8LH1hU0OYs23KqTas+DT2bvXt79 eAJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=ZMa8oCiSPBB4qo4oZt/cEUfPi1StRHdqetrtRfqP29Y=; b=qLMVyHdK2oe0ZgQt7OfinDaBBnHfInz+niVcD2HhDlt2MJ/C+5qAmqdVMP9Va901Nw ufg3q7J5zZ/U71dAmz/xW0PcGDyq8cf6i0re9Ns9MjTgqzeIuKlRVIgR6c+n9ndWjvhp K6vvdYziSxFOjzcWNaZaqgBigjR7qpQhrdO2N04G7L++oBA6ckDCuJvW73EdQ2rC+12J hjDPfAyt3PMEOZEO7CxSiCskMx5+jmuqUgQnS2dpoEw8b1obRRABpWkgpCMkFYbJx9Il Z4W7vvQoOBNu7T9cYkjyP/texl+h5EED72bpnfCB8vGDghbM639W4Vcg8SNviEAP04xy 0aoQ== X-Gm-Message-State: AOAM531dD5dKHGWjnqdQPORB31NO+aopuNa6/OKFLHePqGVljfNDRf2Q ybxig+ZCJFxVLaivRu7y0sPrNA== X-Google-Smtp-Source: ABdhPJzc0yxm5eltZXJQ58Hmi+kcJAwZ05JeeKVXS9q3nCMOCBxWVA6imYyNjUY9sOcnWe4NzkhJvg== X-Received: by 2002:a17:90b:3b52:: with SMTP id ot18mr5246540pjb.77.1634711063022; Tue, 19 Oct 2021 23:24:23 -0700 (PDT) Received: from localhost ([106.201.113.61]) by smtp.gmail.com with ESMTPSA id w2sm1176538pfq.207.2021.10.19.23.24.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Oct 2021 23:24:22 -0700 (PDT) Date: Wed, 20 Oct 2021 11:54:20 +0530 From: Viresh Kumar To: Ulf Hansson Cc: Sudeep Holla , Rob Herring , Linux Kernel Mailing List , DTML , Manivannan Sadhasivam , Hector Yuan , Bjorn Andersson , Rob Herring Subject: Re: [PATCH v4] dt-bindings: dvfs: Add support for generic performance domains Message-ID: <20211020062420.fcckkt2f55b54ipq@vireshk-i7> References: <20210517155458.1016707-1-sudeep.holla@arm.com> <20211014145555.uoi2hyoonrptrd5m@bogus> <20211019072425.dvq3ummjdkjmucgm@vireshk-i7> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716-391-311a52 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 19-10-21, 15:58, Ulf Hansson wrote: > To me, this looks doable from a genpd provider too. Of course, we may > need to extend the genpd interface a bit to make it fit well for this > new use case, of course. And I am happy to help, if that is needed. > > One thing though; how is the aggregation of the OPP votes expected to > be done? Is that entirely managed by FW - or is it expected that the > cpufreq driver, in this case, keeps track of the aggregated votes too? In case of cpufreq drivers, the voting is never required since there is always a single request from cpufreq core to change the freq for a group of devices (CPUs). And these genpds will only have a bunch of CPUs to serve. > Don't get me wrong, I am not pushing for these DT bindings to be > deprecated (at least not yet :-)), but I would certainly like to > understand more about them. In the end, we haven't walked this far, by > extending genpd and inventing new DT bindings to enable it to support > "performance management" - then just to just forget about them again. > :-) I am happy to move to genpd if this can be done in a sane way there :) -- viresh