diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2013-08-22 14:29:46 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-08-28 05:39:58 -0300 |
commit | f2226a33bf9a431f616b435aa10a9ad4fea1d042 (patch) | |
tree | 18b849fa7d314eb0cfe16ea5a89a4446d2bf5624 /drivers/media/platform/vsp1/vsp1.h | |
parent | 10d79b995be5399be0a59a72859ac4bfdf066299 (diff) | |
download | kernel_goldelico_gta04-f2226a33bf9a431f616b435aa10a9ad4fea1d042.zip kernel_goldelico_gta04-f2226a33bf9a431f616b435aa10a9ad4fea1d042.tar.gz kernel_goldelico_gta04-f2226a33bf9a431f616b435aa10a9ad4fea1d042.tar.bz2 |
[media] v4l: vsp1: Add support for RT clock
The VSPR and VSPS instances use two clocks, the VSP1 system clock and
the VSP1 realtime clock. Both of them need to be enabled to access the
VSP1 registers.
Add support for an optional RT clock and enable/disable it along with
the system clock.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/platform/vsp1/vsp1.h')
-rw-r--r-- | drivers/media/platform/vsp1/vsp1.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/platform/vsp1/vsp1.h b/drivers/media/platform/vsp1/vsp1.h index 11ac94b..d6c6ecd 100644 --- a/drivers/media/platform/vsp1/vsp1.h +++ b/drivers/media/platform/vsp1/vsp1.h @@ -42,6 +42,7 @@ struct vsp1_device { void __iomem *mmio; struct clk *clock; + struct clk *rt_clock; struct mutex lock; int ref_count; |