]> git.karo-electronics.de Git - linux-beck.git/commit
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)
commite59c5371fb9d8268d1c043172e88cecab9dc934f
tree54acf05ccfffdc1dc17dd3c0adb92f54332e0bb0
parentcfe4c93b58924b3764cd7269d3d953049405e938
clk: introduce clk_set_phase function & callback

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