diff options
author | Hans de Goede <hdegoede@redhat.com> | 2023-07-05 23:30:10 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2023-08-10 07:58:41 +0200 |
commit | f663fb4967b0e428f80f7850090ed3ba3bff0e3b (patch) | |
tree | 02e2aac6394b6b53b42f539d598409ad43158724 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fc0f5b59adf5170f0f4c2dc20c13f558e2baf64a (diff) |
media: atomisp: csi2-bridge: Add support for VCM I2C-client instantiation
Fill sensor->vcm_type and call intel_cio2_bridge_instantiate_vcm() from
the v4l2-async bound op so that an I2C-client will be instatiated for
the VCM.
Note unfortunately on atomisp the _DSM to get the VCM type sometimes
returns a VCM even though there is none. Since VCMs are typically only
used together with certain sensors, work around this by adding a vcm
field to atomisp_sensor_config and only check for a VCM when that is set.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions