Skip to content

ov2680 Camera porting #21

@jamuxyang

Description

@jamuxyang

Hi ,

I got a iimx8mp-edm-g-wb board and a ov2688 camera on android 11.

And I want to test my own ov2688 camera with the driver ov2688. And i made a connector board for it.
When the kernel boot , the driver init correctly , but android boot ov2680 fail (Communication failed).
The kernel log:
[ 0.984453] ov2680 ov2680_parse_dt
[ 0.984483] ov2680 ov2680_mode_init 1
[ 0.984505] ov2680 1-0036: 1-0036 supply DOVDD not found, using dummy regulator
[ 0.984575] ov2680 1-0036: 1-0036 supply DVDD not found, using dummy regulator
[ 0.984594] ov2680 1-0036: 1-0036 supply AVDD not found, using dummy regulator
[ 0.984605] ov2680 ov2680_v4l2_register
[ 0.984639] ov2680 ov2680_check_id
[ 0.984641] ov2680 ov2680_power_on 1
[ 0.984643] ov2680 ov2680_power_on 2
[ 0.984991] ov2680 ov2680_power_down 1
[ 0.984993] ov2680 ov2680_power_down 2
[ 0.994329] ov2680 ov2680_power_up 1
[ 0.994331] ov2680 ov2680_power_up 2
[ 1.002336] ov2680 ov2680_mode_restore
[ 1.002340] ov2680 ov2680_load_regs
[ 1.008577] ov2680 ov2680_mode_set
[ 1.008942] ov2680 1-0036: read : reg=0x3503:[0]
[ 1.013893] ov2680 ov2680_exposure_set
[ 1.014251] ov2680 1-0036: read : reg=0x3503:[2]
[ 1.019196] ov2680 ov2680_load_regs
[ 1.025759] ov2680 1-0036: read : reg=0x3503:[3]
[ 1.030717] ov2680 ov2680_exposure_set
[ 1.031077] ov2680 1-0036: read : reg=0x3503:[1]
[ 1.036017] ov2680 ov2680_stream_enable
[ 1.038346] ov2680 ov2680_stream_disable
[ 1.039054] ov2680 1-0036: read : reg=0x300a:[2680]
[ 1.043951] ov2680 1-0036: ov2680 init correctly
[ 1.043955] ov2680 ov2680_probe[ee088080]
[ 1.978583] mx8-img-md: Registered sensor subdevice: ov2680 1-0036 (1)
[ 1.978596] ov2680 ov2680_link_setup
[ 1.978599] mx8-img-md: created link [ov2680 1-0036] => [mxc-mipi-csi2.0]
[ 7.934619] ov2680 ov2680_s_power[ee088080]
[ 7.934625] ov2680 ov2680_power_on 1
[ 7.934629] ov2680 ov2680_s_ctrl 1
[ 7.934631] ov2680 ov2680_s_ctrl 2[ee088080]
[ 7.934633] ov2680 ov2680_vflip_disable
[ 7.934865] ov2680 1-0036: read error: reg=0x3820: -6
[ 7.940212] ov2680 v4l2_ctrl_handler_setup error!
[ 8.189454] ov2680 ov2680_s_power[ee088080]
[ 8.189459] ov2680 ov2680_power_on 1
[ 8.189463] ov2680 ov2680_s_ctrl 1
[ 8.189465] ov2680 ov2680_s_ctrl 2[ee088080]
[ 8.189467] ov2680 ov2680_vflip_disable
[ 8.189702] ov2680 1-0036: read error: reg=0x3820: -6
[ 8.195278] ov2680 v4l2_ctrl_handler_setup error!
How can i fix it? Thank you !!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions