21 Jul, 2015
1 commit
-
Clock provider drivers generally shouldn't include clk.h because
it's the consumer API. Remove the include here because this is a
provider driver. The clkdev.h include isn't used either, remove
it and add in slab.h to make sure things keep compiling.Acked-by: Dinh Nguyen
Signed-off-by: Stephen Boyd
06 Jun, 2015
1 commit
-
Use of_clk_parent_fill to fill in the parent clock's array.
Signed-off-by: Dinh Nguyen
Signed-off-by: Stephen Boyd
01 May, 2014
1 commit
-
commit [1771b10d6 clk: respect the clock dependencies in of_clk_init]
exposed a flaw in the socfpga clock driver and prevents the platform
from booting on 3.15-rc1.Because the "altr,clk-mgr" is not really a clock, it should not be using
CLK_OF_DECLARE, instead we should be mapping the clk-mgr's base address
one of the functional clock init function. Use the socfpga_pll_init function
to map the clk_mgr_base_addr as this clock should always be initialized first.Signed-off-by: Dinh Nguyen
Tested-by: Pavel Machek
27 Feb, 2014
2 commits
-
The PLLs can be from 3 different sources: osc1, osc2, or the f2s_ref_clk.
Update the clock driver to be able to get the correct parent.Signed-off-by: Dinh Nguyen
Cc: Steffen Trumtrar
Signed-off-by: Mike Turquette -
Use 64-bit integer for calculating clock rate. Also use do_div for the
64-bit division.Signed-off-by: Graham Moore
Signed-off-by: Dinh Nguyen
Cc: Steffen Trumtrar
Signed-off-by: Mike Turquette
19 Feb, 2014
1 commit
-
Move the different kinds of clocks into their own files. The reason is to aid
readability of the code. This also goes along with the other SoC-specific
clock drivers.The split introduces new structs for the three types of clocks and uses them.
Other changes are not done to the code.Signed-off-by: Steffen Trumtrar
Signed-off-by: Dinh Nguyen