Searched hist:"4 f7f8e87c49e029a52318dd76d561860119d0372" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/power/supply/ |
H A D | max17040_battery.c | diff 4f7f8e87c49e029a52318dd76d561860119d0372 Tue Sep 22 06:42:34 CDT 2020 Iskren Chernev <iskren.chernev@gmail.com> power: supply: max17040: Support compatible devices
The max17040 fuel gauge is part of a family of 8 chips that have very similar mode of operations and registers.
This change adds: - compatible strings for all supported devices and handling for the minor differences between them; - handling for devices reporting double capacity via maxim,double-soc;
The datasheets of the supported devices are linked [0] [1] [2] [3].
[0] https://datasheets.maximintegrated.com/en/ds/MAX17040-MAX17041.pdf [1] https://datasheets.maximintegrated.com/en/ds/MAX17043-MAX17044.pdf [2] https://datasheets.maximintegrated.com/en/ds/MAX17048-MAX17049.pdf [3] https://datasheets.maximintegrated.com/en/ds/MAX17058-MAX17059.pdf
Signed-off-by: Iskren Chernev <iskren.chernev@gmail.com> Tested-by: Jonathan Bakker <xc-racer2@live.ca> Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
|
H A D | Kconfig | diff 4f7f8e87c49e029a52318dd76d561860119d0372 Tue Sep 22 06:42:34 CDT 2020 Iskren Chernev <iskren.chernev@gmail.com> power: supply: max17040: Support compatible devices
The max17040 fuel gauge is part of a family of 8 chips that have very similar mode of operations and registers.
This change adds: - compatible strings for all supported devices and handling for the minor differences between them; - handling for devices reporting double capacity via maxim,double-soc;
The datasheets of the supported devices are linked [0] [1] [2] [3].
[0] https://datasheets.maximintegrated.com/en/ds/MAX17040-MAX17041.pdf [1] https://datasheets.maximintegrated.com/en/ds/MAX17043-MAX17044.pdf [2] https://datasheets.maximintegrated.com/en/ds/MAX17048-MAX17049.pdf [3] https://datasheets.maximintegrated.com/en/ds/MAX17058-MAX17059.pdf
Signed-off-by: Iskren Chernev <iskren.chernev@gmail.com> Tested-by: Jonathan Bakker <xc-racer2@live.ca> Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
|