media: rcar-csi2: Update V3M and E3 start procedure
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Tue, 12 Mar 2019 23:50:17 +0000 (19:50 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 22 Apr 2019 16:13:16 +0000 (12:13 -0400)
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>
drivers/media/platform/rcar-vin/rcar-csi2.c

index 75a77fd8d98c87836d62291ebfaf45d89c169e5d..c39a0c7593fe75ac8eddb2dea6ba1583cdec6a37 100644 (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 const struct phtw_value step1[] = {
-               { .data = 0xed, .code = 0x34 },
-               { .data = 0xed, .code = 0x44 },
-               { .data = 0xed, .code = 0x54 },
-               { .data = 0xed, .code = 0x84 },
-               { .data = 0xed, .code = 0x94 },
+               { .data = 0xee, .code = 0x34 },
+               { .data = 0xee, .code = 0x44 },
+               { .data = 0xee, .code = 0x54 },
+               { .data = 0xee, .code = 0x84 },
+               { .data = 0xee, .code = 0x94 },
                { /* sentinel */ },
        };