Hi Vishal,
In probe(), it calls imx274_load_default(imx274), which has I2C
register read/write to the IMX274. If it fails, it will exit probe().
So it works as a sensor detection function as you suggested.
Regards,
Leon Luo
1130 Cadillac CT
Milpitas, CA 95035
Phone: (510)371-1169
Fax: (408) 217
pattern: 12 test patterns
Signed-off-by: Leon Luo
Tested-by: Sören Brinkmann
Acked-by: Sakari Ailus
Acked-by: Chris Kohn
---
v9:
- remove v4l2_async_unregister_subdev from probe error
v8:
- check division by zero error
v7:
- use __v4l2_ctrl_s_ctrl instead of v4l2_ctrl_s_ctrl to have
clean
The binding file for imx274 CMOS sensor V4l2 driver
Signed-off-by: Leon Luo
Acked-by: Sören Brinkmann
Acked-by: Rob Herring
---
v9:
- add an entry in MAINTAINERS
v8:
- no changes
v7:
- no changes
v6:
- no changes
v5:
- add 'port' and 'endpoint' information
v4:
- no c
pattern: 12 test patterns
Signed-off-by: Leon Luo
Tested-by: Sören Brinkmann
Acked-by: Sakari Ailus
---
v8:
- check division by zero error
v7:
- use __v4l2_ctrl_s_ctrl instead of v4l2_ctrl_s_ctrl to have
clean mutex_lock/mutex_unlock in imx274_s_stream()
- define imx274_tp_regs[] as static
The binding file for imx274 CMOS sensor V4l2 driver
Signed-off-by: Leon Luo
Acked-by: Sören Brinkmann
Acked-by: Rob Herring
---
v8:
- no changes
v7:
- no changes
v6:
- no changes
v5:
- add 'port' and 'endpoint' information
v4:
- no changes
v3:
- remove redundant prope
pattern: 12 test patterns
Signed-off-by: Leon Luo
Tested-by: Sören Brinkmann
Acked-by: Sakari Ailus
---
v7:
- use __v4l2_ctrl_s_ctrl instead of v4l2_ctrl_s_ctrl to have
clean mutex_lock/mutex_unlock in imx274_s_stream()
- define imx274_tp_regs[] as static, move the test pattern reg
out of
The binding file for imx274 CMOS sensor V4l2 driver
Signed-off-by: Leon Luo
Acked-by: Sören Brinkmann
Acked-by: Rob Herring
---
v7:
- no changes
v6:
- no changes
v5:
- add 'port' and 'endpoint' information
v4:
- no changes
v3:
- remove redundant properties and referen
The binding file for imx274 CMOS sensor V4l2 driver
Signed-off-by: Leon Luo
---
v6:
- no changes
v5:
- add 'port' and 'endpoint' information
v4:
- no changes
v3:
- remove redundant properties and references
- document 'reg' property
v2:
- no changes
---
...
pattern: 12 test patterns
Signed-off-by: Leon Luo
Tested-by: Sören Brinkmann
---
v6:
- remove media/v4l2-image-sizes.h from include header
- make the header file alphabetical order
- remove fmt->pad check in imx274_get_fmt,
the V4L2 subdev framework does it already
- change 'struct reg_8 *
pattern: 12 test patterns
Signed-off-by: Leon Luo
Tested-by: Sören Brinkmann
---
v5:
- no changes
v4:
- use 32-bit data type to avoid __divdi3 compile error for i386
- clean up OR together error codes
v3:
- clean up header files
- use struct directly instead of alias #define
- use
The binding file for imx274 CMOS sensor V4l2 driver
Signed-off-by: Leon Luo
---
v5:
- add 'port' and 'endpoint' information
v4:
- no changes
v3:
- remove redundant properties and references
- document 'reg' property
v2:
- no changes
---
.../devicetree
pattern: 12 test patterns
Signed-off-by: Leon Luo
Tested-by: Sören Brinkmann
---
v4:
- use 32-bit data type to avoid __divdi3 compile error for i386
- clean up OR together error codes
v3:
- clean up header files
- use struct directly instead of alias #define
- use v4l2_ctrl_s_ctrl instead of
The binding file for imx274 CMOS sensor V4l2 driver
Signed-off-by: Leon Luo
---
v4:
- no changes
v3:
- remove redundant properties and references
- document 'reg' property
v2:
- no changes
---
.../devicetree/bindings/media/i2c/imx274.txt | 32 ++
1 file c
Signed-off-by: Leon Luo
Tested-by: Sören Brinkmann
---
v3:
- clean up header files
- use struct directly instead of alias #define
- use v4l2_ctrl_s_ctrl instead of v4l2_s_ctrl
- revise debug output
- move static helpers closer to their call site
- don't OR toegether error codes
- use cl
The binding file for imx274 CMOS sensor V4l2 driver
Signed-off-by: Leon Luo
Acked-by: Sören Brinkmann
---
v3:
- remove redundant properties and references
- document 'reg' property
v2:
- no changes
---
.../devicetree/bindings/media/i2c/imx274.txt | 32
Signed-off-by: Leon Luo
Tested-by: Sören Brinkmann
---
v3:
- clean up header files
- use struct directly instead of alias #define
- use v4l2_ctrl_s_ctrl instead of v4l2_s_ctrl
- revise debug output
- move static helpers closer to their call site
- don't OR toegether error codes
- use cl
The binding file for imx274 CMOS sensor V4l2 driver
Signed-off-by: Leon Luo
Acked-by: Sören Brinkmann
---
v3:
- remove redundant properties and references
- document 'reg' property
v2:
- no changes
---
.../devicetree/bindings/media/i2c/imx274.txt | 32
17 matches
Mail list logo