Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp472207pxj; Wed, 2 Jun 2021 03:59:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxB29xrM9BCez4KV4ZsdJgSHZPi7sLeNDMTsMoCJm29IQjRXG26RbxuY03hzQAyeTIst7Fb X-Received: by 2002:a17:906:4c5a:: with SMTP id d26mr14452004ejw.509.1622631597490; Wed, 02 Jun 2021 03:59:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622631597; cv=none; d=google.com; s=arc-20160816; b=vUNOgKhy9gEDJlSIsfgegybf90rBW4n2N/uL8v/r2A2FQTYs/LHXQ0I6UekQvepaJX hGlJtUaAikfPgunHoOomW2PXEmUMM0wc/Z6bncUgjK5Ej268EDrCWghKCBRLoYgTd99x +tC3cmis2fZilMaIAHoqypc8YQAQkWttYLAtoszIW28VkedRYf36cPDaCjNDvylElQzY wEa6A4n4bC6N1ozoTIA2nk43X2f+y9Z7fCjYKaScorQHl8ZU/UgdW/N18Vp3iuEx6unm 2CaiSxsKhaNB1ybAdvtBK2lL9tJsU8ycRomzC1gAMiOGGftJnmNRpbaZy6kpnL8fnM9x mdaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=NZdovLMjeOEfJmAhmYGaJ31BCe71BNnC9oUwaJkqSrw=; b=Qawwwoomp4bY+knGLvU2M8+ccoEQxQtcWNWio+enwDkIRGqxkM/mDHp0PYAbuE9Q/K 0cgwhpxQj37O6w5704ofm+/AsxVzVoa6Qtf6p5t7fn9IrUXyGEm6Gs+ZKDdcgEdTh60v 4z68ZF0N/Qy9HegJ9X9WanKBEKF8q9spk2YRUDTEmBmtw8VDOXw4h+DnMFTRLd0js7Q1 c9aJjOnFQTew4G1LHIHo8vaqUZWVIUjTgM1CoH48rnLDgl13Rg7z5uq/j6cnMW+LjMXi Rbj0kYHTdQaevW6beIo459h5OmCAvf+yuvJjV9L3OWP15feDTHJDwdI8+DBUposcBaOF gt4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="O/1vU5Ax"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z14si10245369eji.332.2021.06.02.03.59.34; Wed, 02 Jun 2021 03:59:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="O/1vU5Ax"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S232091AbhFBK6Y (ORCPT + 99 others); Wed, 2 Jun 2021 06:58:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232618AbhFBK4y (ORCPT ); Wed, 2 Jun 2021 06:56:54 -0400 Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B7B6FC061344 for ; Wed, 2 Jun 2021 03:55:02 -0700 (PDT) Received: by mail-pf1-x434.google.com with SMTP id u18so1850656pfk.11 for ; Wed, 02 Jun 2021 03:55:02 -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=NZdovLMjeOEfJmAhmYGaJ31BCe71BNnC9oUwaJkqSrw=; b=O/1vU5AxxVDZZF1+hU/NgXTkHZ3FuCQYKTNDUSIdM+u9x8C76gjYFO9uifh/W01Qvg UP98RuizPULtCPTUlBwSfHnrxFEiByqVQTrdMNkBmI55odOzJnv6Ol9QUCKmtHmyCJUT 6jqzEzOkniJcnI+KB7FjWgKJTf7Sv82q7ahlaXU57xZ0aj6M/I67a2xv29sl4/mxz3/4 s2CF+cVaEfCS/g+KF/inXCV2Dm49w7NTLyiFctj73UIHqn74C7CZ75LxXvSlbDuKmnl3 Dpbydm26eMsPrgqWTOAQik5nCAO9Wook0MMZzY3Cofwc0CEbbiguq9/5H/mhcUWK+7h3 yRNA== 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:user-agent; bh=NZdovLMjeOEfJmAhmYGaJ31BCe71BNnC9oUwaJkqSrw=; b=DFZkn0fbDpG6zutu9qbaeP4YqG1d3RSgOqE2mQ5mrZrbmvib89l3WKWQd+z3OybWO4 VG4jAVkDVSyEILXbC6sZeSDFyp3N724ZompwE2j0NtZt3oFdAq5QIhMwMUkVERmezg18 UMM9XT7jibnnwPe505ip8lQyAKAd6faQT8gGB/NnOO5gN8jb9ZuZwai/UDBwZNVTHwhj I6CngwwpORVnN27qk/0UIJgpfnhha38ZI3E3+kfxPnwHgIYOdZwA6H4vhNshg28pg65M pcj2aLMB7WWnh5Oy42aLimOqRiKpOPUvjaUYp5ydGazvJKmyzo8TUIWq/pD4MNpIjEtj nlAQ== X-Gm-Message-State: AOAM533/sD68hQ96zIZsdLQETUVjhaPBIZWMNmWjZZ7HEWtqQlNtAqyf TvsHCAAxvTtnrgkTK+QPNqGG3A== X-Received: by 2002:a63:7e56:: with SMTP id o22mr3361120pgn.278.1622631302311; Wed, 02 Jun 2021 03:55:02 -0700 (PDT) Received: from localhost ([136.185.154.93]) by smtp.gmail.com with ESMTPSA id p15sm16177139pjb.8.2021.06.02.03.55.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Jun 2021 03:55:01 -0700 (PDT) Date: Wed, 2 Jun 2021 16:24:59 +0530 From: Viresh Kumar To: Ulf Hansson Cc: Rajendra Nayak , Stephan Gerhold , Rob Herring , Bjorn Andersson , Linux PM , DTML , Linux Kernel Mailing List , linux-arm-msm , Stephen Boyd , Roja Rani Yarubandi Subject: Re: [PATCH v2 1/3] dt-bindings: power: Introduce 'assigned-performance-states' property Message-ID: <20210602105459.t3ptci42lgvrzqlx@vireshk-i7> References: <1622095949-2014-1-git-send-email-rnayak@codeaurora.org> <1622095949-2014-2-git-send-email-rnayak@codeaurora.org> <20210601114426.3vhh2twocqx254b6@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: linux-kernel@vger.kernel.org On 02-06-21, 12:45, Ulf Hansson wrote: > Alright, so it looks like we already have the DT binding that we need for this. > > That leaves us with the question, at what place should we parse it > (call of_get_required_opp_performance_state()) and set the performance > state for the device? > > Does it still make sense to do it while attaching the device to the > genpd, you think? For parsing, yes this is the right place. For getting that into effect, whenever the device is supposed to work, i.e. with runtime PM somehow. -- viresh