While reviewing Tomeu's "Per-user clock constraints" series I saw that
the Kirkwood cpufreq driver needed to use a new, public clk_is_enabled()
which I hoped not to merge [0].

This led to some investigation as to why this was needed and with
Andrew's help I came to realize that the powersave_clk on the kirkwood
platform acts more like a clock signal multiplexer than a gate. This mux
is unique to Kirkwood; none of the other mvebu platforms have it.

This series updates the kirkwood clock driver to model the powersave_clk
as a mux instead of a gate, and it updates and slightly simplifies the
cpufreq driver to use this clock as a mux.

Rafael & Viresh: I'd prefer to merge the cpufreq driver patch through
the clock tree since Tomeu's changes to the clock core depend on it.

[0] 
http://lkml.kernel.org/r/captuhthyupry2aqvesyrqqr-8hsj_gae1w0u_xxonp-c2o_...@mail.gmail.com

Mike Turquette (3):
  clk: mvebu: share locks between gate clocks
  clk: mvebu: powersave clock is a multiplexer
  cpufreq: kirkwood: use the powersave multiplexer

 drivers/clk/mvebu/common.c         |   9 ++--
 drivers/clk/mvebu/common.h         |   2 +
 drivers/clk/mvebu/kirkwood.c       | 102 ++++++++++++++++++++++++++++++++++++-
 drivers/cpufreq/kirkwood-cpufreq.c |  14 ++---
 4 files changed, 113 insertions(+), 14 deletions(-)

-- 
1.8.3.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to