diff options
author | Cristian Marussi <cristian.marussi@arm.com> | 2024-04-15 19:36:45 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2024-04-23 03:16:38 +0300 |
commit | 2641ee13c449ef76b0c369ae94dd8dd5dc8c2008 (patch) | |
tree | f1919e13de827242d4da0472e6c75368b7b7030c /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 4cece764965020c22cff7665b18a012006359095 (diff) | |
download | linux-2641ee13c449ef76b0c369ae94dd8dd5dc8c2008.tar.xz |
clk: scmi: Allocate CLK operations dynamically
SCMI Clocks descriptors expose an increasing number of properties, thing
which, in turn, leads to a varying set of supported CLK operations to be
associated with each clock.
Providing statically pre-defined CLK operations structs for all the
possible combinations of allowed clock features is becoming cumbersome and
error-prone.
Allocate the per-clock operations descriptors dynamically and populate it
with the strictly needed set of operations depending on the advertised
clock properties: one descriptor is created for each distinct combination
of clock operations, so minimizing the number of clk_ops structures to the
strictly minimum needed.
CC: Michael Turquette <mturquette@baylibre.com>
CC: Stephen Boyd <sboyd@kernel.org>
CC: linux-clk@vger.kernel.org
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Link: https://lore.kernel.org/r/20240415163649.895268-2-cristian.marussi@arm.com
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions