Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp729689ybt; Fri, 26 Jun 2020 10:07:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxRz9MdiRy3rL34PNE+rFbf2RlhOS1CwdcobJXr+jVorL/LkTC3clSIVvHI6CKa08DODg/D X-Received: by 2002:aa7:c31a:: with SMTP id l26mr4194624edq.61.1593191245960; Fri, 26 Jun 2020 10:07:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593191245; cv=none; d=google.com; s=arc-20160816; b=blsPrc6EA/RgojjC/akPWd4wmdJvbwp1fv2I3iQR72TvqjYuXCrIzfEmt5vdRBEJdk FD4Pi3Vn7fUH57AV6s+PY2QAwwoOjHqsdUYSWYNs76wPMIwyhevJ7H2eU6r8d54caURn EewUeizdwfu/krpDRRdTIRhAktHwJVtsoqTlDluBds8ZD3Q/kTW+ovlH1JZxdaBsquVG GYO5I80ACDPILDXGP4mYJvLgzjrj4DdFhh8a825HGmTjL7Lqi23g8ankYYHwnGeJ20Mj CXGANqlSKtzrzHzf6XbK/HYh9zbs/MxU8S35mlw2XY4AxCLzoSoqYndDKYXgm8INth3C ZRCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from; bh=GFfWIGaXrMvp1DkevXPif529sLhgwm+yOrbKbLziXEQ=; b=c9ZqOCKtXo0f8JtiLwcXSb/kT6C9rBROOtLXRw0WSwLlhRGDhx/7FWilZZ05g9VF01 JicCko0juz4qnxl9lWppLAqhlG6hCfYqQ4I5jCGuu7vxVTqKYzIkGi+vq7vmPVuZx0Ni LzGNBr/+CNWcTdhu3euATKPLvdKtZfz9a9wl9p/AsWudakvytyfr3y92HUSEGlN6M9o+ dGJfGc/+7EsFwgImOQh33/56kSE7zDcD6qIAmUvBDXl2SfXoPntVmZiM8bkb2Gkfp5P2 JbhXH7GtDv5YrAdHsuA1S9KYva7fRYoBTvC77VW1grkQyu1VIOsktnYW/yQwuzppAtGo iyhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=DkiSSCBN; 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=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v16si12394618edr.93.2020.06.26.10.07.03; Fri, 26 Jun 2020 10:07:25 -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=@nvidia.com header.s=n1 header.b=DkiSSCBN; 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=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729919AbgFZPoL (ORCPT + 99 others); Fri, 26 Jun 2020 11:44:11 -0400 Received: from hqnvemgate25.nvidia.com ([216.228.121.64]:12452 "EHLO hqnvemgate25.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726895AbgFZPoK (ORCPT ); Fri, 26 Jun 2020 11:44:10 -0400 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate25.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Fri, 26 Jun 2020 08:43:23 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Fri, 26 Jun 2020 08:44:10 -0700 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Fri, 26 Jun 2020 08:44:10 -0700 Received: from HQMAIL101.nvidia.com (172.20.187.10) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 26 Jun 2020 15:44:08 +0000 Received: from hqnvemgw03.nvidia.com (10.124.88.68) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Fri, 26 Jun 2020 15:44:08 +0000 Received: from sumitg-l4t.nvidia.com (Not Verified[10.24.37.103]) by hqnvemgw03.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Fri, 26 Jun 2020 08:44:08 -0700 From: Sumit Gupta To: , , , , , , , , , , , , CC: , , Subject: [TEGRA194_CPUFREQ PATCH v4 1/4] dt-bindings: arm: Add t194 ccplex compatible and bpmp property Date: Fri, 26 Jun 2020 21:13:53 +0530 Message-ID: <1593186236-12760-2-git-send-email-sumitg@nvidia.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1593186236-12760-1-git-send-email-sumitg@nvidia.com> References: <1593186236-12760-1-git-send-email-sumitg@nvidia.com> X-NVConfidentiality: public MIME-Version: 1.0 Content-Type: text/plain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1593186203; bh=GFfWIGaXrMvp1DkevXPif529sLhgwm+yOrbKbLziXEQ=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:X-NVConfidentiality:MIME-Version: Content-Type; b=DkiSSCBN1HJmIHbPKiReEqhMDzMgejZAZdBmnGHSIkWa3G0Xsn+dinn2CB8jXQOaQ PCxOj4QfgWYT+rF4tBgQtzM0hCWN0vef8Moqlbl+vKvAfKttoeNAq9PttoHoPi5rDk JmTmnaNPeBT3M+ZldNJcEXyk3nCAX5mzfZ2tUIcZD1yevzUeowJ9aEoIhXWox+MMX7 DLjjUNN9j6tIHP3iWMaV98DWqXgCjsfdTWQ3fWI7dcCEMnCwvBfizKiehJFfoqjkgV 6QnZqfbiC945ubVsXIVGLC/M4DkAm3SCobBuE9tFGC2oFTgVmUE6b+Z97J3WOwGcBw 6iXeja4KoRuxw== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 + power-domains: $ref: '/schemas/types.yaml#/definitions/phandle-array' description: -- 2.7.4