commit d1edce71135cc6d98c0a4b5729774542b676e769 Author: sophgo-forum-service <forum_service@sophgo.com> Date: Fri Mar 15 16:07:33 2024 +0800 [fix] recommend using ssh method to clone repo. [fix] fix sensor driver repo branch name.
20 lines
515 B
C
20 lines
515 B
C
/* SPDX-License-Identifier: (GPL-2.0-or-later or MIT) */
|
|
/*
|
|
* Author: David Heidelberg <david@ixit.cz>
|
|
*/
|
|
|
|
#ifndef _DT_BINDINGS_SMB347_CHARGER_H
|
|
#define _DT_BINDINGS_SMB347_CHARGER_H
|
|
|
|
/* Charging compensation method */
|
|
#define SMB3XX_SOFT_TEMP_COMPENSATE_NONE 0
|
|
#define SMB3XX_SOFT_TEMP_COMPENSATE_CURRENT 1
|
|
#define SMB3XX_SOFT_TEMP_COMPENSATE_VOLTAGE 2
|
|
|
|
/* Charging enable control */
|
|
#define SMB3XX_CHG_ENABLE_SW 0
|
|
#define SMB3XX_CHG_ENABLE_PIN_ACTIVE_LOW 1
|
|
#define SMB3XX_CHG_ENABLE_PIN_ACTIVE_HIGH 2
|
|
|
|
#endif
|