1 /* SPDX-License-Identifier: (GPL-2.0-or-later or MIT) */
2 /*
3  * Author: David Heidelberg <david@ixit.cz>
4  */
5 
6 #ifndef _DT_BINDINGS_SMB347_CHARGER_H
7 #define _DT_BINDINGS_SMB347_CHARGER_H
8 
9 /* Charging compensation method */
10 #define SMB3XX_SOFT_TEMP_COMPENSATE_NONE	0
11 #define SMB3XX_SOFT_TEMP_COMPENSATE_CURRENT	1
12 #define SMB3XX_SOFT_TEMP_COMPENSATE_VOLTAGE	2
13 
14 /* Charging enable control */
15 #define SMB3XX_CHG_ENABLE_SW			0
16 #define SMB3XX_CHG_ENABLE_PIN_ACTIVE_LOW	1
17 #define SMB3XX_CHG_ENABLE_PIN_ACTIVE_HIGH	2
18 
19 #endif
20