1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/sound/sprd,pcm-platform.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Spreadtrum DMA platform 8 9maintainers: 10 - Orson Zhai <orsonzhai@gmail.com> 11 - Baolin Wang <baolin.wang7@gmail.com> 12 - Chunyan Zhang <zhang.lyra@gmail.com> 13 14properties: 15 compatible: 16 const: sprd,pcm-platform 17 18 dmas: 19 maxItems: 10 20 21 dma-names: 22 items: 23 - const: normal_p_l 24 - const: normal_p_r 25 - const: normal_c_l 26 - const: normal_c_r 27 - const: voice_c 28 - const: fast_p 29 - const: loop_c 30 - const: loop_p 31 - const: voip_c 32 - const: voip_p 33 34required: 35 - compatible 36 - dmas 37 - dma-names 38 39additionalProperties: false 40 41examples: 42 - | 43 platform { 44 compatible = "sprd,pcm-platform"; 45 dmas = <&agcp_dma 1 1>, <&agcp_dma 2 2>, 46 <&agcp_dma 3 3>, <&agcp_dma 4 4>, 47 <&agcp_dma 5 5>, <&agcp_dma 6 6>, 48 <&agcp_dma 7 7>, <&agcp_dma 8 8>, 49 <&agcp_dma 9 9>, <&agcp_dma 10 10>; 50 dma-names = "normal_p_l", "normal_p_r", 51 "normal_c_l", "normal_c_r", 52 "voice_c", "fast_p", 53 "loop_c", "loop_p", 54 "voip_c", "voip_p"; 55 }; 56... 57