diff options
| author | Bryan O'Donoghue <[email protected]> | 2023-09-25 16:47:02 +0100 |
|---|---|---|
| committer | Hans Verkuil <[email protected]> | 2023-10-07 10:55:44 +0200 |
| commit | 0727615fb975f69c23a9e71cd0a982be67bfe159 (patch) | |
| tree | 7046936a78d0d53ae751978df231bf72b59258b0 /tools/perf/scripts/python/bin | |
| parent | bcd2adfef23aee34d74e0b0a299e3268182cf27f (diff) | |
media: qcom: camss: Functionally decompose CSIPHY clock lookups
The csiphyX_timer and csiX_phy values need not be hard-coded. We can
functionally decompose the string matching inside of a loop.
Static string values are brittle, difficult to extend and not required
anyway since the camss->res->csiphy_num value informs us of the number
of CSIPHYs and hence the set of potential clocks for a given CSIPHY.
In simple terms if we have five CSIPHYs we can have no more and no less
than five csiphy_timer clocks. Similarly csi_phy core clocks have a 1:1
relationship with the PHY they clock.
Signed-off-by: Bryan O'Donoghue <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions