Merge remote-tracking branch 'sound-asoc/for-next'
[deliverable/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 - assigned-clocks
20 Should be <&classd_gclk>.
21 - assigned-clock-parents
22 Should be <&audio_pll_pmc>.
23
24 Optional properties:
25 - pinctrl-names, pinctrl-0
26 Please refer to pinctrl-bindings.txt.
27 - atmel,model
28 The user-visible name of this sound complex.
29 The default value is "CLASSD".
30 - atmel,pwm-type
31 PWM modulation type, "single" or "diff".
32 The default value is "single".
33 - atmel,non-overlap-time
34 Set non-overlapping time, the unit is nanosecond(ns).
35 There are four values,
36 <5>, <10>, <15>, <20>, the default value is <10>.
37 Non-overlapping will be disabled if not specified.
38
39 Example:
40 classd: classd@fc048000 {
41 compatible = "atmel,sama5d2-classd";
42 reg = <0xfc048000 0x100>;
43 interrupts = <59 IRQ_TYPE_LEVEL_HIGH 7>;
44 dmas = <&dma0
45 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
46 | AT91_XDMAC_DT_PERID(47))>;
47 dma-names = "tx";
48 clocks = <&classd_clk>, <&classd_gclk>, <&audio_pll_pmc>;
49 clock-names = "pclk", "gclk", "aclk";
50 assigned-clocks = <&classd_gclk>;
51 assigned-clock-parents = <&audio_pll_pmc>;
52
53 pinctrl-names = "default";
54 pinctrl-0 = <&pinctrl_classd_default>;
55 atmel,model = "classd @ SAMA5D2-Xplained";
56 atmel,pwm-type = "diff";
57 atmel,non-overlap-time = <10>;
58 };
This page took 0.062072 seconds and 5 git commands to generate.