SyterKit 0.4.0.x
SyterKit is a bare-metal framework
Loading...
Searching...
No Matches
reg-axp1530.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: GPL-2.0+ */
2
3#ifndef __REG_AXP1530_H__
4#define __REG_AXP1530_H__
5
6/* AXP1530 AXP313A AXP313B AXP323 */
7#define AXP1530_CHIP_ID (0x48)
8#define AXP313A_CHIP_ID (0x4B)
9#define AXP313B_CHIP_ID (0x4C)
10#define AXP323_CHIP_ID (0x49)
11
12#define AXP1530_DEVICE_ADDR (0x61A80)
13#define AXP1530_RUNTIME_ADDR (0x36)
14
15#define AXP1530_POWER_ON_SOURCE_INDIVATION (0x00)
16#define AXP1530_POWER_OFF_SOURCE_INDIVATION (0x01)
17#define AXP1530_VERSION (0x03)
18#define AXP1530_OUTPUT_POWER_ON_OFF_CTL (0x10)
19#define AXP1530_DCDC_DVM_PWM_CTL (0x12)
20#define AXP1530_DC1OUT_VOL (0x13)
21#define AXP1530_DC2OUT_VOL (0x14)
22#define AXP1530_DC3OUT_VOL (0x15)
23#define AXP1530_ALDO1OUT_VOL (0x16)
24#define AXP1530_DLDO1OUT_VOL (0x17)
25#define AXP1530_POWER_DOMN_SEQUENCE (0x1A)
26#define AXP1530_PWROK_VOFF_SERT (0x1B)
27#define AXP1530_POWER_WAKEUP_CTL (0x1C)
28#define AXP1530_OUTPUT_MONITOR_CONTROL (0x1D)
29#define AXP1530_POK_SET (0x1E)
30#define AXP1530_IRQ_ENABLE (0x20)
31#define AXP1530_IRQ_STATUS (0x21)
32#define AXP1530_DCDC_MODE_CTRL2 (0x22)
33#define AXP1530_WRITE_LOCK (0x70)
34#define AXP1530_ERROR_MANAGEMENT (0x71)
35#define AXP1530_DCDC1_2_POWER_ON_DEFAULT_SET (0x80)
36#define AXP1530_DCDC3_ALDO1_POWER_ON_DEFAULT_SET (0x81)
37
38#endif// __REG_AXP1530_H__