铁蜻蜓

铁蜻蜓

0个粉丝

2

问答

0

专栏

0

资料

铁蜻蜓  发布于  2024-11-21 16:43:36
采纳率 0%
2个问答
24

RK3588的dcphy0接imx464调试2-mipi错误

     

各位大佬好,我在RK3588开发板的dcphy0口移植了一款imx464摄像头,驱动正常工作了,但抓图时候出现Mipi错误:
抓图命令:
sudo v4l2-ctl -d /dev/video11 --set-fmt-video=width=1920,height=1080,pixelformat=NV12 --stream-mmap=3 --stream-skip=3 --stream-to=./mynv12.out --stream-count=1 --stream-poll

[   50.492638] rockchip-mipi-csi2 fdd10000.mipi0-csi2: stream on, src_sd: 00000000663b82b6, sd_name:rockchip-csi2-dphy0
[   50.492684] rockchip-mipi-csi2 fdd10000.mipi0-csi2: stream ON
[   50.711605] imx464 5-001a: set vts 0xf78
[   50.713407] imx464 5-001a: set exposure 0x129
[   50.714472] imx464 5-001a: set analog gain 0x0
[   50.805508] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   50.805625] mipi0-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[   50.807396] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   50.807502] [   50.812279] mipi0-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[   50.812400] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   50.842641] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   50.847939] mipi0-csi2 ERR2:0x100 (ecc,vc: 0)
[   50.848036] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   50.854347] mipi0-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[   50.854453] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   50.856210] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   50.856281] mipi0-csi2 ERR2:0x100 (ecc,vc: 0)
[   50.882635] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   50.888041] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   50.888146] mipi0-csi2 ERR2:0x100 (ecc,vc: 0)
[   50.892212] mipi0-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[   50.892280] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   50.922635] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   50.933465] mipi0-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[   50.933536] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   50.935566] mipi0-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[   50.935638] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   50.962634] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   50.977462] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   50.977529] mipi0-csi2 ERR2:0x100 (ecc,vc: 0)
[   51.002633] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   51.013462] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   51.013535] mipi0-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[   51.014026] mipi0-csi2 ERR2:0x100 (ecc,vc: 0)
[   51.014058] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   51.042606] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   51.056212] mipi0-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[   51.056278] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   51.057381] mipi0-csi2 ERR2:0x100 (ecc,vc: 0)
[   51.057416] mipi[   51.082633] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   51.084258] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   51.084367] mipi0-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[   51.086243] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   51.086343] mipi0-csi2 ERR2:0x100 (ecc,vc: 0)
[   51.092142] mipi0-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[   51.092196] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   51.096191] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   51.096323] mipi0-csi2 ERR2:0x100 (ecc,vc: 0)
[   51.122669] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   51.162640] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   51.202639] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   51.204242] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   51.204346] mipi0-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[   51.242633] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   51.282568] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   51.322611] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   51.324210] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   51.32[   51.362635] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   51.402641] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   51.411463] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   51.411535] mipi0-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[   51.442634] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   51.453563] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   51.453633] mipi0-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[   51.482681] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   51.522634] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   51.562640] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   51.576210] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   51.576277] mipi0-csi2 ERR2:0x100 (ecc,vc: 0)
[   51.577378] mipi0-csi2 ERR2:0x100 (ecc,vc: 0)
[   51.577412] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   51.602635] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   51.603503] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   51.642635] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   51.646243] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   51.646344] mipi0-csi2 ERR2:0x100 (ecc,vc: 0)
[   51.651296] mipi0-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[   51.651390] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   51.658088] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   51.682642] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   51.722644] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   51.762642] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   51.767592] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   51.774146] mipi0-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[   51.774247] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   51.802633] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   51.805479] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   51.805555] mipi0-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[   51.842632] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   51.844238] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   51.845417] mipi0-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[   51.845506] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   51.882633] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   51.888241] mipi0-csi2 ERR2:0x100 (ecc,vc: 0)
[   51.888350] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   51.922641] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   51.924247] mipi0-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[   51.9243[   51.962643] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   51.971601] mipi0-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[   51.971712] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   52.002641] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   52.005496] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   52.005594] mipi0-csi2 ERR2:0x100 (ecc,vc: 0)
[   52.011482] mipi0-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[   52.011604] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   52.042639] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   52.048244] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   52.048356] mipi0-csi2 ERR2:0x100 (ecc,vc: 0)
[   52.082642] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   52.122607] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   52.162678] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   52.176211] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   52.176280] mipi0-csi2 ERR2:0x100 (ecc,vc: 0)
[   52.202634] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   52.242606] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   52.282647] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   52.322642] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   52.362664] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   52.370311] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   52.370378] mipi0-csi2 ERR2:0x100 (ecc,vc: 0)
[   52.376007] mipi0-csi2 ERR2:0x100 (ecc,vc: 0)
[   52.376075] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   52.402641] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   52.418145] mipi0-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[   52.418244] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   52.442632] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   52.482697] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   52.488243] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   52.488355] mipi0-csi2 ERR2:0x100 (ecc,vc: 0)
[   52.522634] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   52.562632] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   52.602642] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   52.603284] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   52.608038] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   52.642641] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   52.656210] mipi0-csi2 ERR2:0x100 (ecc,vc: 0)
[   52.656276] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   52.682634] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   52.684244] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   52.684348] mipi0-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[   52.687595] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   52.696190] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   52.722642] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   52.732141] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   52.735563] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   52.735629] mipi0-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[   52.762641] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   52.764149] mipi0-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[   52.764242] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   52.769393] mipi0-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[   52.769443] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   52.802601] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   52.807362] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   52.807430] mipi0-csi2 ERR2:0x100 (ecc,vc: 0)
[   52.812209] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   52.812282] mipi0-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[   52.813463] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   52.813530] mipi0-csi2 ERR2:0x100 (ecc,vc: 0)
[   52.818310] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   52.818383] mipi0-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[   52.842634] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   52.843489] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   52.882677] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   52.889496] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   52.889600] mipi0-csi2 ERR2:0x100 (ecc,vc: 0)
[   52.922607] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   52.924208] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   52.928243] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   52.928325] mipi0-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[   52.962633] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   53.002644] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   53.042641] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   53.044055] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   53.052241] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   53.056191] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   53.056238] mipi0-csi2 ERR2:0x100 (ecc,vc: 0)
[   53.082635] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   53.122642] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   53.162634] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   53.170344] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   53.170451] mipi0-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[   53.202642] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   53.207597] mipi0-csi2 ERR2:0x100 (ecc,vc: 0)
[   53.207702] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   53.242641] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   53.252143] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   53.252252] mipi0-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[   53.282601] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   53.283293] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   53.322694] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   53.329497] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   53.329598] mipi0-csi2 ERR2:0x100 (ecc,vc: 0)
[   53.362637] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   53.402679] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   53.442606] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   53.456246] mipi0-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[   53.456344] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   53.482607] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   53.486344] mipi0-csi2 ERR2:0x100 (ecc,vc: 0)
[   53.486447] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   53.498031] mipi0-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[   53.498090] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   53.522635] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   53.528241] mipi0-csi2 ERR2:0x100 (ecc,vc: 0)
[   53.528337] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   53.562632] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   53.566143] mipi0-csi2 ERR2:0x100 (ecc,vc: 0)
[   53.566246] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   53.570140] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   53.570246] mipi0-csi2 ERR2:0x100 (ecc,vc: 0)
[   53.572246] mipi0-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[   53.572345] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   53.602669] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   53.609462] mipi0-csi2 ERR2:0x100 (ecc,vc: 0)
[   53.609528] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   53.642632] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   53.682640] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   53.722657] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   53.733462] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   53.733535] mipi0-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[   53.762606] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   53.763285] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   53.770045] mipi0-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[   53.770145] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   53.802641] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   53.812245] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   53.812368] mipi0-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[   53.842633] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   53.853496] mipi0-csi2 ERR2:0x100 (ecc,vc: 0)
[   53.853597] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   53.882606] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   53.922681] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   53.962606] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   54.002641] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   54.012178] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   54.012290] mipi0-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[   54.042642] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   54.051398] mipi0-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[   54.051498] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   54.082641] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   54.085388] mipi0-csi2 ERR2:0x100 (ecc,vc: 0)
[   54.085482] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   54.122674] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   54.162607] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   54.168212] mipi0-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[   54.168279] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   54.172209] mipi0-csi2 ERR1:0x1000000 (crc,vc: 0)
[   54.172279] mipi0-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[   54.202632] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   54.242640] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   54.282606] mipi0-csi2 ERR1:0x10000000 (ecc2)
[   54.285308] rockchip-mipi-csi2 fdd10000.mipi0-csi2: stream off, src_sd: 00000000663b82b6, sd_name:rockchip-csi2-dphy0
[   54.285366] rockchip-mipi-csi2 fdd10000.mipi0-csi2: stream OFF
[   54.286171] rkcif-mipi-lvds: ERROR: csi size err, intstat:0x1000000, lastline:0!!

我的设备树:


&i2c5 {
    status = "okay";
    pinctrl-names = "default";
    pinctrl-0 = <&i2c5m0_xfer>;


    imx464: imx464@1a {
            compatible = "sony,imx464";
            status = "okay";
            reg = <0x1a>;
            //clocks = <&cru CLK_MIPI_CAMARAOUT_M1>;    /* dcphy0对应该时钟 */
            clocks = <&cru CLK_MIPI_CAMARAOUT_M4>;    /* dcphy0对应该时钟 */
            clock-names = "xvclk";

            power-domains = <&power RK3588_PD_VI>;
            pwdn-gpios = <&gpio3 RK_PB2 GPIO_ACTIVE_HIGH>;
            reset-gpios = <&gpio3 RK_PB3 GPIO_ACTIVE_HIGH>;
            pinctrl-names = "default";
            pinctrl-0 = <&mipim1_camera4_clk>;        /*原理图:MIPI_CAM4_CLKOUT MIPI_CAMERA4_CLK_M1*/
            //avdd-supply = <&vcc_mipidcphy0>;

            rockchip,camera-module-index = <0>;
            rockchip,camera-module-facing = "back";
            rockchip,camera-module-name = "CMK-OT1980-PX1";
            rockchip,camera-module-lens-name = "SHG102";
            port {
                    imx464_out0: endpoint {
                            remote-endpoint = <&mipi_in_ucam0>;
                            data-lanes = <1 2 3 4>;
                    };
            };
    };
};


&mipi_dcphy0 {
    status = "okay";
};

&csi2_dcphy0 {
    status = "okay";

    ports {
        #address-cells = <1>;
        #size-cells = <0>;
        port@0 {
            reg = <0>;
            #address-cells = <1>;
            #size-cells = <0>;

            mipi_in_ucam0: endpoint@1 {
                reg = <1>;
                remote-endpoint = <&imx464_out0>;
                data-lanes = <1 2 3 4>;
            };
        };

        port@1 {
            reg = <1>;
            #address-cells = <1>;
            #size-cells = <0>;

            csidcphy0_out: endpoint@0 {
                reg = <0>;
                remote-endpoint = <&mipi0_csi2_input>;
            };
        };
    };
};

&mipi0_csi2 {
    status = "okay";

    ports {
        #address-cells = <1>;
        #size-cells = <0>;

        port@0 {
            reg = <0>;
            #address-cells = <1>;
            #size-cells = <0>;

            mipi0_csi2_input: endpoint@1 {
                reg = <1>;
                remote-endpoint = <&csidcphy0_out>;
            };
        };

        port@1 {
            reg = <1>;
            #address-cells = <1>;
            #size-cells = <0>;

            mipi0_csi2_output: endpoint@0 {
                reg = <0>;
                remote-endpoint = <&cif_mipi_in0>;
            };
        };
    };
};

&rkcif {
    status = "okay";
};

&rkcif_mipi_lvds {
    status = "okay";

    port {
        cif_mipi_in0: endpoint {
            remote-endpoint = <&mipi0_csi2_output>;
        };
    };
};

&rkcif_mipi_lvds_sditf {
    status = "okay";

    port {
        mipi_lvds_sditf: endpoint {
            remote-endpoint = <&isp0_vir0>;
        };
    };
};

&rkcif_mmu {
    status = "okay";
};

&rkisp0 {
    status = "okay";
};

&isp0_mmu {
    status = "okay";
};

&rkisp0_vir0 {
    status = "okay";
    port {
        #address-cells = <1>;
        #size-cells = <0>;

        isp0_vir0: endpoint@0 {
            reg = <0>;
            remote-endpoint = <&mipi_lvds_sditf>;
        };
    };
};

我用示波器抓了sensor的mipi数据,抓图时候也有数据,mclk也是37.13MHz,i2c工作也正常

请教大神指导一下,谢谢

我来回答
回答0个
时间排序
认可量排序
易百纳技术社区暂无数据
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
+ 添加网盘链接/附件

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
相关问答
无更多相似问答 去提问
举报反馈

举报类型

  • 内容涉黄/赌/毒
  • 内容侵权/抄袭
  • 政治相关
  • 涉嫌广告
  • 侮辱谩骂
  • 其他

详细说明

易百纳技术社区