]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/sound/atmel-classd.txt
Merge remote-tracking branch 'mips/mips-for-linux-next'
[karo-tx-linux.git] / Documentation / devicetree / bindings / sound / atmel-classd.txt
1 * Atmel ClassD driver under ALSA SoC architecture
2
3 Required properties:
4 - compatible
5         Should be "atmel,sama5d2-classd".
6 - reg
7         Should contain ClassD registers location and length.
8 - interrupts
9         Should contain the IRQ line for the ClassD.
10 - dmas
11         One DMA specifiers as described in atmel-dma.txt and dma.txt files.
12 - dma-names
13         Must be "tx".
14 - clock-names
15         Tuple listing input clock names.
16         Required elements: "pclk", "gclk" and "aclk".
17 - clocks
18         Please refer to clock-bindings.txt.
19
20 Optional properties:
21 - pinctrl-names, pinctrl-0
22         Please refer to pinctrl-bindings.txt.
23 - atmel,model
24         The user-visible name of this sound complex.
25         The default value is "CLASSD".
26 - atmel,pwm-type
27         PWM modulation type, "single" or "diff".
28         The default value is "single".
29 - atmel,non-overlap-time
30         Set non-overlapping time, the unit is nanosecond(ns).
31         There are four values,
32         <5>, <10>, <15>, <20>, the default value is <10>.
33         Non-overlapping will be disabled if not specified.
34
35 Example:
36 classd: classd@fc048000 {
37                 compatible = "atmel,sama5d2-classd";
38                 reg = <0xfc048000 0x100>;
39                 interrupts = <59 IRQ_TYPE_LEVEL_HIGH 7>;
40                 dmas = <&dma0
41                         (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
42                         | AT91_XDMAC_DT_PERID(47))>;
43                 dma-names = "tx";
44                 clocks = <&classd_clk>, <&classd_gclk>, <&audio_pll_pmc>;
45                 clock-names = "pclk", "gclk", "aclk";
46
47                 pinctrl-names = "default";
48                 pinctrl-0 = <&pinctrl_classd_default>;
49                 atmel,model = "classd @ SAMA5D2-Xplained";
50                 atmel,pwm-type = "diff";
51                 atmel,non-overlap-time = <10>;
52 };