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,easrc.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,easrc.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: NXP Asynchronous Sample Rate Converter (ASRC) Controller
    8 
    9 maintainers:
   10   - Shengjiu Wang <shengjiu.wang@nxp.com>
   11 
   12 properties:
   13   $nodename:
   14     pattern: "^easrc@.*"
   15 
   16   compatible:
   17     const: fsl,imx8mn-easrc
   18 
   19   reg:
   20     maxItems: 1
   21 
   22   interrupts:
   23     maxItems: 1
   24 
   25   clocks:
   26     items:
   27       - description: Peripheral clock
   28 
   29   clock-names:
   30     items:
   31       - const: mem
   32 
   33   dmas:
   34     maxItems: 8
   35 
   36   dma-names:
   37     items:
   38       - const: ctx0_rx
   39       - const: ctx0_tx
   40       - const: ctx1_rx
   41       - const: ctx1_tx
   42       - const: ctx2_rx
   43       - const: ctx2_tx
   44       - const: ctx3_rx
   45       - const: ctx3_tx
   46 
   47   firmware-name:
   48     $ref: /schemas/types.yaml#/definitions/string
   49     const: imx/easrc/easrc-imx8mn.bin
   50     description: The coefficient table for the filters
   51 
   52   fsl,asrc-rate:
   53     $ref: /schemas/types.yaml#/definitions/uint32
   54     minimum: 8000
   55     maximum: 192000
   56     description: Defines a mutual sample rate used by DPCM Back Ends
   57 
   58   fsl,asrc-format:
   59     $ref: /schemas/types.yaml#/definitions/uint32
   60     enum: [2, 6, 10, 32, 36]
   61     default: 2
   62     description:
   63       Defines a mutual sample format used by DPCM Back Ends
   64 
   65 required:
   66   - compatible
   67   - reg
   68   - interrupts
   69   - clocks
   70   - clock-names
   71   - dmas
   72   - dma-names
   73   - firmware-name
   74   - fsl,asrc-rate
   75   - fsl,asrc-format
   76 
   77 additionalProperties: false
   78 
   79 examples:
   80   - |
   81     #include <dt-bindings/clock/imx8mn-clock.h>
   82 
   83     easrc: easrc@300c0000 {
   84            compatible = "fsl,imx8mn-easrc";
   85            reg = <0x300c0000 0x10000>;
   86            interrupts = <0x0 122 0x4>;
   87            clocks = <&clk IMX8MN_CLK_ASRC_ROOT>;
   88            clock-names = "mem";
   89            dmas = <&sdma2 16 23 0> , <&sdma2 17 23 0>,
   90                   <&sdma2 18 23 0> , <&sdma2 19 23 0>,
   91                   <&sdma2 20 23 0> , <&sdma2 21 23 0>,
   92                   <&sdma2 22 23 0> , <&sdma2 23 23 0>;
   93            dma-names = "ctx0_rx", "ctx0_tx",
   94                        "ctx1_rx", "ctx1_tx",
   95                        "ctx2_rx", "ctx2_tx",
   96                        "ctx3_rx", "ctx3_tx";
   97            firmware-name = "imx/easrc/easrc-imx8mn.bin";
   98            fsl,asrc-rate  = <8000>;
   99            fsl,asrc-format = <2>;
  100     };

Cache object: a31f6bf34cd2a1def1ec9e7c558757d0


[ 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.