diff options
author | Théo Lebrun <theo.lebrun@bootlin.com> | 2024-02-21 19:22:10 +0100 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2024-02-21 22:11:51 -0800 |
commit | ae156a3633d377d43990eb539f8a007c0c2bf769 (patch) | |
tree | 9ac270d89521bcfe86963479955b492fae82056e /tools/perf/scripts/python/syscall-counts.py | |
parent | ff773fd2199960ffab0caae07451fe0f12b05bb8 (diff) |
clk: fixed-factor: add fwname-based constructor functions
Add four functions to register clk_hw based on the fw_name field in
clk_parent_data, ie the value in the DT property `clock-names`.
There are variants for devm or not and passing an accuracy or not
passing one:
- clk_hw_register_fixed_factor_fwname
- clk_hw_register_fixed_factor_with_accuracy_fwname
- devm_clk_hw_register_fixed_factor_fwname
- devm_clk_hw_register_fixed_factor_with_accuracy_fwname
The `struct clk_parent_data` init is extracted from
__clk_hw_register_fixed_factor to each calling function. It is required
to allow each function to pass whatever field they want, not only index.
Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
Link: https://lore.kernel.org/r/20240221-mbly-clk-v7-2-31d4ce3630c3@bootlin.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions