Remove two redundent clk aliases
Subsystems (2)
cover Remove two redundent clk aliases
Both USB and MDIO are now instantiated using DT and these DT nodes have clocks properties. Remove the now redundant clkdev aliases.
The first patch has no dependencies.
The second patch is dependent on the SDIO patchset "Device Tree binding for the mvsdio driver" by Thomas Petazzoni.
Andrew Lunn (2):
ARM: Kirkwood: Remove redundent USB clock alias
ARM: Kirkwood: Remove redundent SDIO clock alias
arch/arm/mach-kirkwood/board-dt.c | 9 --------- 1 file changed, 9 deletions(-)
Signature · 1 line
1.7.10.4
PATCH 1/2 ARM: Kirkwood: Remove redundent USB clock alias
Now that USB is instantiated via DT, and the USB DT node has a clocks property, we no longer need a C coded clock alias. Remove it.
--- arch/arm/mach-kirkwood/board-dt.c | 4 ---- 1 file changed, 4 deletions(-)
arch/arm/mach-kirkwood/board-dt.c +0 -4
@@ -55,10 +55,6 @@ static void __init kirkwood_legacy_clk_init(void)orion_clkdev_add ("0" ,"pcie" ,of_clk_get_from_provider (&clkspec)); - clkspec.args[0 ] =CGC_BIT_USB0 ; -orion_clkdev_add (NULL ,"orion-ehci.0" , -of_clk_get_from_provider (&clkspec)); - clkspec.args[0 ] =CGC_BIT_PEX1 ;orion_clkdev_add ("1" ,"pcie" ,of_clk_get_from_provider (&clkspec));
Signature · 1 line
1.7.10.4
PATCH 2/2 ARM: Kirkwood: Remove redundent SDIO clock alias
In reply to Andrew LunnNow that SDIO is instantiated via DT, and the SDIO DT node has a clocks property, we no longer need a C coded clock alias. Remove it.
--- arch/arm/mach-kirkwood/board-dt.c | 5 ----- 1 file changed, 5 deletions(-)
arch/arm/mach-kirkwood/board-dt.c +0 -5
@@ -62,11 +62,6 @@ static void __init kirkwood_legacy_clk_init(void) clkspec.args[0 ] =CGC_BIT_GE1 ;orion_clkdev_add (NULL ,"mv643xx_eth_port.1" ,of_clk_get_from_provider (&clkspec)); - - clkspec.args[0 ] =CGC_BIT_SDIO ; -orion_clkdev_add (NULL ,"mvsdio" , -of_clk_get_from_provider (&clkspec)); - }static void __init kirkwood_of_clk_init (void )
Signature · 1 line
1.7.10.4
cover Remove two redundent clk aliases
In reply to Andrew LunnQuoted 9 lines · Andrew Lunn
Both USB and MDIO are now instantiated using DT and these DT nodes have clocks properties. Remove the now redundant clkdev aliases.
The first patch has no dependencies.
The second patch is dependent on the SDIO patchset "Device Tree binding for the mvsdio driver" by Thomas Petazzoni.
Quoted 6 lines
Andrew Lunn (2):
ARM: Kirkwood: Remove redundent USB clock alias
ARM: Kirkwood: Remove redundent SDIO clock aliasarch/arm/mach-kirkwood/board-dt.c | 9 --------- 1 file changed, 9 deletions(-)
Both applied to mvebu/boards. Normally, I would put this in mvebu/cleanup. However, the dependency on mvebu/drivers (mvsdio changes) meant putting it in boards removed any circular dependencies.
thx,
Jason.