diff options
| author | 2026-09-15 14:54:13 +0800 | |
|---|---|---|
| committer | 2026-10-01 13:48:10 +0300 | |
| commit | aa3c1c5dd18add6f784b0b480d2937c4ee42a3d7 (patch) | |
| tree | 35cc7cb26cf084429a7eac9aa1d91a22759192ce /scripts/Makefile.thinlto | |
| parent | dt-bindings: media: i2c: og0ve1b: Add OmniVision OG0VA1B camera sensor (diff) | |
media: i2c: og0ve1b: Introduce per-sensor data structure
Refactor the driver to separate sensor-specific data from the common
driver code. Introduce a sensor_data structure, populated through
i2c_get_match_data(), to hold the chip ID, MCLK frequency, link
frequencies and supported modes.
Test pattern programming is described by a per-sensor callback, and each
mode stores its media bus format code (rather than a bits-per-pixel
value) so that sensors with a different output format can be supported.
Reviewed-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Tested-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Signed-off-by: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
