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 E566AC433E4 for ; Tue, 14 Jul 2020 20:49:02 +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 AE6132064B for ; Tue, 14 Jul 2020 20:49:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ZiCIk19i" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AE6132064B 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=PNN4B/Kf0DyIp1S8KguY8YdOK7uVkv4NMtZ3TXc2zRc=; b=ZiCIk19iy70wtaTxF183vjfBJ UfU+tt7lD9baTTtAdjoVB/oYwRFcChLaB7zawc38xxwlL9U45xuPq30/YCttqlQtFtXQPXLE6qGg4 8ir/HzfmdihXN52/9DRp88eMdlBZFriZzowMOBrbqQ6E8ayqEsE0B3zQY/cftqBj1YogYAa+AZYJF 6xIrbAEYp1nOHVlTcKh8yZf4WXyiQjtswpbO+O2I2Oy96NKu5THC8FZ5mPkfR5bxFb0GucaYDpj/f cHJwCFqCodvCQtyciZx4LbQYR8zZM+ATHRKEKj9wovuahEerwlFLfI+PwKGG/Zz7l8X3DRaw/ej6C O3JrfZYPw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvRq9-0000nm-21; Tue, 14 Jul 2020 20:47:49 +0000 Received: from mail-io1-f66.google.com ([209.85.166.66]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvRq6-0000mW-5q for linux-arm-kernel@lists.infradead.org; Tue, 14 Jul 2020 20:47:47 +0000 Received: by mail-io1-f66.google.com with SMTP id a12so18739472ion.13 for ; Tue, 14 Jul 2020 13:47:45 -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=KG4OgRdU2mgzhB9c1XHH0PH62T4x9g/GNwBwywUmXPk=; b=roJ9mUHubPC2MXMgaosUzwdkdg1HtzO6QV+3dPbKh1x66kLs9rY8q7ptXj7CzyIV2R +8pKhiVsRP929UYaX0/lQGTe8lqDlELxBPDnDbLmMfXNNrUHbFQQub2PF0YipIDFwK4a H2NnRWBUbzkRs8ODBSry4WKtUmfhONBFKyGHvqmtwuI0rRd/iM3nfQAmcDESLwkv4Vqq ZPdJVeiHxPgbKwW5bAQhykJ7BUdOK2ZoHSgtwd4qVIY4986h6SodvHwc3vI1sU8k58yp STUgDhAdgoY5ehpx/0ALT/t5fqLvETml8vn+LAAMK4JiWkZMKd98UdnCVbonw4UDO2eH s3ww== X-Gm-Message-State: AOAM5310aTUS/loWEYtXKKKghgqGyqZyQSXJU/X5l+D8mqrxWbUsZpZP 3iDeGaL3pAnpBeeCMPMc9A== X-Google-Smtp-Source: ABdhPJwBvSm4L20FyQCifD/KPEdkGKZCsERW6o55KIcz2jTL8cDAUwFn53ULauO3Ul3/93YJXFV7aw== X-Received: by 2002:a5d:9c44:: with SMTP id 4mr6874108iof.15.1594759664552; Tue, 14 Jul 2020 13:47:44 -0700 (PDT) Received: from xps15 ([64.188.179.252]) by smtp.gmail.com with ESMTPSA id j19sm28502ile.36.2020.07.14.13.47.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jul 2020 13:47:43 -0700 (PDT) Received: (nullmailer pid 2891643 invoked by uid 1000); Tue, 14 Jul 2020 20:47:42 -0000 Date: Tue, 14 Jul 2020 14:47:42 -0600 From: Rob Herring To: Sumit Gupta Subject: Re: [TEGRA194_CPUFREQ PATCH v6 1/4] dt-bindings: arm: Add NVIDIA Tegra194 CPU Complex binding Message-ID: <20200714204742.GA2875540@bogus> References: <1594742870-19957-1-git-send-email-sumitg@nvidia.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1594742870-19957-1-git-send-email-sumitg@nvidia.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200714_164746_290965_12AD2668 X-CRM114-Status: GOOD ( 19.27 ) 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 Tue, Jul 14, 2020 at 09:37:50PM +0530, Sumit Gupta wrote: > Add device-tree binding documentation to represent Tegra194 > CPU Complex with compatible string under 'cpus' node. This > can be used by drivers like cpufreq which don't have their > node or CPU Complex node to bind to. Also, documenting > 'nvidia,bpmp' property which points to BPMP device. > > Signed-off-by: Sumit Gupta > --- > .../bindings/arm/nvidia,tegra194-ccplex.yaml | 106 +++++++++++++++++++++ > 1 file changed, 106 insertions(+) > create mode 100644 Documentation/devicetree/bindings/arm/nvidia,tegra194-ccplex.yaml > > diff --git a/Documentation/devicetree/bindings/arm/nvidia,tegra194-ccplex.yaml b/Documentation/devicetree/bindings/arm/nvidia,tegra194-ccplex.yaml > new file mode 100644 > index 0000000..06dbdaa > --- /dev/null > +++ b/Documentation/devicetree/bindings/arm/nvidia,tegra194-ccplex.yaml > @@ -0,0 +1,106 @@ > +# SPDX-License-Identifier: GPL-2.0 Dual license please. > +%YAML 1.2 > +--- > +$id: "http://devicetree.org/schemas/arm/nvidia,tegra194-ccplex.yaml#" > +$schema: "http://devicetree.org/meta-schemas/core.yaml#" > + > +title: NVIDIA Tegra194 CPU Complex device tree bindings > + > +maintainers: > + - Thierry Reding > + - Jonathan Hunter > + - Sumit Gupta > + > +description: |+ > + Tegra194 SOC has homogeneous architecture where each cluster has two > + symmetric cores. Compatible string in "cpus" node represents the CPU > + Complex having all clusters. > + > +properties: $nodename: const: cpus > + compatible: > + enum: > + - nvidia,tegra194-ccplex > + > + 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". The schema says this already. > + > + "#address-cells": > + const: 1 This is wrong. The binding says it's 2 cells on aarch64 cpus though we don't enforce that. > + > + "#size-cells": > + const: 0 > + > +dependencies: > + nvidia,bpmp: [compatible] This is kind of redundant as 'compatible' is required in order to apply the schema. > + > +examples: > + - | > + cpus { > + compatible = "nvidia,tegra194-ccplex"; > + nvidia,bpmp = <&bpmp>; > + #address-cells = <1>; > + #size-cells = <0>; > + > + cpu0_0: cpu@0 { > + compatible = "nvidia,tegra194-carmel"; > + device_type = "cpu"; > + reg = <0x0>; > + enable-method = "psci"; > + }; > + > + cpu0_1: cpu@1 { > + compatible = "nvidia,tegra194-carmel"; > + device_type = "cpu"; > + reg = <0x001>; > + enable-method = "psci"; > + }; > + > + cpu1_0: cpu@100 { > + compatible = "nvidia,tegra194-carmel"; > + device_type = "cpu"; > + reg = <0x100>; > + enable-method = "psci"; > + }; > + > + cpu1_1: cpu@101 { > + compatible = "nvidia,tegra194-carmel"; > + device_type = "cpu"; > + reg = <0x101>; > + enable-method = "psci"; > + }; > + > + cpu2_0: cpu@200 { > + compatible = "nvidia,tegra194-carmel"; > + device_type = "cpu"; > + reg = <0x200>; > + enable-method = "psci"; > + }; > + > + cpu2_1: cpu@201 { > + compatible = "nvidia,tegra194-carmel"; > + device_type = "cpu"; > + reg = <0x201>; > + enable-method = "psci"; > + }; > + > + cpu3_0: cpu@300 { > + compatible = "nvidia,tegra194-carmel"; > + device_type = "cpu"; > + reg = <0x300>; > + enable-method = "psci"; > + }; > + > + cpu3_1: cpu@301 { > + compatible = "nvidia,tegra194-carmel"; > + device_type = "cpu"; > + reg = <0x301>; > + enable-method = "psci"; > + }; Not really that useful describing all these cpus. > + }; > +... > -- > 2.7.4 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel