]> git.baikalelectronics.ru Git - kernel.git/commit
net: mvpp2: Fix clock resource by adding missing mg_core_clk
authorMaxime Chevallier <maxime.chevallier@bootlin.com>
Wed, 25 Apr 2018 18:21:17 +0000 (20:21 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Apr 2018 15:22:55 +0000 (11:22 -0400)
commit482c5ff75d9c154a674fa430a52a5fa51470ed22
tree6b07a141d39fbec6ac3908f8822a63b11179d52f
parent8bfaf018c2d20367e47c71ec21aa61ea006971b1
net: mvpp2: Fix clock resource by adding missing mg_core_clk

Marvell's PPv2.2 IP needs an additional clock named "MG Core clock".
This is required on Armada 7K and 8K.

This commit adds the required clock in mvpp2, making sure it's only
used on PPv2.2.

Fixes: 2587c2bedb27 ("clk: mvebu: cp110: Fix clock tree representation")
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2.c