Skip to content

Commit e87f3be

Browse files
oleremShawn Guo
authored andcommitted
ARM: mach-imx: imx6ul: remove not optional ethernet refclock overwrite
Ethernet refclock direction is board specific and should be configurable by devicetree. In fact there are board not working with this defaults, which will be fixed by separate patch. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
1 parent 5e16360 commit e87f3be

1 file changed

Lines changed: 0 additions & 20 deletions

File tree

arch/arm/mach-imx/mach-imx6ul.c

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
*/
55
#include <linux/irqchip.h>
66
#include <linux/mfd/syscon.h>
7-
#include <linux/mfd/syscon/imx6q-iomuxc-gpr.h>
8-
#include <linux/micrel_phy.h>
97
#include <linux/of_platform.h>
108
#include <linux/phy.h>
119
#include <linux/regmap.h>
@@ -16,30 +14,12 @@
1614
#include "cpuidle.h"
1715
#include "hardware.h"
1816

19-
static void __init imx6ul_enet_clk_init(void)
20-
{
21-
struct regmap *gpr;
22-
23-
gpr = syscon_regmap_lookup_by_compatible("fsl,imx6ul-iomuxc-gpr");
24-
if (!IS_ERR(gpr))
25-
regmap_update_bits(gpr, IOMUXC_GPR1, IMX6UL_GPR1_ENET_CLK_DIR,
26-
IMX6UL_GPR1_ENET_CLK_OUTPUT);
27-
else
28-
pr_err("failed to find fsl,imx6ul-iomux-gpr regmap\n");
29-
}
30-
31-
static inline void imx6ul_enet_init(void)
32-
{
33-
imx6ul_enet_clk_init();
34-
}
35-
3617
static void __init imx6ul_init_machine(void)
3718
{
3819
imx_print_silicon_rev(cpu_is_imx6ull() ? "i.MX6ULL" : "i.MX6UL",
3920
imx_get_soc_revision());
4021

4122
of_platform_default_populate(NULL, NULL, NULL);
42-
imx6ul_enet_init();
4323
imx_anatop_init();
4424
imx6ul_pm_init();
4525
}

0 commit comments

Comments
 (0)