]> git.baikalelectronics.ru Git - kernel.git/commit
clk: ti: dpll: add support for specifying max rate for DPLLs
authorTero Kristo <t-kristo@ti.com>
Wed, 16 Mar 2016 19:54:55 +0000 (21:54 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Sat, 16 Apr 2016 00:26:18 +0000 (17:26 -0700)
commita3cf20b428c80a059fdf28e4b7124ab0c4c3af28
tree3ea618128d355ba5553f2af10e8eb8ad6555b4d0
parente682eb01ef9376066a231983c73b2895ac76b679
clk: ti: dpll: add support for specifying max rate for DPLLs

DPLLs typically have a maximum rate they can support, and this varies
from DPLL to DPLL. Add support of the maximum rate value to the DPLL
data struct, and also add check for this in the DPLL round_rate function.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Reviewed-by: Nishanth Menon <nm@ti.com>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/ti/clkt_dpll.c
include/linux/clk/ti.h