.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * Functions and registers to access AXP20X power management chip. |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2013, Carlo Caione <carlo@caione.org> |
---|
5 | | - * |
---|
6 | | - * This program is free software; you can redistribute it and/or modify |
---|
7 | | - * it under the terms of the GNU General Public License version 2 as |
---|
8 | | - * published by the Free Software Foundation. |
---|
9 | 6 | */ |
---|
10 | 7 | |
---|
11 | 8 | #ifndef __LINUX_MFD_AXP20X_H |
---|
.. | .. |
---|
35 | 32 | #define AXP152_ALDO_OP_MODE 0x13 |
---|
36 | 33 | #define AXP152_LDO0_CTRL 0x15 |
---|
37 | 34 | #define AXP152_DCDC2_V_OUT 0x23 |
---|
38 | | -#define AXP152_DCDC2_V_SCAL 0x25 |
---|
| 35 | +#define AXP152_DCDC2_V_RAMP 0x25 |
---|
39 | 36 | #define AXP152_DCDC1_V_OUT 0x26 |
---|
40 | 37 | #define AXP152_DCDC3_V_OUT 0x27 |
---|
41 | 38 | #define AXP152_ALDO12_V_OUT 0x28 |
---|
.. | .. |
---|
53 | 50 | #define AXP20X_USB_OTG_STATUS 0x02 |
---|
54 | 51 | #define AXP20X_PWR_OUT_CTRL 0x12 |
---|
55 | 52 | #define AXP20X_DCDC2_V_OUT 0x23 |
---|
56 | | -#define AXP20X_DCDC2_LDO3_V_SCAL 0x25 |
---|
| 53 | +#define AXP20X_DCDC2_LDO3_V_RAMP 0x25 |
---|
57 | 54 | #define AXP20X_DCDC3_V_OUT 0x27 |
---|
58 | 55 | #define AXP20X_LDO24_V_OUT 0x28 |
---|
59 | 56 | #define AXP20X_LDO3_V_OUT 0x29 |
---|
.. | .. |
---|
266 | 263 | #define AXP288_RT_BATT_V_H 0xa0 |
---|
267 | 264 | #define AXP288_RT_BATT_V_L 0xa1 |
---|
268 | 265 | |
---|
| 266 | +#define AXP813_ACIN_PATH_CTRL 0x3a |
---|
269 | 267 | #define AXP813_ADC_RATE 0x85 |
---|
270 | 268 | |
---|
271 | 269 | /* Fuel Gauge */ |
---|