1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * da9053 register declarations.
5 * Copyright(c) 2009 Dialog Semiconductor Ltd.
8 #ifndef __DIALOG_PMIC_H__
9 #define __DIALOG_PMIC_H__
12 DA9053_PAGECON0_REG = 0,
103 DA9053_TBATHIGHP_REG,
104 DA9053_TBATHIGHIN_REG,
107 DA9053_ADCIN4RES_REG,
108 DA9053_AUTO4HIGH_REG,
110 DA9053_ADCIN5RES_REG,
111 DA9053_AUTO5HIGH_REG,
113 DA9053_ADCIN6RES_REG,
114 DA9053_AUTO6HIGH_REG,
138 DA9053_PAGECON128_REG,
156 #define DA_BUCKCORE_VBCORE_1_250V 0x1E
158 /* BUCKCORE REGISTER */
159 #define DA9052_BUCKCORE_BCORECONF (1 << 7)
160 #define DA9052_BUCKCORE_BCOREEN (1 << 6)
161 #define DA9052_BUCKCORE_VBCORE 63
163 /* SUPPLY REGISTER */
164 #define DA9052_SUPPLY_VLOCK (1 << 7)
165 #define DA9052_SUPPLY_VMEMSWEN (1 << 6)
166 #define DA9052_SUPPLY_VPERISWEN (1 << 5)
167 #define DA9052_SUPPLY_VLDO3GO (1 << 4)
168 #define DA9052_SUPPLY_VLDO2GO (1 << 3)
169 #define DA9052_SUPPLY_VBMEMGO (1 << 2)
170 #define DA9052_SUPPLY_VBPROGO (1 << 1)
171 #define DA9052_SUPPLY_VBCOREGO (1 << 0)
173 #endif /* __DIALOG_PMIC_H__ */