Commit d46a35cf authored by Soren Brinkmann's avatar Soren Brinkmann Committed by John Linn
Browse files

Xilinx: ARM: clk: Remove unsupported leaf clocks



Removing leaf clocks from the clock framework for which the
current drivers lack support for the common clock framework.
The original approach was to add the complete clock tree and call
clk_prepare() and clk_enable() in the clock init routine, if the
driver does not yet do this.
The drawback of this approach is, that we also enable clocks, which
may be inactive on default (e.g. the peripheral is not connected on a
board and would be disabled by the bootloader). This may lead
to unnecessary power consumption.

With this patch all leaf clocks for which the driver does not
call clk_prepare() and clk_enable() are removed from the clock
framework leaving their gates untouched. Once a driver is ported
to use the common clock framework its leaf clocks must be readded.

Signed-off-by: default avatarSoren Brinkmann <soren.brinkmann@xilinx.com>
parent 685be2e8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment