diff options
author | Théo Lebrun <theo.lebrun@bootlin.com> | 2024-10-07 16:49:18 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2024-10-17 21:16:01 +0300 |
commit | 6a136805e3c1532d2414b298c024429943cfd482 (patch) | |
tree | 90e8d861c4d573c7aa5a13efa0e4e672f69d322f /tools/perf/scripts/python/task-analyzer.py | |
parent | bae7aff5818b89d5d72f6ab0135c8faf3fa54318 (diff) | |
download | linux-6a136805e3c1532d2414b298c024429943cfd482.tar.xz |
clk: divider: Introduce CLK_DIVIDER_EVEN_INTEGERS flag
Add CLK_DIVIDER_EVEN_INTEGERS flag to support divisor of 2, 4, 6, etc.
The same divisor can be done using a table, which would be big and
wasteful for a clock dividor of width 8 (256 entries).
Require increasing flags size from u8 to u16 because
CLK_DIVIDER_EVEN_INTEGERS is the eighth flag. u16 is used inside struct
clk_divider; `unsigned long` is used for function arguments.
Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
Link: https://lore.kernel.org/r/20241007-mbly-clk-v5-3-e9d8994269cb@bootlin.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions