[libcamera-devel,0/1] Add CameraSensorHelper for IMX258
mbox series

Message ID 20210719101437.326523-1-umang.jain@ideasonboard.com
Headers show
Series
  • Add CameraSensorHelper for IMX258
Related show

Message

Umang Jain July 19, 2021, 10:14 a.m. UTC
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(+)