xref: /freebsd/sys/contrib/device-tree/Bindings/sound/irondevice,sma1303.yaml (revision a03411e84728e9b267056fd31c7d1d9d1dc1b01e)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/sound/irondevice,sma1303.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Iron Device SMA1303 Audio Amplifier
8
9maintainers:
10  - Kiseok Jo <kiseok.jo@irondevice.com>
11
12description:
13  SMA1303 digital class-D audio amplifier
14  with an integrated boost converter.
15
16allOf:
17  - $ref: dai-common.yaml#
18
19properties:
20  compatible:
21    enum:
22      - irondevice,sma1303
23
24  reg:
25    maxItems: 1
26
27  '#sound-dai-cells':
28    const: 1
29
30required:
31  - compatible
32  - reg
33  - '#sound-dai-cells'
34
35additionalProperties: false
36
37examples:
38  - |
39    i2c {
40        #address-cells = <1>;
41        #size-cells = <0>;
42
43        amplifier@1e {
44            compatible = "irondevice,sma1303";
45            reg = <0x1e>;
46            #sound-dai-cells = <1>;
47        };
48    };
49