hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/include/linux/mfd/axp20x.h
....@@ -1,11 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Functions and registers to access AXP20X power management chip.
34 *
45 * 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.
96 */
107
118 #ifndef __LINUX_MFD_AXP20X_H
....@@ -35,7 +32,7 @@
3532 #define AXP152_ALDO_OP_MODE 0x13
3633 #define AXP152_LDO0_CTRL 0x15
3734 #define AXP152_DCDC2_V_OUT 0x23
38
-#define AXP152_DCDC2_V_SCAL 0x25
35
+#define AXP152_DCDC2_V_RAMP 0x25
3936 #define AXP152_DCDC1_V_OUT 0x26
4037 #define AXP152_DCDC3_V_OUT 0x27
4138 #define AXP152_ALDO12_V_OUT 0x28
....@@ -53,7 +50,7 @@
5350 #define AXP20X_USB_OTG_STATUS 0x02
5451 #define AXP20X_PWR_OUT_CTRL 0x12
5552 #define AXP20X_DCDC2_V_OUT 0x23
56
-#define AXP20X_DCDC2_LDO3_V_SCAL 0x25
53
+#define AXP20X_DCDC2_LDO3_V_RAMP 0x25
5754 #define AXP20X_DCDC3_V_OUT 0x27
5855 #define AXP20X_LDO24_V_OUT 0x28
5956 #define AXP20X_LDO3_V_OUT 0x29
....@@ -266,6 +263,7 @@
266263 #define AXP288_RT_BATT_V_H 0xa0
267264 #define AXP288_RT_BATT_V_L 0xa1
268265
266
+#define AXP813_ACIN_PATH_CTRL 0x3a
269267 #define AXP813_ADC_RATE 0x85
270268
271269 /* Fuel Gauge */