Merge branch 'parisc-4.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / sound / omap-mcpdm.txt
1 * Texas Instruments OMAP4+ McPDM
2
3 Required properties:
4 - compatible: "ti,omap4-mcpdm"
5 - reg: Register location and size as an array:
6        <MPU access base address, size>,
7        <L3 interconnect address, size>;
8 - interrupts: Interrupt number for McPDM
9 - interrupt-parent: The parent interrupt controller
10 - ti,hwmods: Name of the hwmod associated to the McPDM
11 - clocks:  phandle for the pdmclk provider, likely <&twl6040>
12 - clock-names: Must be "pdmclk"
13
14 Example:
15
16 mcpdm: mcpdm@40132000 {
17         compatible = "ti,omap4-mcpdm";
18         reg = <0x40132000 0x7f>, /* MPU private access */
19               <0x49032000 0x7f>; /* L3 Interconnect */
20         interrupts = <0 112 0x4>;
21         interrupt-parent = <&gic>;
22         ti,hwmods = "mcpdm";
23 };
24
25 In board DTS file the pdmclk needs to be added:
26
27 &mcpdm {
28         clocks = <&twl6040>;
29         clock-names = "pdmclk";
30         status = "okay";
31 };