[libcamera-devel] [PATCH 0/1] Add CameraSensorHelper for IMX258

Umang Jain umang.jain at ideasonboard.com
Mon Jul 19 12:14:35 CEST 2021


Add analog gain constant values as obtained by tweaking the
imx258 kernel register. Read the corresponding register indexes and
print the values. The imx258 patch is also attached to this series
which led to the output:

localhost ~ # dmesg | grep imx
[    0.610712] imx258 i2c-SONY258A:00: Reading analog gain registers...
[    0.610916] imx258 i2c-SONY258A:00: Value of analog Gain capability: 0
[    0.611117] imx258 i2c-SONY258A:00: Value of C0: 512
[    0.611303] imx258 i2c-SONY258A:00: Value of M0: 0
[    0.611501] imx258 i2c-SONY258A:00: Value of C1: 512
[    0.611696] imx258 i2c-SONY258A:00: Value of M1: -1


Umang Jain (1):
  libipa: Add CameraSensorHelper for IMX258
  * Additional kernel patch attached.

 src/ipa/libipa/camera_sensor_helper.cpp | 10 ++++++++++
 1 file changed, 10 insertions(+)

-- 
2.31.0



More information about the libcamera-devel mailing list