Documentation / devicetree / bindings / sound / sprd,pcm-platform.yaml


Based on kernel version 6.13. Page generated on 2025-01-21 08:21 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/sound/sprd,pcm-platform.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Spreadtrum DMA platform

maintainers:
  - Orson Zhai <orsonzhai@gmail.com>
  - Baolin Wang <baolin.wang7@gmail.com>
  - Chunyan Zhang <zhang.lyra@gmail.com>

properties:
  compatible:
    const: sprd,pcm-platform

  dmas:
    maxItems: 10

  dma-names:
    items:
      - const: normal_p_l
      - const: normal_p_r
      - const: normal_c_l
      - const: normal_c_r
      - const: voice_c
      - const: fast_p
      - const: loop_c
      - const: loop_p
      - const: voip_c
      - const: voip_p

required:
  - compatible
  - dmas
  - dma-names

additionalProperties: false

examples:
  - |
    platform {
      compatible = "sprd,pcm-platform";
      dmas = <&agcp_dma 1 1>, <&agcp_dma 2 2>,
             <&agcp_dma 3 3>, <&agcp_dma 4 4>,
             <&agcp_dma 5 5>, <&agcp_dma 6 6>,
             <&agcp_dma 7 7>, <&agcp_dma 8 8>,
             <&agcp_dma 9 9>, <&agcp_dma 10 10>;
      dma-names = "normal_p_l", "normal_p_r",
                  "normal_c_l", "normal_c_r",
                  "voice_c", "fast_p",
                  "loop_c", "loop_p",
                  "voip_c", "voip_p";
    };
...