coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
mt6311.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#ifndef __SOC_MEDIATEK_MT8173_MT6311_H__
4
#define __SOC_MEDIATEK_MT8173_MT6311_H__
5
6
#include <
stdint.h
>
7
8
void
mt6311_probe
(
uint8_t
i2c_num);
9
10
enum
{
11
MT6311_CID
= 0x0,
12
MT6311_SWCID
= 0x1,
13
MT6311_GPIO_MODE
= 0x04,
14
MT6311_TOP_CON
= 0x0A,
15
MT6311_TOP_RST_CON
= 0x15,
16
MT6311_TOP_INT_CON
= 0x18,
17
MT6311_STRUP_CON5
= 0x1F,
18
MT6311_EFUSE_DOUT_56_63
= 0x40,
19
MT6311_EFUSE_DOUT_64_71
= 0x41,
20
MT6311_BUCK_ALL_CON23
= 0x69,
21
MT6311_STRUP_ANA_CON1
= 0x6D,
22
MT6311_STRUP_ANA_CON2
= 0x6E,
23
MT6311_VDVFS1_ANA_CON10
= 0x84,
24
MT6311_VDVFS11_CON7
= 0x88,
25
MT6311_VDVFS11_CON9
= 0x8A,
26
MT6311_VDVFS11_CON10
= 0x8B,
27
MT6311_VDVFS11_CON11
= 0x8C,
28
MT6311_VDVFS11_CON12
= 0x8D,
29
MT6311_VDVFS11_CON13
= 0x8E,
30
MT6311_VDVFS11_CON14
= 0x8F,
31
MT6311_VDVFS11_CON19
= 0x94,
32
MT6311_LDO_CON3
= 0xCF,
33
};
34
35
enum
{
36
MT6311_E1_CID_CODE
= 0x0110,
37
MT6311_E2_CID_CODE
= 0x0120,
38
MT6311_E3_CID_CODE
= 0x0130,
39
};
40
41
#endif
MT6311_E3_CID_CODE
@ MT6311_E3_CID_CODE
Definition:
mt6311.h:38
MT6311_E2_CID_CODE
@ MT6311_E2_CID_CODE
Definition:
mt6311.h:37
MT6311_E1_CID_CODE
@ MT6311_E1_CID_CODE
Definition:
mt6311.h:36
mt6311_probe
void mt6311_probe(uint8_t i2c_num)
Definition:
mt6311.c:103
MT6311_VDVFS1_ANA_CON10
@ MT6311_VDVFS1_ANA_CON10
Definition:
mt6311.h:23
MT6311_CID
@ MT6311_CID
Definition:
mt6311.h:11
MT6311_EFUSE_DOUT_64_71
@ MT6311_EFUSE_DOUT_64_71
Definition:
mt6311.h:19
MT6311_TOP_RST_CON
@ MT6311_TOP_RST_CON
Definition:
mt6311.h:15
MT6311_STRUP_ANA_CON1
@ MT6311_STRUP_ANA_CON1
Definition:
mt6311.h:21
MT6311_TOP_INT_CON
@ MT6311_TOP_INT_CON
Definition:
mt6311.h:16
MT6311_VDVFS11_CON12
@ MT6311_VDVFS11_CON12
Definition:
mt6311.h:28
MT6311_VDVFS11_CON9
@ MT6311_VDVFS11_CON9
Definition:
mt6311.h:25
MT6311_TOP_CON
@ MT6311_TOP_CON
Definition:
mt6311.h:14
MT6311_STRUP_ANA_CON2
@ MT6311_STRUP_ANA_CON2
Definition:
mt6311.h:22
MT6311_VDVFS11_CON10
@ MT6311_VDVFS11_CON10
Definition:
mt6311.h:26
MT6311_LDO_CON3
@ MT6311_LDO_CON3
Definition:
mt6311.h:32
MT6311_VDVFS11_CON13
@ MT6311_VDVFS11_CON13
Definition:
mt6311.h:29
MT6311_EFUSE_DOUT_56_63
@ MT6311_EFUSE_DOUT_56_63
Definition:
mt6311.h:18
MT6311_GPIO_MODE
@ MT6311_GPIO_MODE
Definition:
mt6311.h:13
MT6311_BUCK_ALL_CON23
@ MT6311_BUCK_ALL_CON23
Definition:
mt6311.h:20
MT6311_VDVFS11_CON7
@ MT6311_VDVFS11_CON7
Definition:
mt6311.h:24
MT6311_STRUP_CON5
@ MT6311_STRUP_CON5
Definition:
mt6311.h:17
MT6311_VDVFS11_CON19
@ MT6311_VDVFS11_CON19
Definition:
mt6311.h:31
MT6311_SWCID
@ MT6311_SWCID
Definition:
mt6311.h:12
MT6311_VDVFS11_CON14
@ MT6311_VDVFS11_CON14
Definition:
mt6311.h:30
MT6311_VDVFS11_CON11
@ MT6311_VDVFS11_CON11
Definition:
mt6311.h:27
stdint.h
uint8_t
unsigned char uint8_t
Definition:
stdint.h:8
src
soc
mediatek
mt8173
include
soc
mt6311.h
Generated by
1.9.1