Hi! We're discussing a clarification of the content license; please look over to Current events if you're interested in editing.

RaphaelCameras

From Htc-linux

Revision as of 13:54, 24 November 2010 by Luke (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

[edit] Main Camera

MT9T013

[D:CAM] Check MT9D013 (note name difference?)

i2c id = 0x6c/2

void config_camera_on_gpios(void)
{
        int i;
        unsigned data[4] = { 0x100, 0x200000, 0x8000, 0x20 };
        for (i=0; i<4; i++)
                msm_proc_comm_wince(0x15, &data[i], 0);
}
void config_camera_off_gpios(void)
{
        int i;
        unsigned data[4] = { 0x100, 0x200000, 0x8000, 0x20 };
        for (i=0; i<4; i++)
                msm_proc_comm_wince(0x16, &data[i], 0);
}
// ...
static struct i2c_board_info i2c_devices[] = {
        {
                // Camera sensor
                I2C_BOARD_INFO("mt9t013", 0x6c>>1),
                /* .irq = ??, */
        },
};

[edit] VGA Camera

MT9V113 aka MI380 -- not present on RAPH800/RAPH500

i2c id = 0x78/2