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/adi,ssm3515.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Analog Devices SSM3515 Audio Amplifier |
| 8 | |
| 9 | maintainers: |
| 10 | - Martin PoviĊĦer <povik+lin@cutebit.org> |
| 11 | |
| 12 | description: | |
| 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 | |
| 17 | allOf: |
| 18 | - $ref: dai-common.yaml# |
| 19 | |
| 20 | properties: |
| 21 | compatible: |
| 22 | enum: |
| 23 | - adi,ssm3515 |
| 24 | |
| 25 | reg: |
| 26 | maxItems: 1 |
| 27 | |
| 28 | '#sound-dai-cells': |
| 29 | const: 0 |
| 30 | |
| 31 | required: |
| 32 | - compatible |
| 33 | - reg |
| 34 | |
| 35 | unevaluatedProperties: false |
| 36 | |
| 37 | examples: |
| 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 | }; |