Commit b8ad8223 authored by Stephen Boyd's avatar Stephen Boyd
Browse files

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: default avatarStephen Boyd <sboyd@codeaurora.org>
parent feb575a5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment