AK4375 DAC and headphones amplifier

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

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

Maintainers (maintainers): "Vincent Knecht <vincent.knecht@mailoo.org>"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

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

reg — required here #

Maximum number of items (maxItems): 1

#sound-dai-cells — required here #

Exact value (const): 0

avdd-supply — required here #

regulator phandle for the AVDD power supply.

tvdd-supply — required here #

regulator phandle for the TVDD power supply.

pdn-gpios — not listed as required here #

optional GPIO to set the PDN pin.

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

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>;

  headphones: audio-codec@10 {
    compatible = "asahi-kasei,ak4375";
    reg = <0x10>;
    avdd-supply = <&reg_headphones_avdd>;
    tvdd-supply = <&pm8916_l6>;
    pdn-gpios = <&msmgpio 114 GPIO_ACTIVE_HIGH>;
    pinctrl-names = "default";
    pinctrl-0 = <&headphones_pdn_default>;
    #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