xref: /freebsd/sys/contrib/device-tree/Bindings/sound/adi,ssm3515.yaml (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/sound/adi,ssm3515.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Analog Devices SSM3515 Audio Amplifier
8
9maintainers:
10  - Martin Povišer <povik+lin@cutebit.org>
11
12description: |
13  SSM3515 is a mono Class-D audio amplifier with digital input.
14
15  https://www.analog.com/media/en/technical-documentation/data-sheets/SSM3515.pdf
16
17allOf:
18  - $ref: dai-common.yaml#
19
20properties:
21  compatible:
22    enum:
23      - adi,ssm3515
24
25  reg:
26    maxItems: 1
27
28  '#sound-dai-cells':
29    const: 0
30
31required:
32  - compatible
33  - reg
34
35unevaluatedProperties: false
36
37examples:
38  - |
39    i2c {
40      #address-cells = <1>;
41      #size-cells = <0>;
42
43      codec@14 {
44        compatible = "adi,ssm3515";
45        reg = <0x14>;
46        #sound-dai-cells = <0>;
47        sound-name-prefix = "Left Tweeter";
48      };
49    };
50