SyterKit
0.4.0.x
SyterKit is a bare-metal framework
Loading...
Searching...
No Matches
include
drivers
pmu
reg
reg-axp2101.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0+ */
2
3
#ifndef __REG_AXP2101_H__
4
#define __REG_AXP2101_H__
5
6
/* AXP2101 */
7
#define AXP2101_CHIP_ID (0x47)
8
#define AXP2101_CHIP_ID_B (0x4a)
9
#define AXP2101_RUNTIME_ADDR (0x34)
10
11
/* define AXP21 REGISTER */
12
#define AXP2101_MODE_CHGSTATUS (0x01)
13
#define AXP2101_OTG_STATUS (0x02)
14
#define AXP2101_VERSION (0x03)
15
#define AXP2101_DATA_BUFFER0 (0x04)
16
#define AXP2101_DATA_BUFFER1 (0x05)
17
#define AXP2101_DATA_BUFFER2 (0x06)
18
#define AXP2101_DATA_BUFFER3 (0x07)
19
#define AXP2101_OUTPUT_CTL0 (0x80)
20
#define AXP2101_OUTPUT_CTL1 (0x81)
21
#define AXP2101_OUTPUT_CTL2 (0x90)
22
#define AXP2101_OUTPUT_CTL3 (0x91)
23
24
#define AXP2101_DC1OUT_VOL (0x82)
25
#define AXP2101_DC2OUT_VOL (0x83)
26
#define AXP2101_DC3OUT_VOL (0x84)
27
#define AXP2101_DC4OUT_VOL (0x85)
28
#define AXP2101_DC5OUT_VOL (0x86)
29
#define AXP2101_ALDO1OUT_VOL (0x92)
30
#define AXP2101_ALDO2OUT_VOL (0x93)
31
#define AXP2101_ALDO3OUT_VOL (0x94)
32
#define AXP2101_ALDO4OUT_VOL (0x95)
33
#define AXP2101_BLDO1OUT_VOL (0x96)
34
#define AXP2101_BLDO2OUT_VOL (0x97)
35
#define AXP2101_CPUSLDO_VOL (0x98)
36
#define AXP2101_DLDO1OUT_VOL (0x99)
37
#define AXP2101_DLDO2OUT_VOL (0x9A)
38
39
#define AXP2101_PWRON_STATUS (0x20)
40
#define AXP2101_PWEON_PWEOFF_EN (0x22)
41
#define AXP2101_DCDC_PWEOFF_EN (0x23)
42
#define AXP2101_VSYS_MIN (0x14)
43
#define AXP2101_VBUS_VOL_SET (0x15)
44
#define AXP2101_VBUS_CUR_SET (0x16)
45
#define AXP2101_OFF_CTL (0x10)
46
#define AXP2101_CHARGE1 (0x62)
47
#define AXP2101_CHGLED_SET (0x69)
48
49
#define AXP2101_INTEN0 (0x40)
50
#define AXP2101_INTEN1 (0x41)
51
#define AXP2101_INTEN2 (0x42)
52
53
#define AXP2101_INTSTS0 (0x48)
54
#define AXP2101_INTSTS1 (0x49)
55
#define AXP2101_INTSTS2 (0x4a)
56
57
#define AXP2101_BAT_AVERVOL_H6 (0x34)
58
#define AXP2101_BAT_AVERVOL_L8 (0x35)
59
60
#define AXP2101_TWI_ADDR_EXT (0xFF)
61
#define AXP2101_EFUS_OP_CFG (0xF0)
62
#define AXP2101_EFREQ_CTRL (0xF1)
63
#define AXP2101_SELLP_CFG (0x26)
64
65
#endif
// __REG_AXP2101_H__
Generated by
1.9.8