]> git.karo-electronics.de Git - linux-beck.git/commit
clk: socfpga: allow for multiple parents on Arria10 periph clocks
authorDinh Nguyen <dinguyen@opensource.altera.com>
Mon, 22 Feb 2016 21:52:46 +0000 (15:52 -0600)
committerStephen Boyd <sboyd@codeaurora.org>
Mon, 22 Feb 2016 22:17:37 +0000 (14:17 -0800)
commit56713da3ee5c6b0cf5b1881973b939250766a91b
treef44bdc536676e9cc64934dda0076bd3197b8b4cf
parentb6f5128459a40410f9afefddc0ad688ea5b22c28
clk: socfpga: allow for multiple parents on Arria10 periph clocks

There are some Arria10 clocks of type "altr,socfpga-a10-perip-clk" that can
have multiple parents. Fix up the __socfpga_periph_init() to call
of_clk_parent_fill() that will return the appropriate number of parents.

Also, update __socfpga_gate_init() to call of_clk_parent_fill() helper
function.

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