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

ARM: kirkwood: Remove unneeded PCIe clock adding

Since the PCIe devices is properly initialized from the DT, the clocks
are now referenced in the device tree nodes, and it's not needed
to have this hack to add them explicitly.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Tested-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Tested-by: Arnaud Ebalard <arno@natisbad.org>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>

authored by

Ezequiel Garcia and committed by
Jason Cooper
3839c08d 511aaab0

-8
-8
arch/arm/mach-kirkwood/board-dt.c
··· 44 44 clkspec.np = np; 45 45 clkspec.args_count = 1; 46 46 47 - clkspec.args[0] = CGC_BIT_PEX0; 48 - orion_clkdev_add("0", "pcie", 49 - of_clk_get_from_provider(&clkspec)); 50 - 51 - clkspec.args[0] = CGC_BIT_PEX1; 52 - orion_clkdev_add("1", "pcie", 53 - of_clk_get_from_provider(&clkspec)); 54 - 55 47 /* 56 48 * The ethernet interfaces forget the MAC address assigned by 57 49 * u-boot if the clocks are turned off. Until proper DT support