ZL38060 Connected Home Audio Processor from Microsemi.

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

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

The ZL38060 is a "Connected Home Audio Processor" from Microsemi, which consists of a Digital Signal Processor (DSP), several Digital Audio Interfaces (DAIs), analog outputs, and a block of 14 GPIOs.

Maintainers (maintainers): "Jaroslav Kysela <perex@perex.cz>", "Takashi Iwai <tiwai@suse.com>"

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): "mscc,zl38060"

reg — required here #

SPI device address.

Maximum number of items (maxItems): 1

spi-max-frequency — not listed as required here #

Maximum value (maximum): 24000000

reset-gpios — not listed as required here #

A GPIO line handling reset of the chip. As the line is active low, it should be marked GPIO_ACTIVE_LOW (see ../gpio/gpio.txt)

Maximum number of items (maxItems): 1

#gpio-cells — required here #

Exact value (const): 2

gpio-controller — required here #

true — No constraints added by this property rule.

#sound-dai-cells — required here #

Exact value (const): 0

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
spi {
    #address-cells = <1>;
    #size-cells = <0>;

    codec: zl38060@0 {
        gpio-controller;
        #gpio-cells = <2>;
        #sound-dai-cells = <0>;
        compatible = "mscc,zl38060";
        reg = <0>;
        spi-max-frequency = <12000000>;
        reset-gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page