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/dma/apple,admac.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/dma/apple,admac.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Apple Audio DMA Controller (ADMAC)
    8 
    9 description: |
   10   Apple's Audio DMA Controller (ADMAC) is used to fetch and store audio samples
   11   on SoCs from the "Apple Silicon" family.
   12 
   13   The controller has been seen with up to 24 channels. Even-numbered channels
   14   are TX-only, odd-numbered are RX-only. Individual channels are coupled to
   15   fixed device endpoints.
   16 
   17 maintainers:
   18   - Martin PoviĊĦer <povik+lin@cutebit.org>
   19 
   20 allOf:
   21   - $ref: "dma-controller.yaml#"
   22 
   23 properties:
   24   compatible:
   25     items:
   26       - enum:
   27           - apple,t6000-admac
   28           - apple,t8103-admac
   29       - const: apple,admac
   30 
   31   reg:
   32     maxItems: 1
   33 
   34   '#dma-cells':
   35     const: 1
   36     description:
   37       Clients specify a single cell with channel number.
   38 
   39   dma-channels:
   40     maximum: 24
   41 
   42   interrupts:
   43     minItems: 4
   44     maxItems: 4
   45     description:
   46       Interrupts that correspond to the 4 IRQ outputs of the controller. Usually
   47       only one of the controller outputs will be connected as an usable interrupt
   48       source. The remaining interrupts will be left without a valid value, e.g.
   49       in an interrupts-extended list the disconnected positions will contain
   50       an empty phandle reference <0>.
   51 
   52 required:
   53   - compatible
   54   - reg
   55   - '#dma-cells'
   56   - dma-channels
   57   - interrupts
   58 
   59 additionalProperties: false
   60 
   61 examples:
   62   - |
   63     #include <dt-bindings/interrupt-controller/apple-aic.h>
   64     #include <dt-bindings/interrupt-controller/irq.h>
   65 
   66     aic: interrupt-controller {
   67       interrupt-controller;
   68       #interrupt-cells = <3>;
   69     };
   70 
   71     admac: dma-controller@238200000 {
   72       compatible = "apple,t8103-admac", "apple,admac";
   73       reg = <0x38200000 0x34000>;
   74       dma-channels = <24>;
   75       interrupts-extended = <0>,
   76                             <&aic AIC_IRQ 626 IRQ_TYPE_LEVEL_HIGH>,
   77                             <0>,
   78                             <0>;
   79       #dma-cells = <1>;
   80     };

Cache object: bd1d19e52acb11ea1d042984c9e70282


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