diff options
| author | Bryan O'Donoghue <[email protected]> | 2023-09-25 16:46:55 +0100 |
|---|---|---|
| committer | Hans Verkuil <[email protected]> | 2023-10-07 10:55:44 +0200 |
| commit | 5900b051959ebf56eb5c6687d8cafb48fc34b973 (patch) | |
| tree | 8a76c9b086a242fd3c5330d66df1a8f14b7ef0bc /tools/perf/scripts/python | |
| parent | 9e0c2597779921c03f6265c1ce45b0121004e301 (diff) | |
media: qcom: camss: Pass remainder of variables as resources
The following variables are being assigned statically based on
compatible strings in the probe path.
* enum camss_version version;
* unsigned int csiphy_num;
* unsigned int csid_num;
* unsigned int vfe_num;
* unsigned int vfe_lite_num;
* unsigned int vfe_total_num;
Migrate those variables to resource parameters passed in on platform
probe arguments. The one caveat is for VFE it has been necessary to
intoduce a new variable vfe_total_num to capture the aggregate value of
vfe_num + vfe_lite_num.
All the rest of the changes are rote camss->variable to
camss->res->variable with the parameter tables now populating the listed
variables.
Signed-off-by: Bryan O'Donoghue <[email protected]>
Acked-by: Konrad Dybcio <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions