Skip to contentSkip to conversation

Allocation of micron MT9M111 chip v42l ident ID

DISCUSSION Robert Jarzmik 3 participants 3 messages Aug 2, 2008 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hello,

I will submit within the next few hours/days a driver for a Micron mt9m111 camera chip. I know only one flavor of the MT9M111 chip, there are no distinctions like monochrome/color models.

Would that be possible to have a chip ID assigned in v4l2-chip-ident.h, eg. something like :
+ V4L2_IDENT_MT9M111 = ???,
Is there a procedure for such things ?

I'll wait for an answer before submitting the mt9m111 driver.

Regards.

--
Robert

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

#1 lore raw
Quoted 11 lines · On Saturday 02 August 2008 15:02:03 Robert Jarzmik wrote:

Hello,

I will submit within the next few hours/days a driver for a Micron mt9m111 camera chip. I know only one flavor of the MT9M111 chip, there are no distinctions like monochrome/color models.

Would that be possible to have a chip ID assigned in v4l2-chip-ident.h, eg. something like :

(quoted diff) +1 -0
+	V4L2_IDENT_MT9M111		= ???,

Is there a procedure for such things ?

Quoted 1 line

I'll wait for an answer before submitting the mt9m111 driver.

Just provide a patch for that header. Usually the number chosen is similar to the chip type number. In this case I guess 9111 is a good choice.

Regards,

Hans

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

#2 lore raw
Quoted 12 lines · Hans Verkuil
Quoted 11 lines · On Saturday 02 August 2008 15:02:03 Robert Jarzmik wrote:

Hello,

I will submit within the next few hours/days a driver for a Micron mt9m111 camera chip. I know only one flavor of the MT9M111 chip, there are no distinctions like monochrome/color models.

Would that be possible to have a chip ID assigned in v4l2-chip-ident.h, eg. something like :

(quoted diff) +1 -0
+	V4L2_IDENT_MT9M111		= ???,

Is there a procedure for such things ?

Quoted 5 lines
Quoted 1 line

I'll wait for an answer before submitting the mt9m111 driver.

Just provide a patch for that header. Usually the number chosen is similar to the chip type number. In this case I guess 9111 is a good choice.

As I didn't know this rule, I just took the next free round enough number range:

	/* Micron CMOS sensor chips: 45000-45099 */
	V4L2_IDENT_MT9M001C12ST		= 45000,
	V4L2_IDENT_MT9M001C12STM	= 45005,
	V4L2_IDENT_MT9V022IX7ATC	= 45010, /* No way to detect "normal" I77ATx */
	V4L2_IDENT_MT9V022IX7ATM	= 45015, /* and "lead free" IA7ATx chips */

So, you can just as well continue this group as yours is called similarly and comes from the same manufacturer. We might guess, that "M" after MT9 means some similarity, so, you can put yours somewhere between MT9M001 and MT9V022, although, doesn't really matter.

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list