OSDN Git Service

media: marvell-ccic: add support for runtime PM
authorLubomir Rintel <lkundrak@v3.sk>
Mon, 17 Aug 2020 22:08:50 +0000 (00:08 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sat, 29 Aug 2020 06:10:02 +0000 (08:10 +0200)
commit55cd34524aa37601a20cdb0f40c2047c57aa657b
tree316cc522378d52ca59fc08d5add06e84deb76e7a
parent9ac7400f49213ec107cc759bad5ab8a6f64684d6
media: marvell-ccic: add support for runtime PM

On MMP3, the camera block lives on a separate power island. We want to
turn it off if the CCIC is not in use to conserve power.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/marvell-ccic/mcam-core.c
drivers/media/platform/marvell-ccic/mmp-driver.c