watchdog: Drop GD_FLG_WDT_READY as it's not used any more
[platform/kernel/u-boot.git] / include / k3-avs.h
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * Texas Instruments' K3 Adaptive Voltage Scaling driver
4  *
5  * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com/
6  *      Tero Kristo <t-kristo@ti.com>
7  *
8  */
9
10 #ifndef _K3_AVS0_
11 #define _K3_AVS0_
12
13 #define AM6_VDD_WKUP            0
14 #define AM6_VDD_MCU             1
15 #define AM6_VDD_CORE            2
16 #define AM6_VDD_MPU0            3
17 #define AM6_VDD_MPU1            4
18
19 #define J721E_VDD_MPU           2
20
21 #define NUM_OPPS                4
22
23 #define AM6_OPP_NOM             1
24 #define AM6_OPP_OD              2
25 #define AM6_OPP_TURBO           3
26
27 int k3_avs_set_opp(struct udevice *dev, int vdd_id, int opp_id);
28 int k3_avs_notify_freq(int dev_id, int clk_id, u32 freq);
29
30 #endif