~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/misc/atmel-ssc.txt

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/misc/atmel-ssc.txt (Architecture sparc) and /Documentation/devicetree/bindings/misc/atmel-ssc.txt (Architecture ppc)


  1 * Atmel SSC driver.                                 1 * Atmel SSC driver.
  2                                                     2 
  3 Required properties:                                3 Required properties:
  4 - compatible: "atmel,at91rm9200-ssc" or "atmel      4 - compatible: "atmel,at91rm9200-ssc" or "atmel,at91sam9g45-ssc"
  5         - atmel,at91rm9200-ssc: support pdc tr      5         - atmel,at91rm9200-ssc: support pdc transfer
  6         - atmel,at91sam9g45-ssc: support dma t      6         - atmel,at91sam9g45-ssc: support dma transfer
  7 - reg: Should contain SSC registers location a      7 - reg: Should contain SSC registers location and length
  8 - interrupts: Should contain SSC interrupt          8 - interrupts: Should contain SSC interrupt
  9 - clock-names: tuple listing input clock names      9 - clock-names: tuple listing input clock names.
 10         Required elements: "pclk"                  10         Required elements: "pclk"
 11 - clocks: phandles to input clocks.                11 - clocks: phandles to input clocks.
 12                                                    12 
 13                                                    13 
 14 Required properties for devices compatible wit     14 Required properties for devices compatible with "atmel,at91sam9g45-ssc":
 15 - dmas: DMA specifier, consisting of a phandle     15 - dmas: DMA specifier, consisting of a phandle to DMA controller node,
 16   the memory interface and SSC DMA channel ID      16   the memory interface and SSC DMA channel ID (for tx and rx).
 17   See Documentation/devicetree/bindings/dma/at     17   See Documentation/devicetree/bindings/dma/atmel-dma.txt for details.
 18 - dma-names: Must be "tx", "rx".                   18 - dma-names: Must be "tx", "rx".
 19                                                    19 
 20 Optional properties:                               20 Optional properties:
 21   - atmel,clk-from-rk-pin: bool property.          21   - atmel,clk-from-rk-pin: bool property.
 22      - When SSC works in slave mode, according     22      - When SSC works in slave mode, according to the hardware design, the
 23        clock can get from TK pin, and also can     23        clock can get from TK pin, and also can get from RK pin. So, add
 24        this parameter to choose where the cloc     24        this parameter to choose where the clock from.
 25      - By default the clock is from TK pin, if     25      - By default the clock is from TK pin, if the clock from RK pin, this
 26        property is needed.                         26        property is needed.
 27   - #sound-dai-cells: Should contain <0>.          27   - #sound-dai-cells: Should contain <0>.
 28      - This property makes the SSC into an aut     28      - This property makes the SSC into an automatically registered DAI.
 29                                                    29 
 30 Examples:                                          30 Examples:
 31 - PDC transfer:                                    31 - PDC transfer:
 32 ssc0: ssc@fffbc000 {                               32 ssc0: ssc@fffbc000 {
 33         compatible = "atmel,at91rm9200-ssc";       33         compatible = "atmel,at91rm9200-ssc";
 34         reg = <0xfffbc000 0x4000>;                 34         reg = <0xfffbc000 0x4000>;
 35         interrupts = <14 4 5>;                     35         interrupts = <14 4 5>;
 36         clocks = <&ssc0_clk>;                      36         clocks = <&ssc0_clk>;
 37         clock-names = "pclk";                      37         clock-names = "pclk";
 38 };                                                 38 };
 39                                                    39 
 40 - DMA transfer:                                    40 - DMA transfer:
 41 ssc0: ssc@f0010000 {                               41 ssc0: ssc@f0010000 {
 42       compatible = "atmel,at91sam9g45-ssc";        42       compatible = "atmel,at91sam9g45-ssc";
 43       reg = <0xf0010000 0x4000>;                   43       reg = <0xf0010000 0x4000>;
 44       interrupts = <28 4 5>;                       44       interrupts = <28 4 5>;
 45       dmas = <&dma0 1 13>,                         45       dmas = <&dma0 1 13>,
 46              <&dma0 1 14>;                         46              <&dma0 1 14>;
 47       dma-names = "tx", "rx";                      47       dma-names = "tx", "rx";
 48       pinctrl-names = "default";                   48       pinctrl-names = "default";
 49       pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_s     49       pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
 50 };                                                 50 };
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php