]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: adv7180: add support for ancillary devices
authorThorsten Schmelzer <tschmelzer@topcon.com>
Tue, 25 Nov 2025 14:29:55 +0000 (15:29 +0100)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Tue, 13 Jan 2026 12:10:07 +0000 (13:10 +0100)
commit57b96d4a23c7088127fbd228750bd0b6a1686169
treef42fc4f1f1a145d4757b64cfda0e6079972271f1
parent8e2421e1977ab594011849bbfe028f81ed2ab886
media: adv7180: add support for ancillary devices

Depending on other devices on the i2c bus, using a non-default address
for the CSI and VPP devices may be necessary.

Replace calls to i2c_new_dummy_device with i2c_new_ancillary_device,
which can directly use an i2c address from the device tree.

Program the actual addresses of the sub-devices when configuring the
chip.

Signed-off-by: Thorsten Schmelzer <tschmelzer@topcon.com>
Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/i2c/adv7180.c