linux/Documentation/devicetree/bindings/sound/samsung-i2s.txt
<<
>>
Prefs
   1* Samsung I2S controller
   2
   3Required SoC Specific Properties:
   4
   5- compatible : "samsung,i2s-v5"
   6- reg: physical base address of the controller and length of memory mapped
   7  region.
   8- dmas: list of DMA controller phandle and DMA request line ordered pairs.
   9- dma-names: identifier string for each DMA request line in the dmas property.
  10  These strings correspond 1:1 with the ordered pairs in dmas.
  11
  12Optional SoC Specific Properties:
  13
  14- samsung,supports-6ch: If the I2S Primary sound source has 5.1 Channel
  15  support, this flag is enabled.
  16- samsung,supports-rstclr: This flag should be set if I2S software reset bit
  17  control is required. When this flag is set I2S software reset bit will be
  18  enabled or disabled based on need.
  19- samsung,supports-secdai:If I2S block has a secondary FIFO and internal DMA,
  20  then this flag is enabled.
  21- samsung,idma-addr: Internal DMA register base address of the audio
  22  sub system(used in secondary sound source).
  23
  24Required Board Specific Properties:
  25
  26- gpios: The gpio specifier for data out,data in, LRCLK, CDCLK and SCLK
  27  interface lines. The format of the gpio specifier depends on the gpio
  28  controller.
  29  The syntax of samsung gpio specifier is
  30        <[phandle of the gpio controller node]
  31         [pin number within the gpio controller]
  32         [mux function]
  33         [flags and pull up/down]
  34         [drive strength]>
  35
  36Example:
  37
  38- SoC Specific Portion:
  39
  40i2s@03830000 {
  41        compatible = "samsung,i2s-v5";
  42        reg = <0x03830000 0x100>;
  43        dmas = <&pdma0 10
  44                &pdma0 9
  45                &pdma0 8>;
  46        dma-names = "tx", "rx", "tx-sec";
  47        samsung,supports-6ch;
  48        samsung,supports-rstclr;
  49        samsung,supports-secdai;
  50        samsung,idma-addr = <0x03000000>;
  51};
  52
  53- Board Specific Portion:
  54
  55i2s@03830000 {
  56        gpios = <&gpz 0 2 0 0>, /* I2S_0_SCLK */
  57                <&gpz 1 2 0 0>, /* I2S_0_CDCLK */
  58                <&gpz 2 2 0 0>, /* I2S_0_LRCK */
  59                <&gpz 3 2 0 0>, /* I2S_0_SDI */
  60                <&gpz 4 2 0 0>, /* I2S_0_SDO[1] */
  61                <&gpz 5 2 0 0>, /* I2S_0_SDO[2] */
  62                <&gpz 6 2 0 0>; /* I2S_0_SDO[3] */
  63};
  64