Commit 15058aac authored by Martin Bugge's avatar Martin Bugge Committed by Mauro Carvalho Chehab

[media] adv7842: Composite sync adjustment

Signed-off-by: default avatarMartin Bugge <marbugge@cisco.com>
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent f0ec1742
...@@ -2439,6 +2439,10 @@ static void adv7842_s_sdp_io(struct v4l2_subdev *sd, struct adv7842_sdp_io_sync_ ...@@ -2439,6 +2439,10 @@ static void adv7842_s_sdp_io(struct v4l2_subdev *sd, struct adv7842_sdp_io_sync_
sdp_io_write(sd, 0x99, s->de_beg & 0xff); sdp_io_write(sd, 0x99, s->de_beg & 0xff);
sdp_io_write(sd, 0x9a, (s->de_end >> 8) & 0xf); sdp_io_write(sd, 0x9a, (s->de_end >> 8) & 0xf);
sdp_io_write(sd, 0x9b, s->de_end & 0xff); sdp_io_write(sd, 0x9b, s->de_end & 0xff);
sdp_io_write(sd, 0xa8, s->vs_beg_o);
sdp_io_write(sd, 0xa9, s->vs_beg_e);
sdp_io_write(sd, 0xaa, s->vs_end_o);
sdp_io_write(sd, 0xab, s->vs_end_e);
sdp_io_write(sd, 0xac, s->de_v_beg_o); sdp_io_write(sd, 0xac, s->de_v_beg_o);
sdp_io_write(sd, 0xad, s->de_v_beg_e); sdp_io_write(sd, 0xad, s->de_v_beg_e);
sdp_io_write(sd, 0xae, s->de_v_end_o); sdp_io_write(sd, 0xae, s->de_v_end_o);
...@@ -2453,6 +2457,10 @@ static void adv7842_s_sdp_io(struct v4l2_subdev *sd, struct adv7842_sdp_io_sync_ ...@@ -2453,6 +2457,10 @@ static void adv7842_s_sdp_io(struct v4l2_subdev *sd, struct adv7842_sdp_io_sync_
sdp_io_write(sd, 0x99, 0x00); sdp_io_write(sd, 0x99, 0x00);
sdp_io_write(sd, 0x9a, 0x00); sdp_io_write(sd, 0x9a, 0x00);
sdp_io_write(sd, 0x9b, 0x00); sdp_io_write(sd, 0x9b, 0x00);
sdp_io_write(sd, 0xa8, 0x04);
sdp_io_write(sd, 0xa9, 0x04);
sdp_io_write(sd, 0xaa, 0x04);
sdp_io_write(sd, 0xab, 0x04);
sdp_io_write(sd, 0xac, 0x04); sdp_io_write(sd, 0xac, 0x04);
sdp_io_write(sd, 0xad, 0x04); sdp_io_write(sd, 0xad, 0x04);
sdp_io_write(sd, 0xae, 0x04); sdp_io_write(sd, 0xae, 0x04);
......
...@@ -131,6 +131,10 @@ struct adv7842_sdp_io_sync_adjustment { ...@@ -131,6 +131,10 @@ struct adv7842_sdp_io_sync_adjustment {
uint16_t hs_width; uint16_t hs_width;
uint16_t de_beg; uint16_t de_beg;
uint16_t de_end; uint16_t de_end;
uint8_t vs_beg_o;
uint8_t vs_beg_e;
uint8_t vs_end_o;
uint8_t vs_end_e;
uint8_t de_v_beg_o; uint8_t de_v_beg_o;
uint8_t de_v_beg_e; uint8_t de_v_beg_e;
uint8_t de_v_end_o; uint8_t de_v_end_o;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment