1*ae8fc294SKuninori Morimoto# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2*ae8fc294SKuninori Morimoto%YAML 1.2 3*ae8fc294SKuninori Morimoto--- 4*ae8fc294SKuninori Morimoto$id: http://devicetree.org/schemas/sound/mscc,zl38060.yaml# 5*ae8fc294SKuninori Morimoto$schema: http://devicetree.org/meta-schemas/core.yaml# 6*ae8fc294SKuninori Morimoto 7*ae8fc294SKuninori Morimototitle: ZL38060 Connected Home Audio Processor from Microsemi. 8*ae8fc294SKuninori Morimoto 9*ae8fc294SKuninori Morimotodescription: | 10*ae8fc294SKuninori Morimoto The ZL38060 is a "Connected Home Audio Processor" from Microsemi, 11*ae8fc294SKuninori Morimoto which consists of a Digital Signal Processor (DSP), several Digital 12*ae8fc294SKuninori Morimoto Audio Interfaces (DAIs), analog outputs, and a block of 14 GPIOs. 13*ae8fc294SKuninori Morimoto 14*ae8fc294SKuninori Morimotomaintainers: 15*ae8fc294SKuninori Morimoto - Jaroslav Kysela <perex@perex.cz> 16*ae8fc294SKuninori Morimoto - Takashi Iwai <tiwai@suse.com> 17*ae8fc294SKuninori Morimoto 18*ae8fc294SKuninori MorimotoallOf: 19*ae8fc294SKuninori Morimoto - $ref: dai-common.yaml# 20*ae8fc294SKuninori Morimoto 21*ae8fc294SKuninori Morimotoproperties: 22*ae8fc294SKuninori Morimoto compatible: 23*ae8fc294SKuninori Morimoto const: mscc,zl38060 24*ae8fc294SKuninori Morimoto 25*ae8fc294SKuninori Morimoto reg: 26*ae8fc294SKuninori Morimoto description: 27*ae8fc294SKuninori Morimoto SPI device address. 28*ae8fc294SKuninori Morimoto maxItems: 1 29*ae8fc294SKuninori Morimoto 30*ae8fc294SKuninori Morimoto spi-max-frequency: 31*ae8fc294SKuninori Morimoto maximum: 24000000 32*ae8fc294SKuninori Morimoto 33*ae8fc294SKuninori Morimoto reset-gpios: 34*ae8fc294SKuninori Morimoto description: 35*ae8fc294SKuninori Morimoto A GPIO line handling reset of the chip. As the line is active low, 36*ae8fc294SKuninori Morimoto it should be marked GPIO_ACTIVE_LOW (see ../gpio/gpio.txt) 37*ae8fc294SKuninori Morimoto maxItems: 1 38*ae8fc294SKuninori Morimoto 39*ae8fc294SKuninori Morimoto '#gpio-cells': 40*ae8fc294SKuninori Morimoto const: 2 41*ae8fc294SKuninori Morimoto 42*ae8fc294SKuninori Morimoto gpio-controller: true 43*ae8fc294SKuninori Morimoto 44*ae8fc294SKuninori Morimoto '#sound-dai-cells': 45*ae8fc294SKuninori Morimoto const: 0 46*ae8fc294SKuninori Morimoto 47*ae8fc294SKuninori Morimotorequired: 48*ae8fc294SKuninori Morimoto - compatible 49*ae8fc294SKuninori Morimoto - reg 50*ae8fc294SKuninori Morimoto - '#gpio-cells' 51*ae8fc294SKuninori Morimoto - gpio-controller 52*ae8fc294SKuninori Morimoto - '#sound-dai-cells' 53*ae8fc294SKuninori Morimoto 54*ae8fc294SKuninori MorimotounevaluatedProperties: false 55*ae8fc294SKuninori Morimoto 56*ae8fc294SKuninori Morimotoexamples: 57*ae8fc294SKuninori Morimoto - | 58*ae8fc294SKuninori Morimoto #include <dt-bindings/gpio/gpio.h> 59*ae8fc294SKuninori Morimoto spi { 60*ae8fc294SKuninori Morimoto #address-cells = <1>; 61*ae8fc294SKuninori Morimoto #size-cells = <0>; 62*ae8fc294SKuninori Morimoto 63*ae8fc294SKuninori Morimoto codec: zl38060@0 { 64*ae8fc294SKuninori Morimoto gpio-controller; 65*ae8fc294SKuninori Morimoto #gpio-cells = <2>; 66*ae8fc294SKuninori Morimoto #sound-dai-cells = <0>; 67*ae8fc294SKuninori Morimoto compatible = "mscc,zl38060"; 68*ae8fc294SKuninori Morimoto reg = <0>; 69*ae8fc294SKuninori Morimoto spi-max-frequency = <12000000>; 70*ae8fc294SKuninori Morimoto reset-gpios = <&gpio1 0 GPIO_ACTIVE_LOW>; 71*ae8fc294SKuninori Morimoto }; 72*ae8fc294SKuninori Morimoto }; 73