1 /* SPDX-License-Identifier: (GPL-2.0-or-later 1 /* SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) */ 2 /* 2 /* 3 * Author: David Heidelberg <david@ixit.cz> 3 * Author: David Heidelberg <david@ixit.cz> 4 */ 4 */ 5 5 6 #ifndef _DT_BINDINGS_SMB347_CHARGER_H 6 #ifndef _DT_BINDINGS_SMB347_CHARGER_H 7 #define _DT_BINDINGS_SMB347_CHARGER_H 7 #define _DT_BINDINGS_SMB347_CHARGER_H 8 8 9 /* Charging compensation method */ 9 /* Charging compensation method */ 10 #define SMB3XX_SOFT_TEMP_COMPENSATE_NONE 10 #define SMB3XX_SOFT_TEMP_COMPENSATE_NONE 0 11 #define SMB3XX_SOFT_TEMP_COMPENSATE_CURRENT 11 #define SMB3XX_SOFT_TEMP_COMPENSATE_CURRENT 1 12 #define SMB3XX_SOFT_TEMP_COMPENSATE_VOLTAGE 12 #define SMB3XX_SOFT_TEMP_COMPENSATE_VOLTAGE 2 13 13 14 /* Charging enable control */ 14 /* Charging enable control */ 15 #define SMB3XX_CHG_ENABLE_SW 15 #define SMB3XX_CHG_ENABLE_SW 0 16 #define SMB3XX_CHG_ENABLE_PIN_ACTIVE_LOW 16 #define SMB3XX_CHG_ENABLE_PIN_ACTIVE_LOW 1 17 #define SMB3XX_CHG_ENABLE_PIN_ACTIVE_HIGH 17 #define SMB3XX_CHG_ENABLE_PIN_ACTIVE_HIGH 2 18 18 19 /* Polarity of INOK signal */ 19 /* Polarity of INOK signal */ 20 #define SMB3XX_SYSOK_INOK_ACTIVE_LOW 20 #define SMB3XX_SYSOK_INOK_ACTIVE_LOW 0 21 #define SMB3XX_SYSOK_INOK_ACTIVE_HIGH 21 #define SMB3XX_SYSOK_INOK_ACTIVE_HIGH 1 22 22 23 #endif 23 #endif 24 24
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.