This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Error:requesting VINT0 interrupt

Other Parts Discussed in Thread: TVP5146, TVP7002

Hi,

I have been using custom made LeopardDM368 with DVSDK 4_02_00_06. 

version: linux-2.6.32.17-psp03.01.01.39.

Available RAM =128M

Drivers tvp7002 and tvp5146

Booting through SD

By running gstreamer pipeline with 720p(SD) we were able to get video stream without any problem. But  if we run pipeline with  1080p(HD) getting error like

vpfe-capture vpfe-capture: Error: requesting VINT0 interrupt

vpfe-capture vpfe-capture: Error: in attching interrupt handle.


Tvp7002 registered successfully.

what is the problem? Any Help?

Regards

Dasari.

 

 

  • As this issue solved in other thread, can you please close this?

  • Hi,

    The following are the changes we have done to get HD video

    1. dm365_ipipi.c(Drivers/char/dm365_ipipe.c),

    static void ipipe_get_irq(struct irq_numbers *irq)
    {
        irq->sdram = IRQ_PRVUINT;
        irq->update = -1; is changed as
        //modified for HD
        irq->update = 4;
    }

    2. dm365_ccdc.c(media/video/dm365_ccdc.c)

    static struct ccdc_oper_config ccdc_cfg = {
        .ycbcr = {

    .win =CCDC_WIN_HD1080 , //added

    }

    3. board-dm365-leopard.c (arch/arm/mach-davinci/board-dm365-leopard.c)

    static struct vpfe_subdev_info vpfe_sub_devs[] = {

    #if defined(CONFIG_VIDEO_TVP7002) || defined(CONFIG_VIDEO_TVP7002_MODULE)
        {
            .module_name = "tvp7002",
            .grp_id = VPFE_SUBDEV_TVP7002,
            .num_inputs = ARRAY_SIZE(tvp7002_inputs),
            .inputs = tvp7002_inputs,
            .ccdc_if_params = {
                //.if_type = VPFE_BT1120,
                .if_type =VPFE_YCBCR_SYNC_16,            
                .hdpol = VPFE_PINPOL_POSITIVE,
                .vdpol = VPFE_PINPOL_POSITIVE,
            },
            .board_info = {
                I2C_BOARD_INFO("tvp7002", 0x5c),
                .platform_data = &tvp7002_pdata,
            },
        },

    #endif

    Regards,

    Dasari