-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dt-bindings: sound: add Microsemi ZL38060 binding
Add devicetree binding for the Microsemi ZL38060 Connected Home Audio Processor. Signed-off-by: Sven Van Asbroeck <TheSven73@gmail.com> Link: https://lore.kernel.org/r/20200417221341.31428-1-TheSven73@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
- Loading branch information
Sven Van Asbroeck
authored and
Mark Brown
committed
Apr 21, 2020
1 parent
e48e83d
commit 19f303c
Showing
1 changed file
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/sound/zl38060.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: ZL38060 Connected Home Audio Processor from Microsemi. | ||
|
||
description: | | ||
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: | ||
- Jaroslav Kysela <perex@perex.cz> | ||
- Takashi Iwai <tiwai@suse.com> | ||
|
||
properties: | ||
compatible: | ||
const: mscc,zl38060 | ||
|
||
reg: | ||
description: | ||
SPI device address. | ||
maxItems: 1 | ||
|
||
spi-max-frequency: | ||
maximum: 24000000 | ||
|
||
reset-gpios: | ||
description: | ||
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) | ||
maxItems: 1 | ||
|
||
'#gpio-cells': | ||
const: 2 | ||
|
||
gpio-controller: true | ||
|
||
'#sound-dai-cells': | ||
const: 0 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- '#gpio-cells' | ||
- gpio-controller | ||
- '#sound-dai-cells' | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/gpio/gpio.h> | ||
spi0 { | ||
#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>; | ||
}; | ||
}; |