clk: vc5: Add support for IDT VersaClock 5P49V5935
authorAlexey Firago <alexey_firago@mentor.com>
Fri, 7 Apr 2017 09:12:24 +0000 (12:12 +0300)
committerStephen Boyd <sboyd@codeaurora.org>
Wed, 19 Apr 2017 16:08:59 +0000 (09:08 -0700)
commit1193e14fddbb5abe4fed49874ab3aab5d4f33b2c
tree96cda2242f730d27d020c4450e0e723044d2ab0d
parenta330b6f5d1aee83fb2554d00ad33877b91a74c0c
clk: vc5: Add support for IDT VersaClock 5P49V5935

Update IDT VersaClock 5 driver to support 5P49V5935. This chip has
two clock inputs (internal XTAL or external CLKIN), four fractional
dividers (FODs) and five clock outputs (four universal clock outputs
and one reference clock output at OUT0_SELB_I2C).

Current driver supports up to 2 FODs and up to 3 clock outputs. This
patch sets max number of supported FODs to 4 and max number of supported
clock outputs to 5.

Signed-off-by: Alexey Firago <alexey_firago@mentor.com>
Reviewed-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/clk-versaclock5.c