Commit cd8ee8ab authored by David Heidelberg's avatar David Heidelberg Committed by Mark Brown

dt-bindings: sound: gtm601: convert to YAML

Convert GTM601 binding to the YAML format.
Signed-off-by: default avatarDavid Heidelberg <david@ixit.cz>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230730191742.117013-1-david@ixit.czSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 2cddb06c
GTM601 UMTS modem audio interface CODEC
This device has no configuration interface. The sample rate and channels are
based on the compatible string
"option,gtm601" = 8kHz mono
"broadmobi,bm818" = 48KHz stereo
Required properties:
- compatible : one of
"option,gtm601"
"broadmobi,bm818"
Example:
codec: gtm601_codec {
compatible = "option,gtm601";
};
# 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:
- items: # 48 kHz stereo
- const: broadmobi,bm818
- const: option,gtm601
- const: option,gtm601 # 8 kHz mono
'#sound-dai-cells':
const: 0
required:
- compatible
allOf:
- $ref: dai-common.yaml#
additionalProperties: false
examples:
- |
codec {
compatible = "option,gtm601";
#sound-dai-cells = <0>;
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment