]> git.karo-electronics.de Git - karo-tx-linux.git/commit
clk: mvebu: powersave clock is a multiplexer
authorMike Turquette <mturquette@linaro.org>
Thu, 28 Aug 2014 00:11:38 +0000 (17:11 -0700)
committerMike Turquette <mturquette@linaro.org>
Tue, 2 Sep 2014 00:43:52 +0000 (17:43 -0700)
commite8e8a9b0d86c093b208789fd71501c91a919ffdb
treee443d76dee27e562bc7b94b5d52eb49493798cb8
parent87e392164ab6c0f3f055f8483dc7dc3f1afa19ad
clk: mvebu: powersave clock is a multiplexer

Kirkwood is unique among the mvebu SoCs for having a clock multiplexer
that feeds into the cpu. This multiplexer can select either the cpu pll
or the ddr clock as its input signal, allowing for a choice between
performance and power savings.

This patch introduces the code needed to register the clock multiplexer
on Kirkwood SoCs but does not include the clock data to actually
register the clock. That will be done in a follow-up patch which is
necessary to prevent breaking git bisect.

Cc: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Tested-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/mvebu/kirkwood.c