Active_l and active_t missing device tree properties error for sony,imx219 driver

Hello,

I am trying to use a nv_imx219 (CONFIG_NV_VIDEO_IMX219) driver in Jetpack 35.1. I am facing problem with the active_l and active_t properties which are missing in the device tree file.

[    5.861006] imx219 10-0010: sensor_common_parse_image_props:active_l property missing
[    5.861345] imx219 10-0010: Failed to read mode0 image props
[    5.861531] imx219 10-0010: Could not initialize sensor properties.
[    5.861891] imx219 10-0010: Failed to initialize imx219
[    5.862056] imx219 10-0010: tegra camera driver registration failed
[    5.862508] imx219: probe of 10-0010 failed with error -61

The code checking the properties are present below:

static int sensor_common_parse_image_props(
        struct device *dev, struct device_node *node,
        struct sensor_image_properties *image)
{
        const char *temp_str;
        int err = 0, ret = 0;
        const char *phase_str, *mode_str;
        int depth;
        char pix_format[24];
        u32 value = 0;

        err = read_property_u32(node, "active_l",
                &image->left);
        if (err) {
                dev_err(dev, "%s:active_l property missing\n", __func__);
                goto fail;
        }

        err = read_property_u32(node, "active_t",
                &image->top);
        if (err) {
                dev_err(dev, "%s:active_t property missing\n", __func__);
                goto fail;
        }

Also these two properties are missing in the Sensor programming guide:
https://docs.nvidia.com/jetson/archives/r35.1/DeveloperGuide/text/SD/CameraDevelopment/SensorSoftwareDriverProgramming.html

Could you please let me know what should I keep values of these two properties in imx219 dt file?

Where did you get this source.? In my source tree there are no these properties.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.