summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/sound/option,gtm601.yaml
blob: ff813d97fc5950d3021600f9dfd48264198af88d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# 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>;
    };