media: i2c: adv748x: reuse power up sequence when initializing CSI-2
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Thu, 29 Nov 2018 02:01:45 +0000 (21:01 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 16 Jan 2019 17:09:57 +0000 (12:09 -0500)
commit90917bc8f68ff8357eccda3a53519a53504a99a2
tree2143b5f89f35d6f3ba2318aa9b7356912240369b
parent6af61a0bc43201425afa6052d24f2a67648f69d2
media: i2c: adv748x: reuse power up sequence when initializing CSI-2

Extend the MIPI CSI-2 power up sequence to match the power up sequence
in the hardware manual chapter "9.5.1 Power Up Sequence". This change
allows the power up functions to be reused when initializing the
hardware reducing code duplicating as well aligning with the
documentation.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/i2c/adv748x/adv748x-core.c