* [PATCH 1/2] ARM: Kirkwood: Remove redundent USB clock alias
2013-01-10 21:01 [PATCH 0/2] Remove two redundent clk aliases Andrew Lunn
@ 2013-01-10 21:01 ` Andrew Lunn
2013-01-10 21:01 ` [PATCH 2/2] ARM: Kirkwood: Remove redundent SDIO " Andrew Lunn
2013-01-23 14:57 ` [PATCH 0/2] Remove two redundent clk aliases Jason Cooper
2 siblings, 0 replies; 4+ messages in thread
From: Andrew Lunn @ 2013-01-10 21:01 UTC (permalink / raw)
To: linux-arm-kernel
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.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
---
arch/arm/mach-kirkwood/board-dt.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/arch/arm/mach-kirkwood/board-dt.c b/arch/arm/mach-kirkwood/board-dt.c
index dae6883..59fdb56 100644
--- a/arch/arm/mach-kirkwood/board-dt.c
+++ b/arch/arm/mach-kirkwood/board-dt.c
@@ -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));
--
1.7.10.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] ARM: Kirkwood: Remove redundent SDIO clock alias
2013-01-10 21:01 [PATCH 0/2] Remove two redundent clk aliases Andrew Lunn
2013-01-10 21:01 ` [PATCH 1/2] ARM: Kirkwood: Remove redundent USB clock alias Andrew Lunn
@ 2013-01-10 21:01 ` Andrew Lunn
2013-01-23 14:57 ` [PATCH 0/2] Remove two redundent clk aliases Jason Cooper
2 siblings, 0 replies; 4+ messages in thread
From: Andrew Lunn @ 2013-01-10 21:01 UTC (permalink / raw)
To: linux-arm-kernel
Now 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.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
---
arch/arm/mach-kirkwood/board-dt.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/arch/arm/mach-kirkwood/board-dt.c b/arch/arm/mach-kirkwood/board-dt.c
index 59fdb56..7bae36c 100644
--- a/arch/arm/mach-kirkwood/board-dt.c
+++ b/arch/arm/mach-kirkwood/board-dt.c
@@ -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)
--
1.7.10.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 0/2] Remove two redundent clk aliases
2013-01-10 21:01 [PATCH 0/2] Remove two redundent clk aliases Andrew Lunn
2013-01-10 21:01 ` [PATCH 1/2] ARM: Kirkwood: Remove redundent USB clock alias Andrew Lunn
2013-01-10 21:01 ` [PATCH 2/2] ARM: Kirkwood: Remove redundent SDIO " Andrew Lunn
@ 2013-01-23 14:57 ` Jason Cooper
2 siblings, 0 replies; 4+ messages in thread
From: Jason Cooper @ 2013-01-23 14:57 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, Jan 10, 2013 at 10:01:07PM +0100, Andrew Lunn wrote:
> 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(-)
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.
^ permalink raw reply [flat|nested] 4+ messages in thread