blob: 10f222d561dc157854a5b16e82d895fd9b98db39 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
/*
* Copyright (C) 2015 Samsung Electronics, Inc.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* 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 __TZPM_H__
#define __TZPM_H__
#define QSEE_CE_CLK_100MHZ 100000000
#define QSEE_CLK_ON 0x1
#define QSEE_CLK_OFF 0x0
/* Initialize secure crypto clocks */
int tzdev_qc_pm_clock_initialize(void);
/* Free secure crypto clocks */
void tzdev_qc_pm_clock_finalize(void);
/* Enable secure crypto clocks */
void tzdev_qc_pm_clock_enable(void);
/* Disable secure crypto clocks */
void tzdev_qc_pm_clock_disable(void);
/* Register tzdev as platform device */
int tzdev_platform_register(void);
/* Unregister tzdev platform device */
void tzdev_platform_unregister(void);
#endif /* __TZPM_H__ */
|