Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | |
| 7 | title: GTM601 UMTS modem audio interface CODEC |
| 8 | |
| 9 | maintainers: |
| 10 | - kernel@puri.sm |
| 11 | |
| 12 | description: > |
| 13 | This device has no configuration interface. The sample rate and channels are |
| 14 | based on the compatible string |
| 15 | |
| 16 | properties: |
| 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 | |
| 29 | required: |
| 30 | - compatible |
| 31 | |
| 32 | allOf: |
| 33 | - $ref: dai-common.yaml# |
| 34 | |
| 35 | additionalProperties: false |
| 36 | |
| 37 | examples: |
| 38 | - | |
| 39 | codec { |
| 40 | compatible = "option,gtm601"; |
| 41 | #sound-dai-cells = <0>; |
| 42 | }; |