blob: ccfe79783cb1af76fd70437c5891c73d6a68f164 [file] [log] [blame]
David Brazdil0f672f62019-12-10 10:32:29 +00001/* SPDX-License-Identifier: GPL-2.0-or-later */
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00002/*
3 * Gas Gauge driver for SBS Compliant Gas Gauges
4 *
5 * Copyright (c) 2010, NVIDIA Corporation.
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00006 */
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 */
20struct sbs_platform_data {
21 u32 i2c_retry_count;
22 u32 poll_retry_count;
23};
24
25#endif