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=-10.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 C8D3FC433E4 for ; Mon, 13 Jul 2020 16:43:33 +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 98F7B2067D for ; Mon, 13 Jul 2020 16:43:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="cRAac2a+" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 98F7B2067D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.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:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=U9QhVTET4uJCy+dDGTIwamlBUg1wrcImy7aczWMJrqg=; b=cRAac2a+WMEyAWebmD5yk7eSh 1bzUkoO7HnUqr3wGhxR8IvzAMRyWQp4vjrhHzEV2MLhTeHRCNditDmh+O7PfGVYcsnbmPguHSQo4p B3OO8DVJHwlXFd21vID3Q2cc4xGAaZuOjnq2mDn29WYi0AnHdWX1YRC8tjKpA+hYGY12Ocb2zqaJ3 h00Z4CTtZb0VMQYRs+yk2UcCVhMhqMq85UGpVW+759EOnUroNlcbSrZYSNf1FObFHb0Qr8EizZ0+a NAdgloj5OzsYYWAKQdL7+C6308ZjTKkGflfvLzwAC+q9frEpChDmuHySOKZlshuYVhZnO7kpwmXxV CeMIuUhmg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jv1X1-00021t-Ot; Mon, 13 Jul 2020 16:42:19 +0000 Received: from mail-io1-f65.google.com ([209.85.166.65]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jv1Wy-000216-Tw for linux-arm-kernel@lists.infradead.org; Mon, 13 Jul 2020 16:42:17 +0000 Received: by mail-io1-f65.google.com with SMTP id i4so14148970iov.11 for ; Mon, 13 Jul 2020 09:42:16 -0700 (PDT) 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=95u4XQbiBNEbmUiVqX+fo8bOSxhI7i+gaxCn3lXTzqc=; b=jN1PXpyUPma7a36kh3AgFfV04ZadUZzRjVu1HZjOCO+iQdUdKwov1jccprLRfIsUTy 7r34ovr5BFC3oObns8zT1zCkIfKABwJdX7h44tcE7Q6PBpaUdHqCU5MtZ1se93bctcQE T6Tbf80tBJ/bxuIpnyrTn+poRPChLONxxLKNMLzOT4Jqym10JCT/nny/iF7tiGJXGIVm QAv8DN4IWAaORgra3m7luzgyNNoV0UFDgLxfeqU8c45H9LLYPO9H7WAPSbLglMhWMdm5 m74Q+PbcvVZFr/lhlNas/t8pIQ0l+dUcw0fHkaKxoZW79apN5mwqU9hPY07QGq+u3F0W CoAg== X-Gm-Message-State: AOAM532rxoSVSNIYilusp3GSiVjaSQncsdrj0789AzuRAIZybgtaHsBP AfRR2CvMr5cybFT2IOnaVA== X-Google-Smtp-Source: ABdhPJw6zyKQhU2fGmPHQI3+yP7QiHYYcgQrgUA4qyagqHgLVfTS4YB+9LdplG/eDrMeToQieLohgw== X-Received: by 2002:a02:6c07:: with SMTP id w7mr1034168jab.33.1594658536188; Mon, 13 Jul 2020 09:42:16 -0700 (PDT) Received: from xps15 ([64.188.179.252]) by smtp.gmail.com with ESMTPSA id b13sm7889364iof.21.2020.07.13.09.42.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2020 09:42:15 -0700 (PDT) Received: (nullmailer pid 359058 invoked by uid 1000); Mon, 13 Jul 2020 16:42:14 -0000 Date: Mon, 13 Jul 2020 10:42:14 -0600 From: Rob Herring To: Sumit Gupta Subject: Re: [TEGRA194_CPUFREQ PATCH v5 1/4] dt-bindings: arm: Add t194 ccplex compatible and bpmp property Message-ID: <20200713164214.GA341271@bogus> References: <1594649209-29394-1-git-send-email-sumitg@nvidia.com> <1594649209-29394-2-git-send-email-sumitg@nvidia.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1594649209-29394-2-git-send-email-sumitg@nvidia.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200713_124216_993945_9757CDCB X-CRM114-Status: GOOD ( 17.48 ) 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: devicetree@vger.kernel.org, mperttunen@nvidia.com, linux-pm@vger.kernel.org, viresh.kumar@linaro.org, rjw@rjwysocki.net, linux-kernel@vger.kernel.org, mirq-linux@rere.qmqm.pl, talho@nvidia.com, thierry.reding@gmail.com, bbasu@nvidia.com, catalin.marinas@arm.com, linux-tegra@vger.kernel.org, jonathanh@nvidia.com, will@kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Jul 13, 2020 at 07:36:46PM +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. The cpus.yaml binding documents what's in 'cpu' nodes, not 'cpus' node. AIUI, the latter is what you want. You should do your own schema file here. > > Signed-off-by: Sumit Gupta > --- > Documentation/devicetree/bindings/arm/cpus.yaml | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/Documentation/devicetree/bindings/arm/cpus.yaml b/Documentation/devicetree/bindings/arm/cpus.yaml > index a018147..9b328e3 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 Tegra194 has 2 different CPUs? > - qcom,krait > - qcom,kryo > - qcom,kryo260 > @@ -255,6 +256,15 @@ properties: > > where voltage is in V, frequency is in MHz. > > + nvidia,bpmp: > + $ref: '/schemas/types.yaml#/definitions/phandle' > + description: | > + Specifies the bpmp node that needs to be queried to get > + operating point data for all CPUs. > + > + Optional for systems that have a "compatible" > + property value of "nvidia,tegra194-ccplex". > + > power-domains: > $ref: '/schemas/types.yaml#/definitions/phandle-array' > description: > @@ -340,6 +350,7 @@ required: > > dependencies: > rockchip,pmu: [enable-method] > + nvidia,bpmp: [compatible] > > examples: > - | > -- > 2.7.4 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel