# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/soc/qcom/qcom,cpufreq-stats-v2.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Qualcomm Technologies, Inc. (QTI) CPU Freq Stats V2 Driver

maintainers:
  - avajid@quicinc.com <quic_avajid@quicinc.com>
  - gurbaror@quicinc.com <quic_gurbaror@quicinc.com>

description: |
  The QTI CPU freq stats V2 Driver provides sysfs node for user space to
  communicate to CPUCP firmware about CPU freq stats algorithm based on
  SCMI consolidation protocol. This driver is refactor of
  cpufreq_stats_vendor.c and cpufreq_stats_scmi.c based on SCMI consolidation.

properties:
  compatible:
    const: qcom,cpufreq-stats-v2

required:
  - compatible

examples:
  - |
    qcom_cpufreq_stats: qcom,cpufreq_stats {
        compatible = "qcom,cpufreq-stats-v2";
    };
