73 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/sound/mscc,zl38060.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: ZL38060 Connected Home Audio Processor from Microsemi.8 9description: |10 The ZL38060 is a "Connected Home Audio Processor" from Microsemi,11 which consists of a Digital Signal Processor (DSP), several Digital12 Audio Interfaces (DAIs), analog outputs, and a block of 14 GPIOs.13 14maintainers:15 - Jaroslav Kysela <perex@perex.cz>16 - Takashi Iwai <tiwai@suse.com>17 18allOf:19 - $ref: dai-common.yaml#20 21properties:22 compatible:23 const: mscc,zl3806024 25 reg:26 description:27 SPI device address.28 maxItems: 129 30 spi-max-frequency:31 maximum: 2400000032 33 reset-gpios:34 description:35 A GPIO line handling reset of the chip. As the line is active low,36 it should be marked GPIO_ACTIVE_LOW (see ../gpio/gpio.txt)37 maxItems: 138 39 '#gpio-cells':40 const: 241 42 gpio-controller: true43 44 '#sound-dai-cells':45 const: 046 47required:48 - compatible49 - reg50 - '#gpio-cells'51 - gpio-controller52 - '#sound-dai-cells'53 54unevaluatedProperties: false55 56examples:57 - |58 #include <dt-bindings/gpio/gpio.h>59 spi {60 #address-cells = <1>;61 #size-cells = <0>;62 63 codec: zl38060@0 {64 gpio-controller;65 #gpio-cells = <2>;66 #sound-dai-cells = <0>;67 compatible = "mscc,zl38060";68 reg = <0>;69 spi-max-frequency = <12000000>;70 reset-gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;71 };72 };73