1 /*
2  * Copyright (C) 2019 Marvell International Ltd.
3  *
4  * SPDX-License-Identifier:     BSD-3-Clause
5  * https://spdx.org/licenses
6  */
7 
8 /* DFX sub-FID */
9 #define MV_SIP_DFX_THERMAL_INIT		1
10 #define MV_SIP_DFX_THERMAL_READ		2
11 #define MV_SIP_DFX_THERMAL_IS_VALID	3
12 #define MV_SIP_DFX_THERMAL_IRQ		4
13 #define MV_SIP_DFX_THERMAL_THRESH	5
14 #define MV_SIP_DFX_THERMAL_SEL_CHANNEL	6
15 
16 #define MV_SIP_DFX_SREAD		20
17 #define MV_SIP_DFX_SWRITE		21
18 
19 int mvebu_dfx_thermal_handle(u_register_t func, u_register_t *read,
20 			     u_register_t x2, u_register_t x3);
21 int mvebu_dfx_misc_handle(u_register_t func, u_register_t *read,
22 			  u_register_t addr, u_register_t val);
23