diff options
| author | Brian Ruley <[email protected]> | 2026-06-16 15:51:40 +0300 |
|---|---|---|
| committer | Fabio Estevam <[email protected]> | 2026-06-26 23:02:46 -0300 |
| commit | 3c9cb48b4757f631e30a6cba634d62be815ac066 (patch) | |
| tree | c240d1bd7742cbee46f28552e06080fcbbfe5294 /include/linux/const.h | |
| parent | d8673fd3b5998ceb2ba3552a9d579c14566ffec7 (diff) | |
clk: clk-divider: add clk_register_divider_table()
The existing clk_register_divider() only supports linear or
power-of-two divider mappings. Some hardware (e.g. i.MX6 PLL5
post_div and video_div) uses non-linear register-value-to-divisor
mappings that require a lookup table.
Add clk_register_divider_table() which accepts a clk_div_table,
and reimplement clk_register_divider() as a wrapper passing
table=NULL.
Signed-off-by: Brian Ruley <[email protected]>
Diffstat (limited to 'include/linux/const.h')
0 files changed, 0 insertions, 0 deletions
