28 Dec, 2011
1 commit
-
It's for migrating to generic clk framework API.
The helper functions help cases clk_enable/clk_disable is used
in non-atomic context.
For example, Call clk_enable in probe and clk_disable in remove.Signed-off-by: Richard Zhao
Signed-off-by: Sascha Hauer
Signed-off-by: Shawn Guo
Cc: Russell King
Acked-by: Marek Vasut
27 Sep, 2011
1 commit
-
As discussed previously, there's the need on some platforms to run some
parts of clk_enable() in contexts which can schedule. The solution
which was agreed upon was to provide clk_prepare() and clk_unprepare()
to contain this parts, while clk_enable() and clk_disable() perform
the atomic part.This patch provides a common definition for clk_prepare() and
clk_unprepare() in linux/clk.h, and provides an upgrade path for
existing implementation and drivers: drivers can start using
clk_prepare() and clk_unprepare() once this patch is merged without
having to wait for platform support. Platforms can then start to
provide these additional functions.Eventually, HAVE_CLK_PREPARE will be removed from the kernel, and
everyone will have to provide these new APIs.Acked-by: Saravana Kannan
Signed-off-by: Russell King
05 Jun, 2009
1 commit
-
This can be used for other arm platforms too as discussed
on the linux-arm-kernel list.Also check the return value with IS_ERR and return PTR_ERR
as suggested by Russell King.Signed-off-by: Tony Lindgren
Signed-off-by: Russell King
27 Mar, 2009
1 commit
-
This adds clk_get_sys to get a clock without the associated struct
device.Signed-off-by: Sascha Hauer
17 Oct, 2008
1 commit
-
clk_get and clk_put may not be used from within interrupt context. Change
comment to this function.Signed-off-by: Alex Raimondi
Signed-off-by: Haavard Skinnemoen
Acked-by: Russell King
Cc: john stultz
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
26 Mar, 2006
1 commit
-
include/linux/clk.h is betraying its ARM origins.
Signed-off-by: Todd Poynor
Signed-off-by: Russell King
08 Jan, 2006
1 commit
-
This is needs to be visible to other architectures using the AMBA
bus and peripherals.Signed-off-by: Russell King