Commit graph

4 commits

Author SHA1 Message Date
Fin Maaß
0957115fc9 drivers: fuel_gauge: i2c: replace use of i2c_burst_write
i2c_burst_write is not portable,
as it is not supported by some drivers,
replace its use with i2c_write.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-07 17:30:32 +01:00
Josuah Demangeon
30950b888d style: drivers: sort Kconfig and CMake includes
Use the "zephyr-keep-sorted-start/stop" comment to have CI check
the alphabetical order of includes, to help reducing the chance
of conflicts while contributing drivers.

Signed-off-by: Josuah Demangeon <me@josuah.net>
2025-11-17 13:48:03 -05:00
Tahsin Mutlugun
b1c497ce02 drivers: fuel_gauge: ltc2959: Fix build warnings from declarations
C standards prior to C23 do not allow variable declarations immediately
after labels. Wrap such declarations in blocks to eliminate build
warnings.

Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
2025-10-22 18:03:30 -04:00
Nathan Winslow
22710b7a14 drivers: fuelgauge: Added properties to prop_type.
Adds properties to fuel gauge api to support ADI LTC2959.

Signed-off-by: Nathan Winslow <natelostintimeandspace@gmail.com>
2025-10-22 18:35:37 +03:00