Re: [PATCH v3 06/15] drivers: clk: st: STiH407: Support for Flexgen Clocks

2014-07-28 Thread Mike Turquette
Quoting Gabriel FERNANDEZ (2014-07-15 08:20:22) +static const char ** __init flexgen_get_parents(struct device_node *np, + int *num_parents) +{ + const char **parents; + int nparents, i; + + nparents =

[PATCH v3 06/15] drivers: clk: st: STiH407: Support for Flexgen Clocks

2014-07-15 Thread Gabriel FERNANDEZ
This patch is the Flexgen implementation reusing as much as possible of Common Clock Framework functions. The idea is to have an instance of struct flexgen per output clock. It represents the clock cross bar (by a mux element), and the pre and final dividers (using dividers and gates elements).