]> git.itanic.dy.fi Git - linux-stable/commit
media: ipu-bridge: Change ov2740 link-frequency to 180 MHz
authorHans de Goede <hdegoede@redhat.com>
Mon, 4 Dec 2023 12:39:46 +0000 (13:39 +0100)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 13 Dec 2023 12:21:20 +0000 (13:21 +0100)
commitfb16c04a538e1fa177bf2dcdf763292d51fe6e2b
tree87553285c20a57dd02b10bd06ccb14dc1f25344b
parentefff0a80bc66dcba08e4810fc9eb91c78d5586cf
media: ipu-bridge: Change ov2740 link-frequency to 180 MHz

The only known devices that use an ov2740 sensor in combination with
the ipu-bridge code are various Lenovo ThinkPad models, which all
need the link-frequency to be 180 MHz for things to work properly.

The ov2740 driver used to only support 360 MHz link-frequency,
which is why the ipu-bridge entry used 360 MHz, but now the
ov2740 driver has been extended to also support 180 MHz.

The ov2740 is actually used with 360 MHz link-frequency on Chromebooks.
On Chromebooks the camera/sensor fwnode graph is part of the ACPI tables.
The ipu-bridge code is used to dynamically generate the graph when it is
missing, so it is not used on Chromebooks and the ov2740 will keep using
360 MHz link-frequency there as before.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/pci/intel/ipu-bridge.c