HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux ip-10-0-8-47 6.8.0-1021-aws #23~22.04.1-Ubuntu SMP Tue Dec 10 16:31:58 UTC 2024 aarch64
User: ubuntu (1000)
PHP: 8.1.2-1ubuntu2.22
Disabled: NONE
Upload Files
File: //lib/modules/6.8.0-1040-aws/build/include/dt-bindings/power/summit,smb347-charger.h
/* 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

/* Polarity of INOK signal */
#define SMB3XX_SYSOK_INOK_ACTIVE_LOW		0
#define SMB3XX_SYSOK_INOK_ACTIVE_HIGH		1

#endif