2 * da9053 register declarations.
4 * Copyright(c) 2009 Dialog Semiconductor Ltd.
6 * SPDX-License-Identifier: GPL-2.0+
9 #ifndef __DIALOG_PMIC_H__
10 #define __DIALOG_PMIC_H__
13 DA9053_PAGECON0_REG = 0,
104 DA9053_TBATHIGHP_REG,
105 DA9053_TBATHIGHIN_REG,
108 DA9053_ADCIN4RES_REG,
109 DA9053_AUTO4HIGH_REG,
111 DA9053_ADCIN5RES_REG,
112 DA9053_AUTO5HIGH_REG,
114 DA9053_ADCIN6RES_REG,
115 DA9053_AUTO6HIGH_REG,
139 DA9053_PAGECON128_REG,
157 #define DA_BUCKCORE_VBCORE_1_250V 0x1E
159 /* BUCKCORE REGISTER */
160 #define DA9052_BUCKCORE_BCORECONF (1 << 7)
161 #define DA9052_BUCKCORE_BCOREEN (1 << 6)
162 #define DA9052_BUCKCORE_VBCORE 63
164 /* SUPPLY REGISTER */
165 #define DA9052_SUPPLY_VLOCK (1 << 7)
166 #define DA9052_SUPPLY_VMEMSWEN (1 << 6)
167 #define DA9052_SUPPLY_VPERISWEN (1 << 5)
168 #define DA9052_SUPPLY_VLDO3GO (1 << 4)
169 #define DA9052_SUPPLY_VLDO2GO (1 << 3)
170 #define DA9052_SUPPLY_VBMEMGO (1 << 2)
171 #define DA9052_SUPPLY_VBPROGO (1 << 1)
172 #define DA9052_SUPPLY_VBCOREGO (1 << 0)
174 #endif /* __DIALOG_PMIC_H__ */