1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Gas Gauge driver for SBS Compliant Gas Gauges
5 * Copyright (c) 2010, NVIDIA Corporation.
8 #ifndef __LINUX_POWER_SBS_BATTERY_H_
9 #define __LINUX_POWER_SBS_BATTERY_H_
11 #include <linux/power_supply.h>
12 #include <linux/types.h>
15 * struct sbs_platform_data - platform data for sbs devices
16 * @i2c_retry_count: # of times to retry on i2c IO failure
17 * @poll_retry_count: # of times to retry looking for new status after
18 * external change notification
20 struct sbs_platform_data
{