SyterKit
0.4.0.x
SyterKit is a bare-metal framework
Loading...
Searching...
No Matches
include
drivers
pmu
reg
reg-axp2202.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0+ */
2
3
#ifndef __REG_AXP2202_H__
4
#define __REG_AXP2202_H__
5
6
/* AXP2202 AXP707A AXP717 AXP717B AXP717C */
7
#define AXP2202_B_RUNTIME_ADDR (0x34)
8
#define AXP2202_C_RUNTIME_ADDR (0x35)
9
10
/* define AXP22 REGISTER */
11
#define AXP2202_MODE_CHGSTATUS (0x01)
12
#define AXP2202_CHIP_ID (0x03)
13
#define AXP2202_CHIP_VER (0x04)
14
#define AXP2202_CHIP_ID_EXT (0x0e)
15
#define AXP2202_CHIP_VER_EXT (0x0f)
16
17
#define AXP2202_OUTPUT_CTL0 (0x80)
18
#define AXP2202_OUTPUT_CTL1 (0x81)
19
#define AXP2202_OUTPUT_CTL2 (0x90)
20
#define AXP2202_OUTPUT_CTL3 (0x91)
21
22
#define AXP2202_DC1OUT_VOL (0x83)
23
#define AXP2202_DC2OUT_VOL (0x84)
24
#define AXP2202_DC3OUT_VOL (0x85)
25
#define AXP2202_DC4OUT_VOL (0x86)
26
27
#define AXP2202_ALDO1OUT_VOL (0x93)
28
#define AXP2202_ALDO2OUT_VOL (0x94)
29
#define AXP2202_ALDO3OUT_VOL (0x95)
30
#define AXP2202_ALDO4OUT_VOL (0x96)
31
32
#define AXP2202_BLDO1OUT_VOL (0x97)
33
#define AXP2202_BLDO2OUT_VOL (0x98)
34
#define AXP2202_BLDO3OUT_VOL (0x99)
35
#define AXP2202_BLDO4OUT_VOL (0x9A)
36
37
#define AXP2202_CLDO1OUT_VOL (0x9B)
38
#define AXP2202_CLDO2OUT_VOL (0x9C)
39
#define AXP2202_CLDO3OUT_VOL (0x9D)
40
#define AXP2202_CLDO4OUT_VOL (0x9E)
41
42
#define AXP2202_CPUSLDO_VOL (0x9F)
43
44
#define AXP2202_PWRON_STATUS (0x20)
45
#define AXP2202_PWEON_PWEOFF_EN (0x22)
46
#define AXP2202_DCDC_PWEOFF_EN (0x23)
47
#define AXP2202_VSYS_MIN (0x15)
48
#define AXP2202_VBUS_VOL_SET (0x16)
49
#define AXP2202_VBUS_CUR_SET (0x17)
50
#define AXP2202_SELLP_CFG (0x25)
51
#define AXP2202_OFF_CTL (0x27)
52
#define AXP2202_CHARGE1 (0x62)
53
#define AXP2202_CHGLED_SET (0x70)
54
55
#define AXP2202_INTEN0 (0x40)
56
#define AXP2202_INTEN1 (0x41)
57
#define AXP2202_INTEN2 (0x42)
58
#define AXP2202_INTEN3 (0x43)
59
#define AXP2202_INTEN4 (0x44)
60
61
#define AXP2202_INTSTS0 (0x48)
62
#define AXP2202_INTSTS1 (0x49)
63
#define AXP2202_INTSTS2 (0x4a)
64
#define AXP2202_INTSTS3 (0x4b)
65
#define AXP2202_INTSTS4 (0x4c)
66
67
#define AXP2202_ADC_CH0 (0xC0)
68
#define AXP2202_BAT_AVERVOL_H6 (0xC4)
69
#define AXP2202_BAT_AVERVOL_L8 (0xC5)
70
71
#define AXP2202_TWI_ADDR_EXT (0xFF)
72
#define AXP2202_EFUS_OP_CFG (0xF0)
73
#define AXP2202_EFREQ_CTRL (0xF1)
74
75
#define AXP2202_MODULE_EN (0x19)
76
77
#endif
// __REG_AXP2202_H__
Generated by
1.9.8