]> git.baikalelectronics.ru Git - kernel.git/commit
clk: socfpga: Add a second parent option for the dbg_base_clk
authorDinh Nguyen <dinguyen@opensource.altera.com>
Sat, 25 Jul 2015 03:30:18 +0000 (22:30 -0500)
committerMichael Turquette <mturquette@baylibre.com>
Mon, 24 Aug 2015 23:49:03 +0000 (16:49 -0700)
commitdb725e63907bbd9cabbd11ce92a1e82ba99a81e1
tree6cb63c13a13c1f257a6c15991cf00dd009864517
parentc855ca540202aa74d68d204b368e9094b29590dd
clk: socfpga: Add a second parent option for the dbg_base_clk

The debug base clock can be bypassed from the main PLL to the OSC1 clock.
The bypass register is the staysoc1(0x10) register that is in the clock
manager.

This patch adds the option to get the correct parent for the debug base
clock.

Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/socfpga/clk-periph.c
drivers/clk/socfpga/clk.h