The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/sound/fsl,rpmsg.yaml

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    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,rpmsg.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: NXP Audio RPMSG CPU DAI Controller
    8 
    9 maintainers:
   10   - Shengjiu Wang <shengjiu.wang@nxp.com>
   11 
   12 description: |
   13   fsl_rpmsg is a virtual audio device. Mapping to real hardware devices
   14   are SAI, DMA controlled by Cortex M core. What we see from Linux
   15   side is a device which provides audio service by rpmsg channel.
   16 
   17 properties:
   18   compatible:
   19     enum:
   20       - fsl,imx7ulp-rpmsg-audio
   21       - fsl,imx8mn-rpmsg-audio
   22       - fsl,imx8mm-rpmsg-audio
   23       - fsl,imx8mp-rpmsg-audio
   24       - fsl,imx8ulp-rpmsg-audio
   25 
   26   model:
   27     $ref: /schemas/types.yaml#/definitions/string
   28     description: User specified audio sound card name
   29 
   30   clocks:
   31     items:
   32       - description: Peripheral clock for register access
   33       - description: Master clock
   34       - description: DMA clock for DMA register access
   35       - description: Parent clock for multiple of 8kHz sample rates
   36       - description: Parent clock for multiple of 11kHz sample rates
   37 
   38   clock-names:
   39     items:
   40       - const: ipg
   41       - const: mclk
   42       - const: dma
   43       - const: pll8k
   44       - const: pll11k
   45 
   46   power-domains:
   47     description:
   48       List of phandle and PM domain specifier as documented in
   49       Documentation/devicetree/bindings/power/power_domain.txt
   50     maxItems: 1
   51 
   52   memory-region:
   53     maxItems: 1
   54     description:
   55       phandle to a node describing reserved memory (System RAM memory)
   56       The M core can't access all the DDR memory space on some platform,
   57       So reserved a specific memory for dma buffer which M core can
   58       access.
   59       (see bindings/reserved-memory/reserved-memory.txt)
   60 
   61   audio-codec:
   62     $ref: /schemas/types.yaml#/definitions/phandle
   63     description: The phandle to a node of audio codec
   64 
   65   audio-routing:
   66     $ref: /schemas/types.yaml#/definitions/non-unique-string-array
   67     description: |
   68       A list of the connections between audio components. Each entry is a
   69       pair of strings, the first being the connection's sink, the second
   70       being the connection's source.
   71 
   72   fsl,enable-lpa:
   73     $ref: /schemas/types.yaml#/definitions/flag
   74     description: enable low power audio path.
   75 
   76   fsl,rpmsg-out:
   77     $ref: /schemas/types.yaml#/definitions/flag
   78     description: |
   79       This is a boolean property. If present, the transmitting function
   80       will be enabled.
   81 
   82   fsl,rpmsg-in:
   83     $ref: /schemas/types.yaml#/definitions/flag
   84     description: |
   85       This is a boolean property. If present, the receiving function
   86       will be enabled.
   87 
   88 required:
   89   - compatible
   90   - model
   91 
   92 additionalProperties: false
   93 
   94 examples:
   95   - |
   96     #include <dt-bindings/clock/imx8mn-clock.h>
   97 
   98     rpmsg_audio: rpmsg_audio {
   99         compatible = "fsl,imx8mn-rpmsg-audio";
  100         model = "wm8524-audio";
  101         fsl,enable-lpa;
  102         fsl,rpmsg-out;
  103         clocks = <&clk IMX8MN_CLK_SAI3_IPG>,
  104                  <&clk IMX8MN_CLK_SAI3_ROOT>,
  105                  <&clk IMX8MN_CLK_SDMA3_ROOT>,
  106                  <&clk IMX8MN_AUDIO_PLL1_OUT>,
  107                  <&clk IMX8MN_AUDIO_PLL2_OUT>;
  108         clock-names = "ipg", "mclk", "dma", "pll8k", "pll11k";
  109     };

Cache object: 9e0feded9ba63e9c00bf1c0969942d2b


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.