30 lines
939 B
C
30 lines
939 B
C
/* Copyright (c) 2016-2017, The Linux Foundation. All rights reserved.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 and
|
|
* only version 2 as published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*/
|
|
|
|
#ifndef __LINUX_CLK_QCOM_H_
|
|
#define __LINUX_CLK_QCOM_H_
|
|
|
|
#if defined(CONFIG_COMMON_CLK_QCOM)
|
|
enum branch_mem_flags {
|
|
CLKFLAG_RETAIN_PERIPH,
|
|
CLKFLAG_NORETAIN_PERIPH,
|
|
CLKFLAG_RETAIN_MEM,
|
|
CLKFLAG_NORETAIN_MEM,
|
|
CLKFLAG_PERIPH_OFF_SET,
|
|
CLKFLAG_PERIPH_OFF_CLEAR,
|
|
};
|
|
#elif defined(CONFIG_COMMON_CLK_MSM)
|
|
#include <linux/clk/msm-clk.h>
|
|
#endif /* CONFIG_COMMON_CLK_QCOM */
|
|
|
|
#endif /* __LINUX_CLK_QCOM_H_ */
|