| * Copyright (C) 2013 Samsung Electronics |
| * Piotr Wilczek <p.wilczek@samsung.com> |
| * SPDX-License-Identifier: GPL-2.0+ |
| /* MAX 77693 registers */ |
| MAX77693_AVG_CURRENT = 0x0B, |
| MAX77693_DESIGN_CAP = 0x18, |
| MAX77693_AVG_VCELL = 0x19, |
| MAX77693_LEARNCFG = 0x28, |
| MAX77693_FILTERCFG = 0x29, |
| MAX77693_RELAXCFG = 0x2A, |
| #define MAX77693_POR (1 << 1) |
| #define MODEL_UNLOCK1 0x0059 |
| #define MODEL_UNLOCK2 0x00c4 |
| #define MODEL_LOCK1 0x0000 |
| #define MODEL_LOCK2 0x0000 |
| #define MAX77693_FUEL_I2C_ADDR (0x6C >> 1) |
| int power_fg_init(unsigned char bus); |
| #endif /* __MAX77693_FG_H_ */ |