lkml.org 
[lkml]   [2022]   [Apr]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Patch v3 1/4] dt-bindings: Document Tegra CCPLEX Cluster
On Mon, Apr 04, 2022 at 05:47:10PM +0530, Sumit Gupta wrote:
> The Tegra CPU COMPLEX CLUSTER area contains memory-mapped
> registers that initiate CPU frequency/voltage transitions.
>
> Signed-off-by: Sumit Gupta <sumitg@nvidia.com>
> ---

Changes from v2? None perhaps because you ignored my comments there.

> .../tegra/nvidia,tegra-ccplex-cluster.yaml | 52 +++++++++++++++++++
> 1 file changed, 52 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/arm/tegra/nvidia,tegra-ccplex-cluster.yaml
>
> diff --git a/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra-ccplex-cluster.yaml b/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra-ccplex-cluster.yaml
> new file mode 100644
> index 000000000000..d89457e0bd7d
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra-ccplex-cluster.yaml
> @@ -0,0 +1,52 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: "http://devicetree.org/schemas/arm/tegra/nvidia,tegra-ccplex-cluster.yaml#"
> +$schema: "http://devicetree.org/meta-schemas/core.yaml#"
> +
> +title: NVIDIA Tegra CPU COMPLEX CLUSTER area device tree bindings
> +
> +maintainers:
> + - Sumit Gupta <sumitg@nvidia.com>
> + - Mikko Perttunen <mperttunen@nvidia.com>
> + - Jon Hunter <jonathanh@nvidia.com>
> + - Thierry Reding <thierry.reding@gmail.com>
> +
> +description: |+
> + The Tegra CPU COMPLEX CLUSTER area contains memory-mapped
> + registers that initiate CPU frequency/voltage transitions.
> +
> +properties:
> + $nodename:
> + pattern: "ccplex@([0-9a-f]+)$"
> +
> + compatible:
> + enum:
> + - nvidia,tegra186-ccplex-cluster
> + - nvidia,tegra234-ccplex-cluster
> +
> + reg:
> + maxItems: 1
> +
> + 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.
> +
> +additionalProperties: true

Additionally, true is only allowed for incomplete, common bindings which
this is not.

> +
> +required:
> + - compatible
> + - reg
> + - nvidia,bpmp
> + - status
> +
> +examples:
> + - |
> + ccplex@e000000 {
> + compatible = "nvidia,tegra234-ccplex-cluster";
> + reg = <0x0 0x0e000000 0x0 0x5ffff>;
> + nvidia,bpmp = <&bpmp>;
> + status = "okay";
> + };
> --
> 2.17.1
>
>

\
 
 \ /
  Last update: 2022-04-05 00:20    [W:0.085 / U:1.560 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site