summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_processpptables.h
blob: 65652ae6592915c71d7e8e7ea1802b52f95f622f (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/*
 * Copyright 2017 Advanced Micro Devices, Inc.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a
 * copy of this software and associated documentation files (the "Software"),
 * to deal in the Software without restriction, including without limitation
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
 * and/or sell copies of the Software, and to permit persons to whom the
 * Software is furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
 * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 * OTHER DEALINGS IN THE SOFTWARE.
 *
 */

#ifndef VEGA12_PROCESSPPTABLES_H
#define VEGA12_PROCESSPPTABLES_H

#include "hwmgr.h"

enum Vega12_I2CLineID {
	Vega12_I2CLineID_DDC1 = 0x90,
	Vega12_I2CLineID_DDC2 = 0x91,
	Vega12_I2CLineID_DDC3 = 0x92,
	Vega12_I2CLineID_DDC4 = 0x93,
	Vega12_I2CLineID_DDC5 = 0x94,
	Vega12_I2CLineID_DDC6 = 0x95,
	Vega12_I2CLineID_SCLSDA = 0x96,
	Vega12_I2CLineID_DDCVGA = 0x97
};

#define Vega12_I2C_DDC1DATA          0
#define Vega12_I2C_DDC1CLK           1
#define Vega12_I2C_DDC2DATA          2
#define Vega12_I2C_DDC2CLK           3
#define Vega12_I2C_DDC3DATA          4
#define Vega12_I2C_DDC3CLK           5
#define Vega12_I2C_SDA               40
#define Vega12_I2C_SCL               41
#define Vega12_I2C_DDC4DATA          65
#define Vega12_I2C_DDC4CLK           66
#define Vega12_I2C_DDC5DATA          0x48
#define Vega12_I2C_DDC5CLK           0x49
#define Vega12_I2C_DDC6DATA          0x4a
#define Vega12_I2C_DDC6CLK           0x4b
#define Vega12_I2C_DDCVGADATA        0x4c
#define Vega12_I2C_DDCVGACLK         0x4d

extern const struct pp_table_func vega12_pptable_funcs;
#endif