AK4458 audio DAC

Schema identifier ($id): "http://devicetree.org/schemas/sound/asahi-kasei,ak4458.yaml#"

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

Maintainers (maintainers): "Shengjiu Wang <shengjiu.wang@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "asahi-kasei,ak4458", "asahi-kasei,ak4497"

#sound-dai-cells — not listed as required here #

Exact value (const): 0

reg — required here #

Maximum number of items (maxItems): 1

AVDD-supply — not listed as required here #

Analog power supply

DVDD-supply — not listed as required here #

Digital power supply

reset-gpios — not listed as required here #

Maximum number of items (maxItems): 1

mute-gpios — not listed as required here #

Maximum number of items (maxItems): 1

GPIO used to mute all the outputs

dsd-path — not listed as required here #

Select DSD input pins for ak4497

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

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): 0

select #16, #17, #19 pins

Rule 2

Exact value (const): 1

select #3, #4, #5 pins

Required in this object (required): "compatible", "reg"

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)

Exact value (const): "asahi-kasei,ak4458"

When the condition matches (then) #

Properties and child nodes (properties)

dsd-path — not listed as required here

false — Not permitted by this property rule.

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
i2c {
    #address-cells = <1>;
    #size-cells = <0>;
    codec@10 {
        compatible = "asahi-kasei,ak4458";
        reg = <0x10>;
        reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
        mute-gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>;
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page