Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: (GPL-2.0-or-later or MIT) */
0002 /*
0003  * Author: David Heidelberg <david@ixit.cz>
0004  */
0005 
0006 #ifndef _DT_BINDINGS_SMB347_CHARGER_H
0007 #define _DT_BINDINGS_SMB347_CHARGER_H
0008 
0009 /* Charging compensation method */
0010 #define SMB3XX_SOFT_TEMP_COMPENSATE_NONE    0
0011 #define SMB3XX_SOFT_TEMP_COMPENSATE_CURRENT 1
0012 #define SMB3XX_SOFT_TEMP_COMPENSATE_VOLTAGE 2
0013 
0014 /* Charging enable control */
0015 #define SMB3XX_CHG_ENABLE_SW            0
0016 #define SMB3XX_CHG_ENABLE_PIN_ACTIVE_LOW    1
0017 #define SMB3XX_CHG_ENABLE_PIN_ACTIVE_HIGH   2
0018 
0019 /* Polarity of INOK signal */
0020 #define SMB3XX_SYSOK_INOK_ACTIVE_LOW        0
0021 #define SMB3XX_SYSOK_INOK_ACTIVE_HIGH       1
0022 
0023 #endif