diff options
author | Kevin Cernekee <cernekee@chromium.org> | 2015-05-27 00:01:09 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2015-06-04 21:43:39 +0200 |
commit | 17bfa3f7b3cd07e92b41ce7b5bea2dd8c8e2a8c3 (patch) | |
tree | c24c733c8b2d1eaffb88bfdcc2054669e73af989 /drivers/clk/st | |
parent | clk: pistachio: Lock the PLL when enabled upon rate change (diff) | |
download | linux-17bfa3f7b3cd07e92b41ce7b5bea2dd8c8e2a8c3.tar.xz linux-17bfa3f7b3cd07e92b41ce7b5bea2dd8c8e2a8c3.zip |
clk: pistachio: Add sanity checks on PLL configuration
When setting the PLL rates, check that:
- VCO is within range
- PFD is within range
- PLL is disabled when postdiv is changed
- postdiv2 <= postdiv1
Reviewed-by: Andrew Bresticker <abrestic@chromium.org>
Signed-off-by: Kevin Cernekee <cernekee@chromium.org>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@imgtec.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/st')
0 files changed, 0 insertions, 0 deletions