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/atmel-i2s.txt

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 * Atmel I2S controller
    2 
    3 Required properties:
    4 - compatible:     Should be "atmel,sama5d2-i2s".
    5 - reg:            Should be the physical base address of the controller and the
    6                   length of memory mapped region.
    7 - interrupts:     Should contain the interrupt for the controller.
    8 - dmas:           Should be one per channel name listed in the dma-names property,
    9                   as described in atmel-dma.txt and dma.txt files.
   10 - dma-names:      Two dmas have to be defined, "tx" and "rx".
   11                   This IP also supports one shared channel for both rx and tx;
   12                   if this mode is used, one "rx-tx" name must be used.
   13 - clocks:         Must contain an entry for each entry in clock-names.
   14                   Please refer to clock-bindings.txt.
   15 - clock-names:    Should be one of each entry matching the clocks phandles list:
   16                   - "pclk" (peripheral clock) Required.
   17                   - "gclk" (generated clock) Optional (1).
   18                   - "muxclk" (I2S mux clock) Optional (1).
   19 
   20 Optional properties:
   21 - pinctrl-0:      Should specify pin control groups used for this controller.
   22 - princtrl-names: Should contain only one value - "default".
   23 
   24 
   25 (1) : Only the peripheral clock is required. The generated clock and the I2S
   26       mux clock are optional and should only be set together, when Master Mode
   27       is required.
   28 
   29 Example:
   30 
   31         i2s@f8050000 {
   32                 compatible = "atmel,sama5d2-i2s";
   33                 reg = <0xf8050000 0x300>;
   34                 interrupts = <54 IRQ_TYPE_LEVEL_HIGH 7>;
   35                 dmas = <&dma0
   36                         (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
   37                          AT91_XDMAC_DT_PERID(31))>,
   38                        <&dma0
   39                         (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
   40                          AT91_XDMAC_DT_PERID(32))>;
   41                 dma-names = "tx", "rx";
   42                 clocks = <&i2s0_clk>, <&i2s0_gclk>, <&i2s0muxck>;
   43                 clock-names = "pclk", "gclk", "muxclk";
   44                 pinctrl-names = "default";
   45                 pinctrl-0 = <&pinctrl_i2s0_default>;
   46         };

Cache object: 3446721da73241f191f1d24ff9e5fc26


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