Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Oleksij Rempel and committed by
Alexandre Torgue
e0f42743 44525a45

+51 -19
-19
Documentation/devicetree/bindings/sound/ics43432.txt
··· 1 - Invensense ICS-43432-compatible MEMS microphone with I2S output. 2 - 3 - There are no software configuration options for this device, indeed, the only 4 - host connection is the I2S interface. Apart from requirements on clock 5 - frequency (460 kHz to 3.379 MHz according to the data sheet) there must be 6 - 64 clock cycles in each stereo output frame; 24 of the 32 available bits 7 - contain audio data. A hardware pin determines if the device outputs data 8 - on the left or right channel of the I2S frame. 9 - 10 - Required properties: 11 - - compatible: should be one of the following. 12 - "invensense,ics43432": For the Invensense ICS43432 13 - "cui,cmm-4030d-261": For the CUI CMM-4030D-261-I2S-TR 14 - 15 - Example: 16 - 17 - ics43432: ics43432 { 18 - compatible = "invensense,ics43432"; 19 - };
+51
Documentation/devicetree/bindings/sound/invensense,ics43432.yaml
··· 1 + # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/sound/invensense,ics43432.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Invensense ICS-43432-compatible MEMS Microphone with I2S Output 8 + 9 + maintainers: 10 + - Oleksij Rempel <o.rempel@pengutronix.de> 11 + 12 + description: 13 + The ICS-43432 and compatible MEMS microphones output audio over an I2S 14 + interface and require no software configuration. The only host connection 15 + is the I2S bus. The microphone requires an I2S clock frequency between 16 + 460 kHz and 3.379 MHz and 64 clock cycles per stereo frame. Each frame 17 + contains 32-bit slots per channel, with 24 bits carrying audio data. 18 + A hardware pin determines whether the microphone outputs audio on the 19 + left or right channel of the I2S frame. 20 + 21 + allOf: 22 + - $ref: dai-common.yaml# 23 + 24 + properties: 25 + compatible: 26 + enum: 27 + - invensense,ics43432 28 + - cui,cmm-4030d-261 29 + 30 + port: 31 + $ref: audio-graph-port.yaml# 32 + unevaluatedProperties: false 33 + 34 + required: 35 + - compatible 36 + 37 + unevaluatedProperties: false 38 + 39 + examples: 40 + - | 41 + ics43432: ics43432 { 42 + compatible = "invensense,ics43432"; 43 + 44 + port { 45 + endpoint { 46 + remote-endpoint = <&i2s1_endpoint>; 47 + dai-format = "i2s"; 48 + }; 49 + }; 50 + 51 + };