clk: mediatek: Add configurable pcwibits and fmin to mtk_pll_data
authorOwen Chen <owen.chen@mediatek.com>
Tue, 5 Mar 2019 05:05:40 +0000 (13:05 +0800)
committerStephen Boyd <sboyd@kernel.org>
Thu, 11 Apr 2019 20:13:08 +0000 (13:13 -0700)
commit9d7e1a82b7d195f901c2a18dd5602a1c11e9eefb
treec64502c6a88052a8b1857af5516b68af1d461f8d
parenta3ae549917f1634f85c62984617521801505eb1e
clk: mediatek: Add configurable pcwibits and fmin to mtk_pll_data

1. pcwibits: The integer bits of pcw for PLLs is extend to 8 bits,
   add a variable to indicate this change and
   backward-compatible.

2. fmin: The PLL frequency lower-bound is vary from 1GHz to
   1.5GHz, add a variable to indicate platform-dependent.

Signed-off-by: Owen Chen <owen.chen@mediatek.com>
Signed-off-by: Weiyi Lu <weiyi.lu@mediatek.com>
Acked-by: Sean Wang <sean.wang@kernel.org>
Reviewed-by: James Liao <jamesjj.liao@mediatek.com>
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Tested-by: Nicolas Boichat <drinkcat@chromium.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/mediatek/clk-mtk.h
drivers/clk/mediatek/clk-pll.c