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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DACCEC43334 for ; Wed, 13 Jul 2022 06:55:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232833AbiGMGzh (ORCPT ); Wed, 13 Jul 2022 02:55:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229890AbiGMGzg (ORCPT ); Wed, 13 Jul 2022 02:55:36 -0400 Received: from mail-pg1-x52c.google.com (mail-pg1-x52c.google.com [IPv6:2607:f8b0:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3799626DA for ; Tue, 12 Jul 2022 23:55:35 -0700 (PDT) Received: by mail-pg1-x52c.google.com with SMTP id f65so391664pgc.12 for ; Tue, 12 Jul 2022 23:55:35 -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; bh=LPiteU3ZIDPphGuDd6qhaM0GwMlw0tFWabPide3YTOc=; b=A/kI71ePqkRtbdh4z6E8oeAEwMemeTtnsPnzauycFrQoDgCe+7rvrRi8TQvwCXXNyj RFLSAMfWDCCpRvvNJBs6c3ToSnFVUsOCdltIm1Qbeux9Y6+Mn/i2mWVDL7LQa/yDFxqc EMO9vGsRsf509RRlWOkCehzKiYr0eztVxUhdbzmelL2SSbnuoE7CJd0ypVnzhGEIB4/3 tJ9DsgdifTfpn787hTxrdhBpblSzUQ3Xueyk4JWpNBe3RVThL191Yt99vaZ/525Fve8M JrZhOZ8tnZgkMYMhXTj2Yum+vqffdzlakiEqSwY+d+i4ij90oU1zd2xP+t8wC75XE77n 94Yg== 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; bh=LPiteU3ZIDPphGuDd6qhaM0GwMlw0tFWabPide3YTOc=; b=0Rm7xHQGGnKj5UnUoQe8QfpEr+SwQfJN1aWXbSJ7VubHkgCsWmmfje3MH9u3QdPdP7 JUD7Rx97fR27iL3ySDU1Se1YC2tvz4Taj9E6U+LZLcmiLB7bOzXJ3VqWhQHqT2ZEzIGu nb3Z8XAlh6m8fxTszKCjgqqkMbXanMjNb9LrwM7+K1uC3eR32uUc0sNAsuB8XlXZdO1G 7dcgk4KKMUVus2xCF1xrVeGkKqmWf5l4qXX67SxPB/O2h2+NBKpWFxP7gXWZdINbSHhl GD0WCRxLBraQR9yeCTGLpkH5GUVK0QrWxx/WyB9vidOfD/oDNxmzdvtsAWGrNABXAYFi eEAQ== X-Gm-Message-State: AJIora9RZY6tr0tOeRO2XoJqkg9czR0AUnIYSJvjjpLbcMGESikYnFlO Fgmr+2LtALnOpZaJPrOJsmaxaA== X-Google-Smtp-Source: AGRyM1uSwqDpVinLdL7ntciXJbFOuFBhY5TCrb7J80kwb6l2HhsFvOzbue+FzpiDNyS4smvxav+8Og== X-Received: by 2002:a05:6a00:b8b:b0:51c:2487:57b5 with SMTP id g11-20020a056a000b8b00b0051c248757b5mr1916239pfj.56.1657695334722; Tue, 12 Jul 2022 23:55:34 -0700 (PDT) Received: from localhost ([122.171.18.80]) by smtp.gmail.com with ESMTPSA id p14-20020a170902780e00b001620960f1dfsm8061328pll.198.2022.07.12.23.55.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Jul 2022 23:55:34 -0700 (PDT) Date: Wed, 13 Jul 2022 12:25:32 +0530 From: Viresh Kumar To: Johan Hovold Cc: Bjorn Andersson , Manivannan Sadhasivam , Chanwoo Choi , Dmitry Osipenko , Jonathan Hunter , Kyungmin Park , MyungJoo Ham , Nishanth Menon , "Rafael J. Wysocki" , Stephen Boyd , Thierry Reding , Viresh Kumar , linux-pm@vger.kernel.org, Vincent Guittot , Krzysztof Kozlowski , devicetree@vger.kernel.org, Dmitry Osipenko , linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org, Rob Herring Subject: Re: [PATCH V2 00/13] OPP: Add support for multiple clocks* Message-ID: <20220713065532.qncnjpj5isjmsxf5@vireshk-i7> References: <20220712075240.lsjd42yhcskqlzrh@vireshk-i7> <20220712151045.vn4tpat4c4cplndo@vireshk-i7> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org On 12-07-22, 17:55, Johan Hovold wrote: > Ok, thanks for the details. I'd still look into if there's some way to > avoid setting clk_count when there are no clocks as it sounds like an > anti-pattern that will just make the code harder to understand and > maintain. Here is an attempt from me :) https://lore.kernel.org/lkml/cover.1657695140.git.viresh.kumar@linaro.org/ -- viresh