Amlogic T9015 Internal Audio DAC

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

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

Maintainers (maintainers): "Jerome Brunet <jbrunet@baylibre.com>"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

$nodename — not listed as required here #

String pattern (pattern): "^audio-controller@.*"

#sound-dai-cells — required here #

Exact value (const): 0

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "amlogic,t9015"

clocks — required here #

Array item rules (items) #

Item 1

Peripheral clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "pclk"

reg — required here #

Maximum number of items (maxItems): 1

resets — required here #

Maximum number of items (maxItems): 1

AVDD-supply — required here #

Analogue power supply.

sound-name-prefix — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "#sound-dai-cells", "compatible", "reg", "clocks", "clock-names", "resets", "AVDD-supply"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/g12a-clkc.h>
#include <dt-bindings/reset/amlogic,meson-g12a-reset.h>

acodec: audio-controller@32000 {
    compatible = "amlogic,t9015";
    reg = <0x32000 0x14>;
    #sound-dai-cells = <0>;
    clocks = <&clkc CLKID_AUDIO_CODEC>;
    clock-names = "pclk";
    resets = <&reset RESET_AUDIO_CODEC>;
    AVDD-supply = <&vddao_1v8>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Edit this page