]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARM: dts: keystone-k2l: fix broken Ethernet due to disabled OSR
authorMurali Karicheri <m-karicheri2@ti.com>
Wed, 29 Mar 2017 10:32:18 +0000 (16:02 +0530)
committerArnd Bergmann <arnd@arndb.de>
Fri, 26 May 2017 08:10:50 +0000 (10:10 +0200)
commit791229f1d530a0f0a680a4c09f98199792485f33
tree2338fb6e472f217593fc3a5bf717633dcd6d7371
parent5612ac83b9d7a32a7f2967d9f6f97e7f3428dfd2
ARM: dts: keystone-k2l: fix broken Ethernet due to disabled OSR

Ethernet networking on K2L has been broken since v4.11-rc1. This was
caused by commit 32a34441a9bd ("ARM: keystone: dts: fix netcp clocks
and add names"). This commit inadvertently moves on-chip static RAM
clock to the end of list of clocks provided for netcp. Since keystone
PM domain support does not have a list of recognized con_ids, only the
first clock in the list comes under runtime PM management. This means
the OSR (On-chip Static RAM) clock remains disabled and that broke
networking on K2L.

The OSR is used by QMSS on K2L as an external linking RAM. However this
is a standalone RAM that can be used for non-QMSS usage (as well as from
DSP side). So add a SRAM device node for the same and add the OSR clock
to the node.

Remove the now redundant OSR clock node from netcp.

To manage all clocks defined for netCP's use by runtime PM needs keystone
generic power domain (genpd) driver support which is under works.
Meanwhile, this patch restores K2L networking and is correct irrespective
of any future genpd work since OSR is an independent module and not part
of NetCP anyway.

Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Acked-by: Tero Kristo <t-kristo@ti.com>
[nsekhar@ti.com: commit message updates, port to latest mainline]
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Cc: stable@vger.kernel.org # for 4.11
Acked-by: Santosh Shilimkar <ssantosh@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/boot/dts/keystone-k2l-netcp.dtsi
arch/arm/boot/dts/keystone-k2l.dtsi