]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: mt9m114: Set pad-slew-rate
authorMathis Foerst <mathis.foerst@mt.com>
Mon, 14 Jul 2025 07:59:27 +0000 (09:59 +0200)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Mon, 25 Aug 2025 13:40:38 +0000 (15:40 +0200)
commit9db72db296c4e6bb5e901adcd557212e0ee2df26
treea8c75b241e74ee915df09178cd9c070e2a2c0557
parentb541288c515d91424e74055a7b2ef344446a92f7
media: mt9m114: Set pad-slew-rate

The MT9M114 supports the different slew rates (0 to 7) on the output pads.
At the moment, this is hardcoded to 7 (the fastest rate).
The user might want to change this values due to EMC requirements.

Read the 'slew-rate' from the DT and configure the pad slew rates of
the output pads accordingly in mt9m114_initialize().
Remove the hardcoded slew rate setting from the mt9m114_init table.

Signed-off-by: Mathis Foerst <mathis.foerst@mt.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/i2c/mt9m114.c