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

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: dt-bindings: xlnx,audio-formatter: Convert to json-schema

Convert the Xilinx Audio Formatter 1.0 device tree binding documentation
to json-schema.

Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Link: https://patch.msgid.link/20250226122325.2014547-3-vincenzo.frascino@arm.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Vincenzo Frascino and committed by
Mark Brown
1b8b6dd0 a206376b

+72 -29
-29
Documentation/devicetree/bindings/sound/xlnx,audio-formatter.txt
··· 1 - Device-Tree bindings for Xilinx PL audio formatter 2 - 3 - The IP core supports DMA, data formatting(AES<->PCM conversion) 4 - of audio samples. 5 - 6 - Required properties: 7 - - compatible: "xlnx,audio-formatter-1.0" 8 - - interrupt-names: Names specified to list of interrupts in same 9 - order mentioned under "interrupts". 10 - List of supported interrupt names are: 11 - "irq_mm2s" : interrupt from MM2S block 12 - "irq_s2mm" : interrupt from S2MM block 13 - - interrupts-parent: Phandle for interrupt controller. 14 - - interrupts: List of Interrupt numbers. 15 - - reg: Base address and size of the IP core instance. 16 - - clock-names: List of input clocks. 17 - Required elements: "s_axi_lite_aclk", "aud_mclk" 18 - - clocks: Input clock specifier. Refer to common clock bindings. 19 - 20 - Example: 21 - audio_ss_0_audio_formatter_0: audio_formatter@80010000 { 22 - compatible = "xlnx,audio-formatter-1.0"; 23 - interrupt-names = "irq_mm2s", "irq_s2mm"; 24 - interrupt-parent = <&gic>; 25 - interrupts = <0 104 4>, <0 105 4>; 26 - reg = <0x0 0x80010000 0x0 0x1000>; 27 - clock-names = "s_axi_lite_aclk", "aud_mclk"; 28 - clocks = <&clk 71>, <&clk_wiz_1 0>; 29 - };
+72
Documentation/devicetree/bindings/sound/xlnx,audio-formatter.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/xlnx,audio-formatter.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Xilinx PL audio formatter 8 + 9 + description: 10 + The IP core supports DMA, data formatting(AES<->PCM conversion) 11 + of audio samples. 12 + 13 + maintainers: 14 + - Vincenzo Frascino <vincenzo.frascino@arm.com> 15 + 16 + allOf: 17 + - $ref: dai-common.yaml# 18 + 19 + properties: 20 + compatible: 21 + enum: 22 + - xlnx,audio-formatter-1.0 23 + 24 + reg: 25 + maxItems: 1 26 + 27 + interrupt-names: 28 + minItems: 1 29 + items: 30 + - const: irq_mm2s 31 + - const: irq_s2mm 32 + 33 + interrupts: 34 + minItems: 1 35 + items: 36 + - description: interrupt from MM2S block 37 + - description: interrupt from S2MM block 38 + 39 + clock-names: 40 + minItems: 1 41 + items: 42 + - const: s_axi_lite_aclk 43 + - const: aud_mclk 44 + 45 + clocks: 46 + minItems: 1 47 + items: 48 + - description: clock for the axi data stream 49 + - description: clock for the MEMS microphone data stream 50 + 51 + required: 52 + - compatible 53 + - reg 54 + - interrupt-names 55 + - interrupts 56 + - clock-names 57 + - clocks 58 + 59 + additionalProperties: false 60 + 61 + examples: 62 + - | 63 + audio_formatter@80010000 { 64 + compatible = "xlnx,audio-formatter-1.0"; 65 + reg = <0x80010000 0x1000>; 66 + interrupt-names = "irq_mm2s", "irq_s2mm"; 67 + interrupt-parent = <&gic>; 68 + interrupts = <0 104 4>, <0 105 4>; 69 + clock-names = "s_axi_lite_aclk", "aud_mclk"; 70 + clocks = <&clk 71>, <&clk_wiz_1 0>; 71 + }; 72 + ...