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.

Why the THS7303 Conspiracy?

Other Parts Discussed in Thread: THS7303

(((One more post for good measure)))

Why do multiple make situations in git insist on including the THS7303 driver?  I "#" comment it out, and it comes back on it's own.  make menuconfig can't un-star it.

Why does the kernel then quit trying after it can't find a THS7303 on my board (which neither needs one nor has one)?

Reference: http://e2e.ti.com/support/embedded/f/354/p/96975/338680.aspx#338680

(((I'm at my wit's end...)))

  • I've reduced the problem to being reproducible with these three commands:

    export ARCH=arm

    export KERNELVERSION=2.6.32-rc2-davinci1

    scripts/kconfig/conf -D arch/arm/configs/davinci_mhb_1ghz_defconfig arch/arm/Kconfig

    where davinci_mhb_1ghz_defconfig is cloned from davinci_dm646x_1ghz_defconfig, but with THS7303 and other items disabled, ADV7170 enabled.

    Even if I delete .config and .config.old first, when conf runs, it creates both of these.  .config contains THS7303 enabled.  There seems no way for such to be coming from my davinci_mhb_1ghz_defconfig, and I don't see how it comes from arch/arm/Kconfig (or even arch/arm/mach-davinci/Kconfig which my be getting included by the other Kconfig).

    So, once again, HOW in the world is conf forcing THS7303 enabled?  I've even reordered and retyped some things in davinci_mhb_1ghz_defconfig to no avail.

    NOTE ALSO,

    I did tentatively edit drivers/media/video/Makefile and commented out the line "obj -$(CONFIG_VIDEO_THS7303) += ths7303.0".  This kernel compiled and no longer mentions THS7303.  However, it doesn't mention my ADV7170 substitute, either.  And the boot log still includes the "Error registering v4l2 subdevice" and "VPIF IRQ request failed" that were occurring after attempting to access THS7303 that wasn't present.

  • Helmut,

    which driver source you are using?

  • I'm using whatever came with the git download.  The individual source code files don't seem to have any version number info in them.  The .version file immediately under the git folder contains the sole text "12".  when I boot the kernel, the log starts off with a note saying 2.6.32-rc2-davinci1.  I recognize this from somewhere else as well.

  • Which git tree/branch you are using? please provide details.

  • I do not know how to determine this, and I don't find in my notes the exact web address I used for download.

  • THS7303 is configed in arch/arm/mach-davinci/board-dm646x-evm.c, you can comment  it out in dm646x_vpif_subdev array and add your DA chip. then you have no 7303 problems.