* [PATCH 1/2] ARM: mxs: drop last board file user of enet_out
@ 2016-10-20 7:58 Uwe Kleine-König
2016-10-20 7:58 ` [PATCH 2/2] clk: mxs: don't register a clkdev for enet_out Uwe Kleine-König
0 siblings, 1 reply; 3+ messages in thread
From: Uwe Kleine-König @ 2016-10-20 7:58 UTC (permalink / raw)
To: linux-arm-kernel
The ethernet at 800f0000 node in the device tree for apx4devkit references
the enet_out clk (inherited from imx28.dtsi). This should be good enough
to drop its handling from the board file.
As this removes the last user of enable_clk_enet_out remove this
function, too.
Signed-off-by: Uwe Kleine-K?nig <u.kleine-koenig@pengutronix.de>
---
arch/arm/mach-mxs/mach-mxs.c | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/arch/arm/mach-mxs/mach-mxs.c b/arch/arm/mach-mxs/mach-mxs.c
index e4f21086b42b..8f759d160828 100644
--- a/arch/arm/mach-mxs/mach-mxs.c
+++ b/arch/arm/mach-mxs/mach-mxs.c
@@ -233,14 +233,6 @@ static void __init update_fec_mac_prop(enum mac_oui oui)
}
}
-static inline void enable_clk_enet_out(void)
-{
- struct clk *clk = clk_get_sys("enet_out", NULL);
-
- if (!IS_ERR(clk))
- clk_prepare_enable(clk);
-}
-
static void __init imx28_evk_init(void)
{
update_fec_mac_prop(OUI_FSL);
@@ -261,8 +253,6 @@ static int apx4devkit_phy_fixup(struct phy_device *phy)
static void __init apx4devkit_init(void)
{
- enable_clk_enet_out();
-
if (IS_BUILTIN(CONFIG_PHYLIB))
phy_register_fixup_for_uid(PHY_ID_KSZ8051, MICREL_PHY_ID_MASK,
apx4devkit_phy_fixup);
--
2.9.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] clk: mxs: don't register a clkdev for enet_out
2016-10-20 7:58 [PATCH 1/2] ARM: mxs: drop last board file user of enet_out Uwe Kleine-König
@ 2016-10-20 7:58 ` Uwe Kleine-König
2016-10-20 23:50 ` Stephen Boyd
0 siblings, 1 reply; 3+ messages in thread
From: Uwe Kleine-König @ 2016-10-20 7:58 UTC (permalink / raw)
To: linux-arm-kernel
The last user is gone in the previous commit. So this can be removed, too.
Signed-off-by: Uwe Kleine-K?nig <u.kleine-koenig@pengutronix.de>
---
drivers/clk/mxs/clk-imx28.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/clk/mxs/clk-imx28.c b/drivers/clk/mxs/clk-imx28.c
index 6b572b759f9a..cf6b0ab9ac72 100644
--- a/drivers/clk/mxs/clk-imx28.c
+++ b/drivers/clk/mxs/clk-imx28.c
@@ -247,8 +247,6 @@ static void __init mx28_clocks_init(struct device_node *np)
clk_data.clk_num = ARRAY_SIZE(clks);
of_clk_add_provider(np, of_clk_src_onecell_get, &clk_data);
- clk_register_clkdev(clks[enet_out], NULL, "enet_out");
-
for (i = 0; i < ARRAY_SIZE(clks_init_on); i++)
clk_prepare_enable(clks[clks_init_on[i]]);
}
--
2.9.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] clk: mxs: don't register a clkdev for enet_out
2016-10-20 7:58 ` [PATCH 2/2] clk: mxs: don't register a clkdev for enet_out Uwe Kleine-König
@ 2016-10-20 23:50 ` Stephen Boyd
0 siblings, 0 replies; 3+ messages in thread
From: Stephen Boyd @ 2016-10-20 23:50 UTC (permalink / raw)
To: linux-arm-kernel
On 10/20, Uwe Kleine-K?nig wrote:
> The last user is gone in the previous commit. So this can be removed, too.
>
> Signed-off-by: Uwe Kleine-K?nig <u.kleine-koenig@pengutronix.de>
> ---
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
I'm fine if this goes through arm-soc if you want to bunch them
together. Otherwise just resend the patch once the ARM side
merges into some -rc1 and we can remove it in the next next
release.
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-10-20 23:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-20 7:58 [PATCH 1/2] ARM: mxs: drop last board file user of enet_out Uwe Kleine-König
2016-10-20 7:58 ` [PATCH 2/2] clk: mxs: don't register a clkdev for enet_out Uwe Kleine-König
2016-10-20 23:50 ` Stephen Boyd
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).