]> asedeno.scripts.mit.edu Git - linux.git/commit
ARM: dts: Fix wrong clocks for dra7 mcasp
authorTony Lindgren <tony@atomide.com>
Mon, 23 Sep 2019 17:32:38 +0000 (10:32 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 23 Sep 2019 17:33:12 +0000 (10:33 -0700)
commit2d3c8ba3cffa00f76bedb713c8c2126c82d8cd13
treeb0323d24eba486b9dd17a8d6fbb2b7a41c76e3a1
parentdd8882a255388ba66175098b1560d4f81c100d30
ARM: dts: Fix wrong clocks for dra7 mcasp

The ahclkr clkctrl clock bit 28 only exists for mcasp 1 and 2 on dra7.
This causes the following warning on beagle-x15:

ti-sysc 48468000.target-module: could not add child clock ahclkr: -19

Also the mcasp clkctrl clock bits are wrong:

For mcasp1 and 2 we have four clocks at bits 28, 24, 22 and 0:

bit 28 is ahclkr
bit 24 is ahclkx
bit 22 is auxclk
bit 0 is fck

For mcasp3 to 8 we have three clocks at bits 24, 22 and 0.

bit 24 is ahclkx
bit 22 is auxclk
bit 0 is fck

We do not have currently mapped auxclk at bit 22 for the drivers, that can
be added if needed.

Fixes: 5241ccbf2819 ("ARM: dts: Add missing ranges for dra7 mcasp l3 ports")
Cc: Suman Anna <s-anna@ti.com>
Cc: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/dra7-l4.dtsi