Documentation/devicetree/bindings/sound/option,gtm601.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/sound/option,gtm601.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/sound/option,gtm601.yaml
Extension
.yaml
Size
869 bytes
Lines
43
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

# 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>;
    };

Annotation

Implementation Notes