Skip to content

Commit

Permalink
ARM: dts: Revert am335x mcasp ti-sysc changes
Browse files Browse the repository at this point in the history
Without this McASP FIFO would constantly underflow. EDMA
test via dmatest works though.

Let's revert the change for now until we know the root cause.

Reported-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Tested-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
tmlind committed Nov 29, 2018
1 parent 4c38798 commit 5d2632a
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 26 deletions.
28 changes: 2 additions & 26 deletions arch/arm/boot/dts/am33xx-l4.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -1056,19 +1056,7 @@
#address-cells = <1>;
#size-cells = <1>;
ranges = <0x0 0x38000 0x2000>;

mcasp0: mcasp@0 {
compatible = "ti,am33xx-mcasp-audio";
reg = <0x0 0x2000>,
<0x46000000 0x400000>;
reg-names = "mpu", "dat";
interrupts = <80>, <81>;
interrupt-names = "tx", "rx";
status = "disabled";
dmas = <&edma 8 2>,
<&edma 9 2>;
dma-names = "tx", "rx";
};
status = "disabled";
};

target-module@3c000 { /* 0x4803c000, ap 20 32.0 */
Expand All @@ -1086,19 +1074,7 @@
#address-cells = <1>;
#size-cells = <1>;
ranges = <0x0 0x3c000 0x2000>;

mcasp1: mcasp@0 {
compatible = "ti,am33xx-mcasp-audio";
reg = <0x0 0x2000>,
<0x46400000 0x400000>;
reg-names = "mpu", "dat";
interrupts = <82>, <83>;
interrupt-names = "tx", "rx";
status = "disabled";
dmas = <&edma 10 2>,
<&edma 11 2>;
dma-names = "tx", "rx";
};
status = "disabled";
};

target-module@40000 { /* 0x48040000, ap 22 1e.0 */
Expand Down
29 changes: 29 additions & 0 deletions arch/arm/boot/dts/am33xx.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,36 @@
<&edma 5 0>;
dma-names = "tx", "rx";
};

mcasp0: mcasp@48038000 {
compatible = "ti,am33xx-mcasp-audio";
ti,hwmods = "mcasp0";
reg = <0x48038000 0x2000>,
<0x46000000 0x400000>;
reg-names = "mpu", "dat";
interrupts = <80>, <81>;
interrupt-names = "tx", "rx";
status = "disabled";
dmas = <&edma 8 2>,
<&edma 9 2>;
dma-names = "tx", "rx";
};

mcasp1: mcasp@4803c000 {
compatible = "ti,am33xx-mcasp-audio";
ti,hwmods = "mcasp1";
reg = <0x4803C000 0x2000>,
<0x46400000 0x400000>;
reg-names = "mpu", "dat";
interrupts = <82>, <83>;
interrupt-names = "tx", "rx";
status = "disabled";
dmas = <&edma 10 2>,
<&edma 11 2>;
dma-names = "tx", "rx";
};
};

};

#include "am33xx-l4.dtsi"
Expand Down

0 comments on commit 5d2632a

Please sign in to comment.