diff options
author | Li Jun <jun.li@freescale.com> | 2015-01-29 10:26:52 +0800 |
---|---|---|
committer | Nitin Garg <nitin.garg@nxp.com> | 2016-01-14 10:59:52 -0600 |
commit | e2fda0148699bc9a24fefa3eacabbc67c28502c5 (patch) | |
tree | 6172c40c820080f0dccbfeeb90f191ad0d019b08 /include/linux/imx_gpc.h | |
parent | 18a5caa4fa5853d27b8173e3ea3b4014cd953cd7 (diff) |
MLK-10174-1 arm: imx: gpc: export an interface to keep mega fast power
Add an interface for GPC used by drivers to keep mega fast mix domain
power.
Signed-off-by: Li Jun <jun.li@freescale.com>
(cherry picked from commit f40b0d57803b26a889d12cb70f128801ef75055a)
Diffstat (limited to 'include/linux/imx_gpc.h')
-rw-r--r-- | include/linux/imx_gpc.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/include/linux/imx_gpc.h b/include/linux/imx_gpc.h new file mode 100644 index 000000000000..2cffa4be22aa --- /dev/null +++ b/include/linux/imx_gpc.h @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2015 Freescale Semiconductor, Inc. + */ + +/* + * The code contained herein is licensed under the GNU Lesser General + * Public License. You may obtain a copy of the GNU Lesser General + * Public License Version 2.1 or later at the following locations: + * + * http://www.opensource.org/licenses/lgpl-license.html + * http://www.gnu.org/copyleft/lgpl.html + */ + +/* + * @file linux/imx_gpc.h + * + * @brief Global header file for imx GPC + * + * @ingroup GPC + */ +#ifndef __LINUX_IMX_GPC_H__ +#define __LINUX_IMX_GPC_H__ + +int imx_gpc_mf_request_on(unsigned int irq, unsigned int on); +#endif /* __LINUX_IMX_GPC_H__ */ |