diff options
| author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-08-22 15:19:01 -0400 |
|---|---|---|
| committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-08-22 15:19:01 -0400 |
| commit | 2bbf6078dc948e87564c1a947f23ea4cf2349a13 (patch) | |
| tree | 2fc93ee7a26febb4ff9554e40043f8e097726c6d /Documentation | |
| parent | 02e79476998ba7e62842d20dca898c403ad55c7e (diff) | |
| parent | b8101048f0f3cd281ed4c4901e38ae2bcfb32030 (diff) | |
Merge branch 'asoc-omap' into for-3.7
Diffstat (limited to 'Documentation')
| -rw-r--r-- | Documentation/devicetree/bindings/sound/omap-mcbsp.txt | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/omap-mcbsp.txt b/Documentation/devicetree/bindings/sound/omap-mcbsp.txt new file mode 100644 index 000000000000..17cce4490456 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/omap-mcbsp.txt | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | * Texas Instruments OMAP2+ McBSP module | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | - compatible: "ti,omap2420-mcbsp" for McBSP on OMAP2420 | ||
| 5 | "ti,omap2430-mcbsp" for McBSP on OMAP2430 | ||
| 6 | "ti,omap3-mcbsp" for McBSP on OMAP3 | ||
| 7 | "ti,omap4-mcbsp" for McBSP on OMAP4 and newer SoC | ||
| 8 | - reg: Register location and size, for OMAP4+ as an array: | ||
| 9 | <MPU access base address, size>, | ||
| 10 | <L3 interconnect address, size>; | ||
| 11 | - reg-names: Array of strings associated with the address space | ||
| 12 | - interrupts: Interrupt numbers for the McBSP port, as an array in case the | ||
| 13 | McBSP IP have more interrupt lines: | ||
| 14 | <OCP compliant irq>, | ||
| 15 | <TX irq>, | ||
| 16 | <RX irq>; | ||
| 17 | - interrupt-names: Array of strings associated with the interrupt numbers | ||
| 18 | - interrupt-parent: The parent interrupt controller | ||
| 19 | - ti,buffer-size: Size of the FIFO on the port (OMAP2430 and newer SoC) | ||
| 20 | - ti,hwmods: Name of the hwmod associated to the McBSP port | ||
| 21 | |||
| 22 | Example: | ||
| 23 | |||
| 24 | mcbsp2: mcbsp@49022000 { | ||
| 25 | compatible = "ti,omap3-mcbsp"; | ||
| 26 | reg = <0x49022000 0xff>, | ||
| 27 | <0x49028000 0xff>; | ||
| 28 | reg-names = "mpu", "sidetone"; | ||
| 29 | interrupts = <0 17 0x4>, /* OCP compliant interrupt */ | ||
| 30 | <0 62 0x4>, /* TX interrupt */ | ||
| 31 | <0 63 0x4>, /* RX interrupt */ | ||
| 32 | <0 4 0x4>; /* Sidetone */ | ||
| 33 | interrupt-names = "common", "tx", "rx", "sidetone"; | ||
| 34 | interrupt-parent = <&intc>; | ||
| 35 | ti,buffer-size = <1280>; | ||
| 36 | ti,hwmods = "mcbsp2"; | ||
| 37 | }; | ||
