]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00240740-2 ARM:IPUv3:Add an interface to disable IPU hsp clk
authorLiu Ying <Ying.liu@freescale.com>
Fri, 18 Jan 2013 08:30:40 +0000 (16:30 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:51 +0000 (08:35 +0200)
This patch adds an interface to disable IPU hsp clock so that it
can be called out of ipu common driver.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
(cherry picked from commit 78f0495e79f3b18d3f56ac8bf6ca76a5cea91cf5)

arch/arm/plat-mxc/include/mach/ipu-v3.h

index fb9dc383e023e1b9f86ab805393683b9d0494c6b..d5ee6afce8384b62f69a06560d0cf52874b10b95 100755 (executable)
@@ -587,6 +587,7 @@ struct ipu_soc;
 struct ipu_soc *ipu_get_soc(int id);
 int32_t ipu_init_channel(struct ipu_soc *ipu, ipu_channel_t channel, ipu_channel_params_t *params);
 void ipu_uninit_channel(struct ipu_soc *ipu, ipu_channel_t channel);
+void ipu_disable_hsp_clk(struct ipu_soc *ipu);
 
 static inline bool ipu_can_rotate_in_place(ipu_rotate_mode_t rot)
 {