linux/include/linux/power/max17042_battery.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * Fuel gauge driver for Maxim 17042 / 8966 / 8997
 *  Note that Maxim 8966 and 8997 are mfd and this is its subdevice.
 *
 * Copyright (C) 2011 Samsung Electronics
 * MyungJoo Ham <[email protected]>
 */

#ifndef __MAX17042_BATTERY_H_
#define __MAX17042_BATTERY_H_

#define MAX17042_STATUS_BattAbsent
#define MAX17042_BATTERY_FULL
#define MAX17042_DEFAULT_SNS_RESISTOR
#define MAX17042_DEFAULT_VMIN
#define MAX17042_DEFAULT_VMAX
#define MAX17042_DEFAULT_TEMP_MIN
#define MAX17042_DEFAULT_TEMP_MAX

/* Consider RepCap which is less then 10 units below FullCAP full */
#define MAX17042_FULL_THRESHOLD

#define MAX17042_CHARACTERIZATION_DATA_SIZE

enum max17042_register {};

/* Registers specific to max17055 only */
enum max17055_register {};

/* Registers specific to max17047/50/55 */
enum max17047_register {};

enum max170xx_chip_type {};

/*
 * used for setting a register to a desired value
 * addr : address for a register
 * data : setting value for the register
 */
struct max17042_reg_data {};

struct max17042_config_data {} __packed;

struct max17042_platform_data {};

#endif /* __MAX17042_BATTERY_H_ */