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: support imx95's CM7 core

Add binding for imx95's CM7 core, used for audio processing.
Additionally, introduce a common binding for NXP audio processors with
Sound Open Firmware (SOF) support.

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Link: https://patch.msgid.link/20250311163255.2664-2-laurentiumihalcea111@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Laurentiu Mihalcea and committed by
Mark Brown
811944a7 3cab1fc8

+91
+64
Documentation/devicetree/bindings/sound/fsl,imx95-cm7-sof.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/sound/fsl,imx95-cm7-sof.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: NXP imx95 CM7 core 8 + 9 + maintainers: 10 + - Daniel Baluta <daniel.baluta@nxp.com> 11 + 12 + description: NXP imx95 CM7 core used for audio processing 13 + 14 + properties: 15 + compatible: 16 + const: fsl,imx95-cm7-sof 17 + 18 + reg: 19 + maxItems: 1 20 + 21 + reg-names: 22 + const: sram 23 + 24 + memory-region: 25 + maxItems: 1 26 + 27 + memory-region-names: 28 + const: dma 29 + 30 + port: 31 + description: SAI3 port 32 + $ref: audio-graph-port.yaml# 33 + unevaluatedProperties: false 34 + 35 + required: 36 + - compatible 37 + - reg 38 + - reg-names 39 + - memory-region 40 + - memory-region-names 41 + - port 42 + 43 + allOf: 44 + - $ref: fsl,sof-cpu.yaml# 45 + 46 + unevaluatedProperties: false 47 + 48 + examples: 49 + - | 50 + cm7-cpu@80000000 { 51 + compatible = "fsl,imx95-cm7-sof"; 52 + reg = <0x80000000 0x6100000>; 53 + reg-names = "sram"; 54 + mboxes = <&mu7 2 0>, <&mu7 2 1>, <&mu7 3 0>, <&mu7 3 1>; 55 + mbox-names = "txdb0", "txdb1", "rxdb0", "rxdb1"; 56 + memory-region = <&adma_res>; 57 + memory-region-names = "dma"; 58 + port { 59 + /* SAI3-WM8962 link */ 60 + endpoint { 61 + remote-endpoint = <&wm8962_ep>; 62 + }; 63 + }; 64 + };
+27
Documentation/devicetree/bindings/sound/fsl,sof-cpu.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/fsl,sof-cpu.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: NXP audio processor common properties 8 + 9 + maintainers: 10 + - Daniel Baluta <daniel.baluta@nxp.com> 11 + 12 + properties: 13 + mboxes: 14 + maxItems: 4 15 + 16 + mbox-names: 17 + items: 18 + - const: txdb0 19 + - const: txdb1 20 + - const: rxdb0 21 + - const: rxdb1 22 + 23 + required: 24 + - mboxes 25 + - mbox-names 26 + 27 + additionalProperties: true