diff options
| author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2025-06-16 04:11:12 +0300 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2025-08-31 11:10:07 +0200 |
| commit | d91da25f2547efd8c21d2c88a31a15c1e47d6d33 (patch) | |
| tree | 01a897971daf741d926fb137fb8a932bc7944e19 /tools/perf/scripts/python/libxed.py | |
| parent | 4435a7a3fc283011a7b3e9c3b157aac8384333bd (diff) | |
media: rkisp1: Refactor clocks initialization
ISP instances in different SoCs differ in the number of clocks they use,
but not in the clock names. Refactor clocks initialization to avoid
duplicating the clock names per platform, and lower the total number of
clocks from 8 to 4 as no platform uses more than 4 clocks. Use a static
assert to ensure at build time that the size of the arrays match.
Link: https://lore.kernel.org/r/20250616011115.19515-4-laurent.pinchart@ideasonboard.com
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions
