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/irondevice,sma1303.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Iron Device SMA1303 Audio Amplifier |
| 8 | |
| 9 | maintainers: |
| 10 | - Kiseok Jo <kiseok.jo@irondevice.com> |
| 11 | |
| 12 | description: |
| 13 | SMA1303 digital class-D audio amplifier |
| 14 | with an integrated boost converter. |
| 15 | |
| 16 | allOf: |
| 17 | - $ref: dai-common.yaml# |
| 18 | |
| 19 | properties: |
| 20 | compatible: |
| 21 | enum: |
| 22 | - irondevice,sma1303 |
| 23 | |
| 24 | reg: |
| 25 | maxItems: 1 |
| 26 | |
| 27 | '#sound-dai-cells': |
| 28 | const: 1 |
| 29 | |
| 30 | required: |
| 31 | - compatible |
| 32 | - reg |
| 33 | - '#sound-dai-cells' |
| 34 | |
| 35 | additionalProperties: false |
| 36 | |
| 37 | examples: |
| 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 | }; |