# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/sound/irondevice,sma1303.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Iron Device SMA1303 Audio Amplifier

maintainers:
  - Kiseok Jo <kiseok.jo@irondevice.com>

description:
  SMA1303 digital class-D audio amplifier
  with an integrated boost converter.

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

properties:
  compatible:
    enum:
      - irondevice,sma1303

  reg:
    maxItems: 1

  '#sound-dai-cells':
    const: 1

required:
  - compatible
  - reg
  - '#sound-dai-cells'

additionalProperties: false

examples:
  - |
    i2c {
        #address-cells = <1>;
        #size-cells = <0>;

        amplifier@1e {
            compatible = "irondevice,sma1303";
            reg = <0x1e>;
            #sound-dai-cells = <1>;
        };
    };
