From patchwork Sun Jun 21 21:34:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sumit Gupta X-Patchwork-Id: 11619373 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2119F14E3 for ; Mon, 22 Jun 2020 23:31:11 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EDC4A2076A for ; Mon, 22 Jun 2020 23:31:10 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="kgUT3nYA"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="HE/vsMh2"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=nvidia.com header.i=@nvidia.com header.b="R83+V+nL" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EDC4A2076A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nvidia.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-ID:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=13aa2Jdi3Gvsbe1CjBW+UazVW8CjGGswqaeY8IA9g/Y=; b=kgUT3nYA3HthIdG+gVI9jnq5N 4EgZSqKy/rlf9SDr9UXdf4joW2CxBxdc79debvqGe7dhvA9oekVOtN3eMu9k+qQcOWhWcp025DjDF VDcbuIUGREUN/mwQRYkvxO4BcgJvuvU8QeMIsdJ9S7gOOBIGEupFmUFCpFd7fbv2kzj/9vJhL1l8Y 1152vaLPwIhq+am3oH03KU8vHpDpXS3msGr2hSXLp2kqnOWeIiqdny4nW0uryR4jyS2rJEeKHcW3E 9QqZAsvd6y/+5ktoj5FfYtiivCaBaXsTxoUz2uehQzwjyvBfrDd1oWf5rbYzOmMWH+px5zBY7+SSp Osxl1yvcw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jnLkC-0006Jd-93; Mon, 22 Jun 2020 12:40:12 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jnLk6-0006HK-0j for linux-arm-kernel@merlin.infradead.org; Mon, 22 Jun 2020 12:40:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:CC:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=GFfWIGaXrMvp1DkevXPif529sLhgwm+yOrbKbLziXEQ=; b=HE/vsMh24zXzO1xEu000gsmNYp 25eWAbsDZGX9KU388ZrASHBX+vgrETG4A21GUUJIfLURVUIv76A2VOOiyWVEbyTu6sUTbE0MsXEt8 g81ONhepel3HMm6587qA7Z0ffS3c2RVKsS9sf4of6KLjBG1LbMAXIEbIyDYn0RET8U9U16toh9kCN 0Lo1A0fIHExMGvZqm0QHP3Q84JHyClNdcHd4lub0nky3y8MAHrCCAli08u7vZ4HVAPsiW24/KQszx FvZ2dn+l71shc2EhhRpCsSfgcTeF3jL/eC9NTDMzU4VozI3KPZD5o807wSrrJnp1J125Fjyw+U/wk mWdhoj5A==; Received: from hqnvemgate26.nvidia.com ([216.228.121.65]) by casper.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jn7cS-0004O3-Bj for linux-arm-kernel@lists.infradead.org; Sun, 21 Jun 2020 21:35:18 +0000 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate26.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Sun, 21 Jun 2020 14:34:38 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Sun, 21 Jun 2020 14:34:51 -0700 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Sun, 21 Jun 2020 14:34:51 -0700 Received: from HQMAIL105.nvidia.com (172.20.187.12) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Sun, 21 Jun 2020 21:34:47 +0000 Received: from rnnvemgw01.nvidia.com (10.128.109.123) by HQMAIL105.nvidia.com (172.20.187.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Sun, 21 Jun 2020 21:34:46 +0000 Received: from sumitg-l4t.nvidia.com (Not Verified[10.24.37.103]) by rnnvemgw01.nvidia.com with Trustwave SEG (v7, 5, 8, 10121) id ; Sun, 21 Jun 2020 14:34:46 -0700 From: Sumit Gupta To: , , , , , , , , , , , , Subject: [TEGRA194_CPUFREQ Patch v3 1/4] dt-bindings: arm: Add t194 ccplex compatible and bpmp property Date: Mon, 22 Jun 2020 03:04:31 +0530 Message-ID: <1592775274-27513-2-git-send-email-sumitg@nvidia.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1592775274-27513-1-git-send-email-sumitg@nvidia.com> References: <1592775274-27513-1-git-send-email-sumitg@nvidia.com> X-NVConfidentiality: public MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1592775278; 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=R83+V+nLFEij8+xT/ZWbBiEktc1LnX/dcasmxo8B0Ww8U9+z2nO3uWqLt/jgDvAU+ B4ueYGfhZdmFqEJp1BTDg3aiAJz591M61cAcpuS+ye7OPfAyrWsUSy7c2newobZ3y1 k5Wo1b8k6cG2ipQS+UXbNGDe5IFqK9c8U6xAkgvJhLJJ6eQvQoszhbfm+vo8a4G5Vd jABIG14QID9C4SfHn6wALN65gQjDkttIfQ8e3sQx8ZwvK+G12ZvqYYzz3Dsyt/EpAS vIYkXCgsgoKfe/Gr2V7wtS5By2cDg/L2CL+D1SZyFFI1+l8PhqCVyj7eIzu6rZuAfm EqAaAFuxi+AHw== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200621_223516_723306_7F15DD71 X-CRM114-Status: UNSURE ( 9.69 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -7.1 (-------) X-Spam-Report: SpamAssassin version 3.4.4 on casper.infradead.org summary: Content analysis details: (-7.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at https://www.dnswl.org/, high trust [216.228.121.65 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.0 DKIMWL_WL_HIGH DKIMwl.org - Whitelisted High sender X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: sumitg@nvidia.com, bbasu@nvidia.com, mperttunen@nvidia.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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: