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

title: RT1015 Mono Class D Audio Amplifier

maintainers:
  - Jack Yu <jack.yu@realtek.com>

properties:
  compatible:
    enum:
      - realtek,rt1015

  reg:
    maxItems: 1

  realtek,power-up-delay-ms:
    description: Set a delay time for flush work to be completed,
      this vlaue is adjustable depending on platform.
    maxItems: 1

required:
  - compatible
  - reg

additionalProperties: false

examples:
  - |
    i2c {
        #address-cells = <1>;
        #size-cells = <0>;
        codec@28 {
            compatible = "realtek,rt1015";
            reg = <0x28>;
            realtek,power-up-delay-ms = <50>;
        };
    };
