1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* 3 * Gas Gauge driver for SBS Compliant Gas Gauges 4 * 5 * Copyright (c) 2010, NVIDIA Corporation. 6 */ 7 8 #ifndef __LINUX_POWER_SBS_BATTERY_H_ 9 #define __LINUX_POWER_SBS_BATTERY_H_ 10 11 #include <linux/power_supply.h> 12 #include <linux/types.h> 13 14 /** 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 19 */ 20 struct sbs_platform_data { 21 u32 i2c_retry_count; 22 u32 poll_retry_count; 23 }; 24 25 #endif