xref: /linux/Documentation/devicetree/bindings/sound/option,gtm601.yaml (revision 223981db9bafb80f558162c148f261e2ff043dbe)
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/sound/option,gtm601.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: GTM601 UMTS modem audio interface CODEC
8
9maintainers:
10  - kernel@puri.sm
11
12description: >
13  This device has no configuration interface. The sample rate and channels are
14  based on the compatible string
15
16properties:
17  compatible:
18    oneOf:
19      - description: Broadmobi BM818 (48Khz stereo)
20        items:
21          - const: broadmobi,bm818
22          - const: option,gtm601
23      - description: GTM601 (8kHz mono)
24        const: option,gtm601
25
26  '#sound-dai-cells':
27    const: 0
28
29required:
30  - compatible
31
32allOf:
33  - $ref: dai-common.yaml#
34
35additionalProperties: false
36
37examples:
38  - |
39    codec {
40        compatible = "option,gtm601";
41        #sound-dai-cells = <0>;
42    };
43