diff options
author | Oleksij Rempel <o.rempel@pengutronix.de> | 2023-01-31 11:46:41 +0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2023-03-06 04:59:19 +0300 |
commit | e87f3be1c7f88ae10bbf100da1e6dc5939de7378 (patch) | |
tree | 76827fa1717fa5f399a754c4c45462a53dec9b6b /arch/arm/mach-imx/mach-imx6ul.c | |
parent | 5e16360a01e6b58862a22711d5c6565f1a106b00 (diff) | |
download | linux-e87f3be1c7f88ae10bbf100da1e6dc5939de7378.tar.xz |
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>
Diffstat (limited to 'arch/arm/mach-imx/mach-imx6ul.c')
-rw-r--r-- | arch/arm/mach-imx/mach-imx6ul.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/arch/arm/mach-imx/mach-imx6ul.c b/arch/arm/mach-imx/mach-imx6ul.c index dbf8d19cef11..7a0299de1db6 100644 --- a/arch/arm/mach-imx/mach-imx6ul.c +++ b/arch/arm/mach-imx/mach-imx6ul.c @@ -4,8 +4,6 @@ */ #include <linux/irqchip.h> #include <linux/mfd/syscon.h> -#include <linux/mfd/syscon/imx6q-iomuxc-gpr.h> -#include <linux/micrel_phy.h> #include <linux/of_platform.h> #include <linux/phy.h> #include <linux/regmap.h> @@ -16,30 +14,12 @@ #include "cpuidle.h" #include "hardware.h" -static void __init imx6ul_enet_clk_init(void) -{ - struct regmap *gpr; - - gpr = syscon_regmap_lookup_by_compatible("fsl,imx6ul-iomuxc-gpr"); - if (!IS_ERR(gpr)) - regmap_update_bits(gpr, IOMUXC_GPR1, IMX6UL_GPR1_ENET_CLK_DIR, - IMX6UL_GPR1_ENET_CLK_OUTPUT); - else - pr_err("failed to find fsl,imx6ul-iomux-gpr regmap\n"); -} - -static inline void imx6ul_enet_init(void) -{ - imx6ul_enet_clk_init(); -} - static void __init imx6ul_init_machine(void) { imx_print_silicon_rev(cpu_is_imx6ull() ? "i.MX6ULL" : "i.MX6UL", imx_get_soc_revision()); of_platform_default_populate(NULL, NULL, NULL); - imx6ul_enet_init(); imx_anatop_init(); imx6ul_pm_init(); } |