-
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: convert ICS-43432 binding to YAML
Convert the ICS-43432 MEMS microphone device tree binding from text format to YAML. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Link: https://lore.kernel.org/r/20250305131425.1491769-2-o.rempel@pengutronix.de Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
- Loading branch information
Oleksij Rempel
authored and
Alexandre Torgue
committed
Mar 11, 2025
1 parent
44525a4
commit e0f4274
Showing
2 changed files
with
51 additions
and
19 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
51 changes: 51 additions & 0 deletions
51
Documentation/devicetree/bindings/sound/invensense,ics43432.yaml
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,51 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/sound/invensense,ics43432.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Invensense ICS-43432-compatible MEMS Microphone with I2S Output | ||
|
||
maintainers: | ||
- Oleksij Rempel <o.rempel@pengutronix.de> | ||
|
||
description: | ||
The ICS-43432 and compatible MEMS microphones output audio over an I2S | ||
interface and require no software configuration. The only host connection | ||
is the I2S bus. The microphone requires an I2S clock frequency between | ||
460 kHz and 3.379 MHz and 64 clock cycles per stereo frame. Each frame | ||
contains 32-bit slots per channel, with 24 bits carrying audio data. | ||
A hardware pin determines whether the microphone outputs audio on the | ||
left or right channel of the I2S frame. | ||
|
||
allOf: | ||
- $ref: dai-common.yaml# | ||
|
||
properties: | ||
compatible: | ||
enum: | ||
- invensense,ics43432 | ||
- cui,cmm-4030d-261 | ||
|
||
port: | ||
$ref: audio-graph-port.yaml# | ||
unevaluatedProperties: false | ||
|
||
required: | ||
- compatible | ||
|
||
unevaluatedProperties: false | ||
|
||
examples: | ||
- | | ||
ics43432: ics43432 { | ||
compatible = "invensense,ics43432"; | ||
port { | ||
endpoint { | ||
remote-endpoint = <&i2s1_endpoint>; | ||
dai-format = "i2s"; | ||
}; | ||
}; | ||
}; |