diff options
| author | Nicolas Frattaroli <nicolas.frattaroli@collabora.com> | 2025-07-16 19:51:23 +0200 |
|---|---|---|
| committer | Viresh Kumar <viresh.kumar@linaro.org> | 2025-08-11 12:19:02 +0530 |
| commit | 2f5178abb9f5164061b9cbbb5dd860f4d206b03a (patch) | |
| tree | 5105482cf3104ccef32a877e584a38eaa4451b98 /tools/perf/scripts/python/parallel-perf.py | |
| parent | 62498af7b1082d76031f98e4c3d6fb2b9af47772 (diff) | |
cpufreq: mediatek-hw: Refactor match data into struct
While the driver could get away with having the per-compatible match
data just be an array of the reg offsets, the only thing it used it for
right now, this doesn't really allow it to be extended in any meaningful
way if some other per-variant information needs to be communicated.
In preparation of adding support for hybrid "FDVFS" for MT8196, refactor
the code to make the DT match data a struct, which currently only
contains a single member: the reg offsets. This will allow this struct
to be extended with other members for other hardware variants.
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions
