aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2021-12-03 11:28:57 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2021-12-16 20:58:56 +0100
commit68b9bcc8a534cd11fe55f8bc82f948aae7d81b3c (patch)
treea2804ed58bb1026147fad9228b26fd9e0fffe107 /include
parentmedia: ipu3-cio2: Call cio2_bridge_init() before anything else (diff)
downloadlinux-dev-68b9bcc8a534cd11fe55f8bc82f948aae7d81b3c.tar.xz
linux-dev-68b9bcc8a534cd11fe55f8bc82f948aae7d81b3c.zip
media: ipu3-cio2: Add support for instantiating i2c-clients for VCMs
Some sensors come with a variable-focus lens where the lens focus is controller by a VCM (Voice Coil Motor). If there is a VCM for the lens-focus, and if so which one, is described on the vcm_type field of the ACPI SSDB table. These VCMs are a second I2C device listed as an extra I2cSerialBusV2 resource in the same ACPI device as the sensor. The i2c-core-acpi.c code only instantiates an i2c-client for the first I2cSerialBusV2 resource. Add support for instantiating an i2c-client for the VCM with the type of the i2c-client set based on the SSDB vcm_type field. 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 'include')
0 files changed, 0 insertions, 0 deletions