Awinic Aw87390 Audio Amplifier

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

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

Maintainers (maintainers): "Weidong Wang <wangweidong.a@awinic.com>"

The awinic aw87390 is specifically designed to improve the musical output dynamic range, enhance the overall sound quallity, which is a new high efficiency, low noise, constant large volume, 6th Smart K audio amplifier.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "awinic,aw87390"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "anbernic,rgds-amp"

Item 2

Exact value (const): "awinic,aw87391"

reg — required here #

Maximum number of items (maxItems): 1

#sound-dai-cells — required here #

Exact value (const): 0

awinic,audio-channel — not listed as required here #

It is used to distinguish multiple PA devices, so that different configurations can be loaded to different PA devices

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Minimum value (minimum): 0

Maximum value (maximum): 7

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1 #

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

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "awinic,aw87390"

When the condition matches (then) #

Required in this object (required): "awinic,audio-channel"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "anbernic,rgds-amp"

When the condition matches (then) #

Properties and child nodes (properties)

vdd-supply — not listed as required here

true — No constraints added by this property rule.

Examples (examples) #

i2c {
    #address-cells = <1>;
    #size-cells = <0>;
    audio-codec@58 {
        compatible = "awinic,aw87390";
        reg = <0x58>;
        #sound-dai-cells = <0>;
        awinic,audio-channel = <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