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>
48 lines
1.1 KiB
YAML
48 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-mbdrc.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Tegra210 MBDRC
|
|
|
|
description:
|
|
The Multi Band Dynamic Range Compressor (MBDRC) is part of Output
|
|
Processing Engine (OPE) which interfaces with Audio Hub (AHUB) via
|
|
Audio Client Interface (ACIF). MBDRC can be used as a traditional
|
|
single full band or a dual band or a multi band dynamic processor.
|
|
|
|
maintainers:
|
|
- Jon Hunter <jonathanh@nvidia.com>
|
|
- Mohan Kumar <mkumard@nvidia.com>
|
|
- Sameer Pujar <spujar@nvidia.com>
|
|
|
|
properties:
|
|
compatible:
|
|
oneOf:
|
|
- const: nvidia,tegra210-mbdrc
|
|
- items:
|
|
- enum:
|
|
- nvidia,tegra234-mbdrc
|
|
- nvidia,tegra194-mbdrc
|
|
- nvidia,tegra186-mbdrc
|
|
- const: nvidia,tegra210-mbdrc
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
dynamic-range-compressor@702d8200 {
|
|
compatible = "nvidia,tegra210-mbdrc";
|
|
reg = <0x702d8200 0x200>;
|
|
};
|
|
|
|
...
|