Richtek RT9123P Audio Amplifier

Schema identifier ($id): "http://devicetree.org/schemas/sound/richtek,rt9123p.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "ChiYuan Huang <cy_huang@richtek.com>"

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

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): dai-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "richtek,rt9123p"

#sound-dai-cells — required here #

Exact value (const): 0

enable-gpios — not listed as required here #

Maximum number of items (maxItems): 1

enable-delay-ms — not listed as required here #

Delay time for 'ENABLE' pin changes intended to make I2S clocks ready to prevent speaker pop noise. The unit is in millisecond.

Required in this object (required): "compatible", "#sound-dai-cells"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

amplifier {
    compatible = "richtek,rt9123p";
    enable-gpios = <&gpio 26 GPIO_ACTIVE_HIGH>;
    #sound-dai-cells = <0>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Edit this page