# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/sound/nvidia,tegra210-peq.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Tegra210 PEQ

description:
  The Parametric Equalizer (PEQ) is a cascade of biquad filters with
  each filter tuned based on certain parameters. It can be used to
  equalize the irregularities in the speaker frequency response.
  PEQ sits inside Output Processing Engine (OPE) which interfaces
  with Audio Hub (AHUB) via Audio Client Interface (ACIF).

maintainers:
  - Jon Hunter <jonathanh@nvidia.com>
  - Mohan Kumar <mkumard@nvidia.com>
  - Sameer Pujar <spujar@nvidia.com>

properties:
  compatible:
    oneOf:
      - const: nvidia,tegra210-peq
      - items:
          - enum:
              - nvidia,tegra234-peq
              - nvidia,tegra194-peq
              - nvidia,tegra186-peq
          - const: nvidia,tegra210-peq

  reg:
    maxItems: 1

required:
  - compatible
  - reg

additionalProperties: false

examples:
  - |
    equalizer@702d8100 {
        compatible = "nvidia,tegra210-peq";
        reg = <0x702d8100 0x100>;
    };

...