how do you start imx317_mipi ?? my imx317 don't work (both sensors)
set up: #define KERN_DEBUG KERN_SOH "7" /* debug-level messages */
and compare dmesg log for imx317 with ov2718
... logs output in v4l_print_fmtdesc(..) and v4l_print_format(..) functions
do you have ov2718 datasheet?
compare sensor_win_sizes structure for ov2718 and imx317 driver file
.mbus_code = MEDIA_BUS_FMT_SRGGB12_1X12 (imx317)
vs
.mbus_code = MEDIA_BUS_FMT_SBGGR12_1X12 (ov2718)
!! (SRGGB12 != SBGGR12)
also:
info->combo_mode = CMB_TERMINAL_RES | CMB_PHYA_OFFSET3 | MIPI_NORMAL_MODE; (ov2718 sens)
vs
info->combo_mode = CMB_TERMINAL_RES | CMB_PHYA_OFFSET2 | MIPI_NORMAL_MODE; (imx317 sens)
set up: #define KERN_DEBUG KERN_SOH "7" /* debug-level messages */
and compare dmesg log for imx317 with ov2718
... logs output in v4l_print_fmtdesc(..) and v4l_print_format(..) functions
do you have ov2718 datasheet?
compare sensor_win_sizes structure for ov2718 and imx317 driver file
.mbus_code = MEDIA_BUS_FMT_SRGGB12_1X12 (imx317)
vs
.mbus_code = MEDIA_BUS_FMT_SBGGR12_1X12 (ov2718)
!! (SRGGB12 != SBGGR12)
also:
info->combo_mode = CMB_TERMINAL_RES | CMB_PHYA_OFFSET3 | MIPI_NORMAL_MODE; (ov2718 sens)
vs
info->combo_mode = CMB_TERMINAL_RES | CMB_PHYA_OFFSET2 | MIPI_NORMAL_MODE; (imx317 sens)