Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: omap4-l4-abe: Add McASP configuration

OMAP4 has a single McASP instance with single serializer and locked for DIT
mode.
To be able to enable the support the following fixes needed:
- Add the DAT port ranges to the target module's ranges

We can already fill in the op-mode and serial-dir for McASP as it only
supports this configuration, but keep the module disabled as there is no
known device available where it is used.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>

authored by

Peter Ujfalusi and committed by
Tony Lindgren
ae3c05cf 591c0917

+19 -16
+19 -16
arch/arm/boot/dts/omap4-l4-abe.dtsi
··· 186 186 }; 187 187 188 188 target-module@28000 { /* 0x40128000, ap 8 08.0 */ 189 + /* 0x4012a000, ap 10 0a.0 */ 189 190 compatible = "ti,sysc-mcasp", "ti,sysc"; 190 191 reg = <0x28000 0x4>, 191 192 <0x28004 0x4>; ··· 200 199 #address-cells = <1>; 201 200 #size-cells = <1>; 202 201 ranges = <0x0 0x28000 0x1000>, 203 - <0x49028000 0x49028000 0x1000>; 204 - 205 - /* 206 - * Child device unsupported by davinci-mcasp. At least 207 - * RX path is disabled for omap4, and only DIT mode 208 - * works with no I2S. See also old Android kernel 209 - * omap-mcasp driver for more information. 210 - */ 211 - }; 212 - 213 - target-module@2a000 { /* 0x4012a000, ap 10 0a.0 */ 214 - compatible = "ti,sysc"; 215 - status = "disabled"; 216 - #address-cells = <1>; 217 - #size-cells = <1>; 218 - ranges = <0x0 0x2a000 0x1000>, 202 + <0x49028000 0x49028000 0x1000>, 203 + <0x2000 0x2a000 0x1000>, 219 204 <0x4902a000 0x4902a000 0x1000>; 205 + 206 + mcasp0: mcasp@0 { 207 + compatible = "ti,omap4-mcasp-audio"; 208 + reg = <0x0 0x2000>, 209 + <0x4902a000 0x1000>; /* L3 data port */ 210 + reg-names = "mpu","dat"; 211 + interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>; 212 + interrupt-names = "tx"; 213 + dmas = <&sdma 8>; 214 + dma-names = "tx"; 215 + clocks = <&abe_clkctrl OMAP4_MCASP_CLKCTRL 0>; 216 + clock-names = "fck"; 217 + op-mode = <1>; /* MCASP_DIT_MODE */ 218 + serial-dir = < 1 >; /* 1 TX serializers */ 219 + status = "disabled"; 220 + }; 220 221 }; 221 222 222 223 target-module@2e000 { /* 0x4012e000, ap 12 0c.0 */