]> Git Repo - J-u-boot.git/blame - include/k3-avs.h
.gitlab-ci.yml: add Qemu tests for MIPS Malta board
[J-u-boot.git] / include / k3-avs.h
CommitLineData
9d233b4e
TK
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 <[email protected]>
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
9a03e50c
K
19#define J721E_VDD_MPU 2
20
9d233b4e
TK
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
27int k3_avs_set_opp(struct udevice *dev, int vdd_id, int opp_id);
28int k3_avs_notify_freq(int dev_id, int clk_id, u32 freq);
29
30#endif
This page took 0.064209 seconds and 4 git commands to generate.