Ov5693 disconnect message

Hi,
On Tx2 board, i compiled ov5693 as a module (ov5693.ko)
if ov5693 hardware board connect to tx2, kernel print:

[ 4.788042] tegra-vi4 15700000.vi: initialized
[ 4.788904] tegra-vi4 15700000.vi: subdev 150c0000.nvcsi–1 bound

if ov5693 HW disconnet, kernel print:

[ 1.620831] tegra-vi4 15700000.vi: ep of_device is not enabled /host1x/vi@15700000/ports/port@0/endpoint.
[ 1.620836] tegra-vi4 15700000.vi: ep of_device is not enabled /host1x/vi@15700000/ports/port@1/endpoint.

so what is the difference between ov5693 connected and disconnected?

what can I do to enable port0 and port1 defaultly?

You need connect sensor to port0 and port1 and modify the device tree to enable it.

Have a check the programing guide.

https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/camera_sensor_prog.html#