clk: introduce clk_set_phase function & callback
authorMike Turquette <mturquette@linaro.org>
Wed, 19 Feb 2014 05:21:25 +0000 (21:21 -0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Sat, 27 Sep 2014 06:57:38 +0000 (08:57 +0200)
A common operation for a clock signal generator is to shift the phase of
that signal. This patch introduces a new function to the clk.h API to
dynamically adjust the phase of a clock signal. Additionally this patch
introduces support for the new function in the common clock framework
via the .set_phase call back in struct clk_ops.

Signed-off-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Hans de Goede <hdegoede@redhat.com>
drivers/clk/clk.c
include/linux/clk-private.h
include/linux/clk-provider.h
include/linux/clk.h

Simple merge
Simple merge
Simple merge
Simple merge