linux/Documentation/devicetree/bindings/sound/option,gtm601.yaml
Guido Günther 6870f41033
dt-bindings: sound: gtm601: Add description
This allows to us to document the channel and sampling
rate requirements.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
Reviewed-by: David Heidelberg <david@ixit.cz>
Link: https://lore.kernel.org/r/b6e85fdfaa87d7684a120ccedc1e07d8fe87957f.1691606520.git.agx@sigxcpu.org
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-08-10 15:44:39 +01:00

43 lines
869 B
YAML

# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/sound/option,gtm601.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: GTM601 UMTS modem audio interface CODEC
maintainers:
- kernel@puri.sm
description: >
This device has no configuration interface. The sample rate and channels are
based on the compatible string
properties:
compatible:
oneOf:
- description: Broadmobi BM818 (48Khz stereo)
items:
- const: broadmobi,bm818
- const: option,gtm601
- description: GTM601 (8kHz mono)
const: option,gtm601
'#sound-dai-cells':
const: 0
required:
- compatible
allOf:
- $ref: dai-common.yaml#
additionalProperties: false
examples:
- |
codec {
compatible = "option,gtm601";
#sound-dai-cells = <0>;
};