media: rcar-csi2: Update V3M and E3 start procedure

The latest datasheet (rev 1.50) updates the start procedure for V3M and
E3. Update the driver to match these changes.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Ulrich Hecht <uli+renesas@fpond.eu>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:
Niklas Söderlund 2019-03-12 19:50:17 -04:00 committed by Mauro Carvalho Chehab
parent d245a940d9
commit c1421f1d6c
1 changed files with 5 additions and 5 deletions

View File

@ -913,11 +913,11 @@ static int rcsi2_init_phtw_v3m_e3(struct rcar_csi2 *priv, unsigned int mbps)
static int rcsi2_confirm_start_v3m_e3(struct rcar_csi2 *priv) static int rcsi2_confirm_start_v3m_e3(struct rcar_csi2 *priv)
{ {
static const struct phtw_value step1[] = { static const struct phtw_value step1[] = {
{ .data = 0xed, .code = 0x34 }, { .data = 0xee, .code = 0x34 },
{ .data = 0xed, .code = 0x44 }, { .data = 0xee, .code = 0x44 },
{ .data = 0xed, .code = 0x54 }, { .data = 0xee, .code = 0x54 },
{ .data = 0xed, .code = 0x84 }, { .data = 0xee, .code = 0x84 },
{ .data = 0xed, .code = 0x94 }, { .data = 0xee, .code = 0x94 },
{ /* sentinel */ }, { /* sentinel */ },
}; };