media: imx: imx7_mipi_csis: Move PHY control to dedicated functions
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sat, 15 May 2021 22:32:26 +0000 (00:32 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sun, 23 May 2021 17:21:33 +0000 (19:21 +0200)
commitacdff8e14ae9e992526d050f8cee2264710de33e
tree17d1f55b2b76a0ba751c4f8775b59fe7ff00fea4
parent88fc81388df942e580b65afa197c97c490b5b855
media: imx: imx7_mipi_csis: Move PHY control to dedicated functions

Move the PHY regulator and reset handling to dedicated functions. This
groups all related code together, and prepares for i.MX8 support that
doesn't require control of the PHY regulator and reset.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Rui Miguel Silva <rmfrfs@gmail.com>
Tested-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/imx/imx7-mipi-csis.c