Documentation/devicetree/bindings/sound/adi,ssm2305.yaml

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

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/sound/adi,ssm2305.yaml
Extension
.yaml
Size
1030 bytes
Lines
47
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/adi,ssm2305.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Analog Devices SSM2305 Class-D Speaker Amplifier

maintainers:
  - Lars-Peter Clausen <lars@metafoo.de>

description:
  The SSM2305 is a filterless, high efficiency, mono 2.8 W Class-D
  audio amplifier with a micropower shutdown mode controlled via a
  dedicated active-low GPIO pin.

allOf:
  - $ref: dai-common.yaml#

properties:
  compatible:
    const: adi,ssm2305

  shutdown-gpios:
    maxItems: 1
    description:
      GPIO connected to the shutdown pin (SD) of the SSM2305.
      The pin is active-low; asserting it puts the device into
      micropower shutdown mode.

required:
  - compatible
  - shutdown-gpios

unevaluatedProperties: false

examples:
  - |
    #include <dt-bindings/gpio/gpio.h>

    analog-amplifier {
        compatible = "adi,ssm2305";
        shutdown-gpios = <&gpio3 20 GPIO_ACTIVE_LOW>;
    };

...

Annotation

Implementation Notes