dt-bindings: nvpmodel: add nvpmodel yaml file

Add "nvidia,nvpmodel-emc-cap" dt-bindings.

Bug 3779573

Signed-off-by: Johnny Liu <johnliu@nvidia.com>
Change-Id: I1b1ddfb1a83c2e4d2d152b8772bddc8ff6cf97ad
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2785838
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Johnny Liu
2022-10-03 15:50:36 +08:00
committed by mobile promotions
parent 27f17e56d1
commit c33732f6ce

View File

@@ -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 <johnliu@nvidia.com>
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";
};
...