linux/include/dt-bindings/power/summit,smb347-charger.h

/* SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) */
/*
 * Author: David Heidelberg <[email protected]>
 */

#ifndef _DT_BINDINGS_SMB347_CHARGER_H
#define _DT_BINDINGS_SMB347_CHARGER_H

/* Charging compensation method */
#define SMB3XX_SOFT_TEMP_COMPENSATE_NONE
#define SMB3XX_SOFT_TEMP_COMPENSATE_CURRENT
#define SMB3XX_SOFT_TEMP_COMPENSATE_VOLTAGE

/* Charging enable control */
#define SMB3XX_CHG_ENABLE_SW
#define SMB3XX_CHG_ENABLE_PIN_ACTIVE_LOW
#define SMB3XX_CHG_ENABLE_PIN_ACTIVE_HIGH

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

#endif