Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp737537ybt; Fri, 26 Jun 2020 10:17:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyt7K/mzmxs2/XRqol4xm4X3KQmzahLRN3o78Wp+S2Q0BcY5vwHM6ELw0jEbrG/rkpm3ZYw X-Received: by 2002:a50:fd12:: with SMTP id i18mr4486477eds.371.1593191868024; Fri, 26 Jun 2020 10:17:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593191868; cv=none; d=google.com; s=arc-20160816; b=Y5y9jOvTA/lanvhS7eh65Z2u0i1BI0l86LmsbVz22FDAI6bBHnLMqMpTH1midNvcEm ETLD74XSWIuz9vILk3U4XksxqcHpLyIAqvSfYv8rTF5P+Anc3A4ayMRKn/QYPmoquXRA yHACcFmgtQyz8vEVPCZloHovL/ZBOUa2j8RSPhp6S4GVojFKtOPUxDIo4uVg9ltk6dv+ gbe9qqM5P+uOhxlUunP2ROEGG4i0L0uPOUJrgkUam7yA84xE0caPgTgVj8Dcu/mRy5r5 Q//n8R81RExLqsOLCs2PV6Ead6ykXjLB/eDvZ9R5YVb6T074J0jcXwe2TBFlh/mTieGF 7ePw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=4e1tKqcjPjgDIgcXuii6zGVXjON2mdeA/0thLNAIg3M=; b=xBJaAMBM5dPZU16WIeWtn6siro8Kh8YV2LWBjhSJVjWlK3jGceLxuantYfl3FpC7YK ZZ+cMBvtpAHRlFHXYW0hFhiHKUGzRiXJpfSHWvdD2qYdrvLNHfnFZ9/p0vze8kRwOZJR 5xRjd/LmZTsEw5nJOopB/AL6hYAYOrHgHAKgHM0a8ulRKHEJunLQY/egaON8keOjpcpy IKbye2ssiIwMpxF9kzvYlT+cpTvRmAxiKs0iZ4jjRB3S/WKtWQV0pC0ZlIfibaE4gJtq 6hEKl4kzIAw4THXQz2kMM8gCu/43RkikEL83O9VBRyRs7QNs7Y0XVQHqGwIDnIqjxZSS BSfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rere.qmqm.pl header.s=1 header.b=kf4kOiJY; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p16si16888424ejj.708.2020.06.26.10.17.25; Fri, 26 Jun 2020 10:17:48 -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=@rere.qmqm.pl header.s=1 header.b=kf4kOiJY; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726506AbgFZQEe (ORCPT + 99 others); Fri, 26 Jun 2020 12:04:34 -0400 Received: from rere.qmqm.pl ([91.227.64.183]:3260 "EHLO rere.qmqm.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725807AbgFZQEe (ORCPT ); Fri, 26 Jun 2020 12:04:34 -0400 Received: from remote.user (localhost [127.0.0.1]) by rere.qmqm.pl (Postfix) with ESMTPSA id 49thXR6fSNz8k; Fri, 26 Jun 2020 18:04:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rere.qmqm.pl; s=1; t=1593187471; bh=dRgqe4wiOWYz7rwvRwaf+FBl8AmPXPxGIWeTwHg9vd0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kf4kOiJY2yMhVY3ZjN968hGBCaGmdNZCB69H58CTeQV8L+hdWjkhUDo1rUqEVetUh rBYW5eKriEG1Hm5yFUT0H9XBHWndtFMukzgWxLUY3EdmL5EWFn9YyFUMpbymGSJcBC tnKdm8MkdrXklEZfClJmT8yAhBxQK71RzUcqzNg0aMYihysNO3zI/m6lK6tYiIeo76 2Exqy8Lbl++kvojlQhe+pub53UiPU2Xemdif0kIAWnDnU8brV24xLY/W74ikj5igP4 SlRfgs3QQ0HAW9DStLd78/L+OlHB6xBDxPP6t/FVemPOYm5LjxQZsEO04HL4to6j3X fyEAaaGAT+BWg== X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.3 at mail Date: Fri, 26 Jun 2020 18:04:19 +0200 From: =?iso-8859-2?Q?Micha=B3_Miros=B3aw?= To: Sumit Gupta Cc: rjw@rjwysocki.net, viresh.kumar@linaro.org, catalin.marinas@arm.com, will@kernel.org, thierry.reding@gmail.com, robh+dt@kernel.org, devicetree@vger.kernel.org, jonathanh@nvidia.com, talho@nvidia.com, linux-pm@vger.kernel.org, linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, bbasu@nvidia.com, mperttunen@nvidia.com Subject: Re: [TEGRA194_CPUFREQ PATCH v4 1/4] dt-bindings: arm: Add t194 ccplex compatible and bpmp property Message-ID: <20200626160419.GA9302@qmqm.qmqm.pl> References: <1593186236-12760-1-git-send-email-sumitg@nvidia.com> <1593186236-12760-2-git-send-email-sumitg@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1593186236-12760-2-git-send-email-sumitg@nvidia.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 26, 2020 at 09:13:53PM +0530, Sumit Gupta wrote: > To do frequency scaling on all CPUs within T194 CPU Complex, we need > to query BPMP for data on valid operating points. Document a compatible > string under 'cpus' node to represent the CPU Complex for binding drivers > like cpufreq which don't have their node or CPU Complex node to bind to. > Also, document a property to point to the BPMP device that can be queried > for all CPUs. > > Signed-off-by: Sumit Gupta > --- > Documentation/devicetree/bindings/arm/cpus.yaml | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/Documentation/devicetree/bindings/arm/cpus.yaml b/Documentation/devicetree/bindings/arm/cpus.yaml > index a018147..737b55e 100644 > --- a/Documentation/devicetree/bindings/arm/cpus.yaml > +++ b/Documentation/devicetree/bindings/arm/cpus.yaml > @@ -162,6 +162,7 @@ properties: > - nvidia,tegra132-denver > - nvidia,tegra186-denver > - nvidia,tegra194-carmel > + - nvidia,tegra194-ccplex > - qcom,krait > - qcom,kryo > - qcom,kryo260 > @@ -255,6 +256,14 @@ properties: > > where voltage is in V, frequency is in MHz. > > + nvidia,bpmp: > + $ref: '/schemas/types.yaml#/definitions/phandle' > + descrption: | > + Specifies the bpmp node that needs to be queried to get > + operating point data for all CPUs. > + > + Optional for NVIDIA Tegra194 Carmel CPUs Hi, The code (next patches) suggests, that the property is relevant for Tegra194 only. If it is required for compatible=tegra194-ccplex, then maybe you can mark it so (there is already similar constraint described in the file, just before the example section). Best Regards, Micha??Miros?aw