Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm...
[firefly-linux-kernel-4.4.55.git] / Documentation / devicetree / bindings / misc / atmel-ssc.txt
1 * Atmel SSC driver.
2
3 Required properties:
4 - compatible: "atmel,at91rm9200-ssc" or "atmel,at91sam9g45-ssc"
5         - atmel,at91rm9200-ssc: support pdc transfer
6         - atmel,at91sam9g45-ssc: support dma transfer
7 - reg: Should contain SSC registers location and length
8 - interrupts: Should contain SSC interrupt
9
10
11 Required properties for devices compatible with "atmel,at91sam9g45-ssc":
12 - dmas: DMA specifier, consisting of a phandle to DMA controller node,
13   the memory interface and SSC DMA channel ID (for tx and rx).
14   See Documentation/devicetree/bindings/dma/atmel-dma.txt for details.
15 - dma-names: Must be "tx", "rx".
16
17 Examples:
18 - PDC transfer:
19 ssc0: ssc@fffbc000 {
20         compatible = "atmel,at91rm9200-ssc";
21         reg = <0xfffbc000 0x4000>;
22         interrupts = <14 4 5>;
23 };
24
25 - DMA transfer:
26 ssc0: ssc@f0010000 {
27       compatible = "atmel,at91sam9g45-ssc";
28       reg = <0xf0010000 0x4000>;
29       interrupts = <28 4 5>;
30       dmas = <&dma0 1 13>,
31              <&dma0 1 14>;
32       dma-names = "tx", "rx";
33       pinctrl-names = "default";
34       pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
35       status = "disabled";
36 };