clk: mxs: Do not enable enet_out clock
The enet_out clock gate is wrongly abstracted. The bit it is controlling
is not just a bit to enable the clock, it also controls the direction of
the ethernet reference clock. When the bit is cleared, the ethernet
reference clock must be fed into the SoC from an external oscillator;
when it's set then the ethernet reference clock is generated internally.
The correct setting depends on the board, so we must not set the bit
unconditionally during probe of the clock driver. Whether or not the
clock is enabled can be selected by the board by removing the clock from
the FEC in its dts.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 5400f01 commit bbae6c793f2aae9686573074e7603b3d9c0828fb
@Sascha Hauer Sascha Hauer authored on 27 Apr 2020
Showing 1 changed file
View
drivers/clk/mxs/clk-imx28.c