From c33732f6ce071ce205539da412659d428d926206 Mon Sep 17 00:00:00 2001 From: Johnny Liu Date: Mon, 3 Oct 2022 15:50:36 +0800 Subject: [PATCH] dt-bindings: nvpmodel: add nvpmodel yaml file Add "nvidia,nvpmodel-emc-cap" dt-bindings. Bug 3779573 Signed-off-by: Johnny Liu Change-Id: I1b1ddfb1a83c2e4d2d152b8772bddc8ff6cf97ad Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2785838 Reviewed-by: Laxman Dewangan GVS: Gerrit_Virtual_Submit --- .../bindings/nvpmodel/nvpmodel-emc-cap.yaml | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/nvpmodel/nvpmodel-emc-cap.yaml diff --git a/Documentation/devicetree/bindings/nvpmodel/nvpmodel-emc-cap.yaml b/Documentation/devicetree/bindings/nvpmodel/nvpmodel-emc-cap.yaml new file mode 100644 index 00000000..2c964450 --- /dev/null +++ b/Documentation/devicetree/bindings/nvpmodel/nvpmodel-emc-cap.yaml @@ -0,0 +1,34 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +# Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/nvpmodel/nvpmodel-emc-cap.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NVIDIA nvpmodel driver for emc clock cap + +maintainers: + - Johnny Liu + +description: | + Nvpmodel is a driver that provides sysfs nodes that allow capping certain clock + frequencies in order to keep the power consumption under a certain budget. + + These caps are designed to be relatively static. They should not be used + during runtime (under load) to dynamically change the power budget + +properties: + compatible: + enum: + - nvidia,nvpmodel-emc-cap + +required: + - compatible + +examples: + - | + nvpmodel: { + compatible = "nvidia,nvpmodel-emc-cap"; + status = "okay"; + }; +...