hello
We are using ADV7181c on our board with iMX6Q and I am trying to modify adv7180.c
For adv7181, you can try the followed settting:
p->if_type = V4L2_IF_TYPE_BT656;
p->u.bt656.mode = V4L2_IF_TYPE_BT656_MODE_NOBT_8BIT;
p->u.bt656.nobt_hs_inv = 0;
p->u.bt656.bt_sync_correct = 0; // Use internal VSYNC mode, CSI_VSYNC and CSI_HSYNC pins are not needed.
p->u.bt656.clock_curr = 0; //BT656 interlace clock mode
adv7180_write_reg(0x00,0x00);
adv7180_write_reg(0x03,0x0c);
adv7180_write_reg(0x04,0x77);
adv7180_write_reg(0x17,0x41);
adv7180_write_reg(0x1d,0x47);
adv7180_write_reg(0x31,0x02);
adv7180_write_reg(0x3a,0x17);
adv7180_write_reg(0x3b,0x81);
adv7180_write_reg(0x3d,0xa2);
adv7180_write_reg(0x3e,0x6a);
adv7180_write_reg(0x3f,0xa0);
adv7180_write_reg(0x86,0x0b);
adv7180_write_reg(0xf3,0x01);
adv7180_write_reg(0xf9,0x03);
adv7180_write_reg(0x0e,0x80);
adv7180_write_reg(0x52,0x46);
adv7180_write_reg(0x54,0x00);
adv7180_write_reg(0x7f,0xff);
adv7180_write_reg(0x81,0x30);
adv7180_write_reg(0x90,0xc9);
adv7180_write_reg(0x91,0x40);
adv7180_write_reg(0x92,0x3c);
adv7180_write_reg(0x93,0xca);
adv7180_write_reg(0x94,0xd5);
adv7180_write_reg(0xb1,0xff);
adv7180_write_reg(0xb6,0x08);
adv7180_write_reg(0xc0,0x9a);
adv7180_write_reg(0xcf,0x50);
adv7180_write_reg(0xd0,0x4e);
adv7180_write_reg(0xd1,0xb9);
adv7180_write_reg(0xd6,0xdd);
adv7180_write_reg(0xd7,0xe2);
adv7180_write_reg(0xe5,0x51);
adv7180_write_reg(0xf6,0x3b);
adv7180_write_reg(0x0e,0x00);
I need input RGB signal,can you gei me a configuration for adv7181c which input RGB.
Thanks.