GNU Linux-libre 6.0.15-gnu
[releases.git] / include / linux / platform_data / ti-prm.h
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * TI PRM (Power & Reset Manager) platform data
4  *
5  * Copyright (C) 2019 Texas Instruments, Inc.
6  *
7  * Tero Kristo <t-kristo@ti.com>
8  */
9
10 #ifndef _LINUX_PLATFORM_DATA_TI_PRM_H
11 #define _LINUX_PLATFORM_DATA_TI_PRM_H
12
13 struct clockdomain;
14
15 struct ti_prm_platform_data {
16         void (*clkdm_deny_idle)(struct clockdomain *clkdm);
17         void (*clkdm_allow_idle)(struct clockdomain *clkdm);
18         struct clockdomain * (*clkdm_lookup)(const char *name);
19 };
20
21 #endif /* _LINUX_PLATFORM_DATA_TI_PRM_H */