Rkisp-vir0 Error on Rock 3a

Hi! Thank you for your suggestions, camera power seems to be ok, I added to the ov5647 driver the GPIO power control. And the camera driver do correctly the camera detection via I2C. This is what I did on the camera driver in the probe function, read the pwdn GPIO from the device tree and open the camera power. Maybe a power init sequence issue?

/* Request the power down GPIO asserted. */
sensor->pwdn = devm_gpiod_get_optional(dev, "pwdn", GPIOD_OUT_HIGH);
if (IS_ERR(sensor->pwdn)) {
	dev_err(dev, "Failed to get 'pwdn' gpio\n");
	return -EINVAL;
}

/* Turning on pwdn gpio */
gpiod_set_value_cansleep(sensor->pwdn, 1);
msleep(PWDN_ACTIVE_DELAY_MS);