45c6c5e052
This patch adds YAML schema for DT bindings of Output Processing Engine (OPE) module. It consists of Parametric Equalizer (PEQ) and Multi Band Dynamic Range Compressor (MBDRC) sub blocks and binding doc for these blocks are added as well. The OPE will be registered as an ASoC component and can be plugged into an audio path as per need via ALSA mixer controls. The DT bindings are applicable on Tegra210 and later SoCs where OPE module is present. Signed-off-by: Sameer Pujar <spujar@nvidia.com> Link: https://lore.kernel.org/r/1654238172-16293-2-git-send-email-spujar@nvidia.com Signed-off-by: Mark Brown <broonie@kernel.org>
49 lines
1.1 KiB
YAML
49 lines
1.1 KiB
YAML
# 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>;
|
|
};
|
|
|
|
...
|