msm: clock-local: Add support for cdiv clocks
cdiv clocks have typically been represented as rcg clocks with a
fixed frequency table. When we get to cdiv clocks that support
large divider values (in the hundreds) the frequency tables
become huge.
Take a dynamic approach to the cdiv clocks and generate the
correct bit settings at runtime instead. This minimizes the code
bloat and simplifies the code.
Change-Id: Ie8d2ace7b8638883fd2c7c54337a6c934601a02b
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2 files changed