Documentation / devicetree / bindings / sound / richtek,rt9123p.yaml


Based on kernel version 6.16. Page generated on 2025-08-06 08:57 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/sound/richtek,rt9123p.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Richtek RT9123P Audio Amplifier

maintainers:
  - ChiYuan Huang <cy_huang@richtek.com>

description:
  RT9123P is a RT9123 variant which does not support I2C control.

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

properties:
  compatible:
    enum:
      - richtek,rt9123p
 
  '#sound-dai-cells':
    const: 0

  enable-gpios:
    maxItems: 1

  enable-delay-ms:
    description:
      Delay time for 'ENABLE' pin changes intended to make I2S clocks ready to
      prevent speaker pop noise. The unit is in millisecond.

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

unevaluatedProperties: false

examples:
  - |
    #include <dt-bindings/gpio/gpio.h>
 
    amplifier {
        compatible = "richtek,rt9123p";
        enable-gpios = <&gpio 26 GPIO_ACTIVE_HIGH>;
        #sound-dai-cells = <0>;
    };