Commit 32dbc8d4 authored by Martin Bugge's avatar Martin Bugge Committed by Mauro Carvalho Chehab

[media] adv7842: added DE vertical position in SDP-io-sync

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 7de5be44
...@@ -2397,6 +2397,10 @@ static int adv7842_core_init(struct v4l2_subdev *sd, ...@@ -2397,6 +2397,10 @@ static int adv7842_core_init(struct v4l2_subdev *sd,
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, 0xac, s->de_v_beg_o);
sdp_io_write(sd, 0xad, s->de_v_beg_e);
sdp_io_write(sd, 0xae, s->de_v_end_o);
sdp_io_write(sd, 0xaf, s->de_v_end_e);
} }
/* todo, improve settings for sdram */ /* todo, improve settings for sdram */
......
...@@ -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 de_v_beg_o;
uint8_t de_v_beg_e;
uint8_t de_v_end_o;
uint8_t de_v_end_e;
}; };
/* Platform dependent definition */ /* Platform dependent definition */
......
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