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 X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BAF2CC12002 for ; Fri, 16 Jul 2021 20:52:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8D7D9613E3 for ; Fri, 16 Jul 2021 20:52:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233454AbhGPUzM (ORCPT ); Fri, 16 Jul 2021 16:55:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44770 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230415AbhGPUzL (ORCPT ); Fri, 16 Jul 2021 16:55:11 -0400 Received: from mail-oi1-x235.google.com (mail-oi1-x235.google.com [IPv6:2607:f8b0:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 85E24C061760 for ; Fri, 16 Jul 2021 13:52:15 -0700 (PDT) Received: by mail-oi1-x235.google.com with SMTP id y66so2997632oie.7 for ; Fri, 16 Jul 2021 13:52:15 -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=igKuGeiMB9XP6nxZZ+PIi1FthZOiouK6b3cCHBxksKE=; b=HR+uz2qNYilxv1tgAKGAEkzxzeI+y2gpODn56cN/+SpUI9cmCe3Pa9R7AAxIPAKxL+ lQVpcX15+P3JDy+uu/YJWkJMCoYLhGUeOt27YAdjObi9nLmJ4jtNXBy9Jhqoy4j2Ojln OXP4+WPgHmtYWGkuSewLKtcbT2QnYgVB4k77KPMtCRf79zFQYoGL6qX9KeQwgp77zEtI w9hfOuFxcV8Ti+TAY2lGMLzdVoTZk8jPNhW11YTi24AQs4IN0jBecAfAlX6uggEmveob viGUGK2p5GA9Bc2ntfo5HcAwuuwqt3XdAQME4VUc4hEDBqjUMQC2pw6AD27b+1CTvKmS aZSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=igKuGeiMB9XP6nxZZ+PIi1FthZOiouK6b3cCHBxksKE=; b=KsZr/AOdKWIn4rpqgTF2YJmVkE9tQQh3kT1Um9oN2g5scm2NTM3AvWNdPN1zOuhYG7 cxQrh2G/GTgzRMwZxJrijR6oF1fMRmsr4mIK6aAKkMKEXdVKgXSXiTAJ2XemjGiyXNB5 ds+NSlNSDN8OkxKyzSUyHvQuBVDCifpOQNeO5C1LMjMH/mBnuLMoS33StCKWtaw0fwNA G7rBmzGY/suphmplJ+lLgOTC8sVTnXuLX3a89uqhtj+uHLUvZxeQD4wGUzTDExaMwMiz pK7RouUOu4HQkEB20AsdPcJXcRmi/K7R+9PjYOKojQ3/v9Zu8tmbo/noEj3gdR/l/75C qEOQ== X-Gm-Message-State: AOAM532ZgVAOrbwvtIctA8SjXMcDsYBnhEPwp1bGgjDB00oOM4/agQPk ZMSnfzWdGGGrNC0tGJ0hqN8RfA== X-Google-Smtp-Source: ABdhPJyIdma5lUUzHC6dbYwpyOQT+jE11sJiWCeqlG3aFNwcOJHeoiTmVMB4cuH5Ki256xGi1CGFZw== X-Received: by 2002:a05:6808:1523:: with SMTP id u35mr9425249oiw.132.1626468734835; Fri, 16 Jul 2021 13:52:14 -0700 (PDT) Received: from yoga (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id a7sm2091197ooo.9.2021.07.16.13.52.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Jul 2021 13:52:14 -0700 (PDT) Date: Fri, 16 Jul 2021 15:52:12 -0500 From: Bjorn Andersson To: Stephen Boyd Cc: Rajendra Nayak , ulf.hansson@linaro.org, viresh.kumar@linaro.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, rojay@codeaurora.org, stephan@gerhold.net Subject: Re: [PATCH v4 2/2] arm64: dts: sc7180: Add required-opps for i2c Message-ID: References: <1626429658-18961-1-git-send-email-rnayak@codeaurora.org> <1626429658-18961-3-git-send-email-rnayak@codeaurora.org> 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-arm-msm@vger.kernel.org On Fri 16 Jul 15:21 CDT 2021, Stephen Boyd wrote: > Quoting Bjorn Andersson (2021-07-16 13:18:56) > > On Fri 16 Jul 05:00 CDT 2021, Rajendra Nayak wrote: > > > > > qup-i2c devices on sc7180 are clocked with a fixed clock (19.2 MHz) > > > Though qup-i2c does not support DVFS, it still needs to vote for a > > > performance state on 'CX' to satisfy the 19.2 Mhz clock frequency > > > requirement. > > > > > > > Sounds good, but... > > > > > Use 'required-opps' to pass this information from > > > device tree, and also add the power-domains property to specify > > > the CX power-domain. > > > > > > > ..is the required-opps really needed with my rpmhpd patch in place? > > > > Yes? Because rpmhpd_opp_low_svs is not the lowest performance state for > CX. On e.g. sm8250 the first available non-zero corner presented in cmd-db is low_svs. And if this (which?) clock requires a higher corner than the lowest possible in order to tick at this "lowest" frequency, I'm certainly interested in some more details. Regards, Bjorn