zephyr/drivers
Martin Calsyn 12c0204b60 drivers: fuel_gauge: max17048: Fix overflow when calculating voltage
Annotate the calculation with type casts to force
promotion to uint32_t and then cast back down
to uint16_t for the return. This solves the issue
with invalid voltage (mV) values being returned
due to overflow during the conversion from the
register value on the max17048 chip.

Signed-off-by: Martin Calsyn <martin.calsyn@outcomex.com.au>
2023-10-13 19:07:38 +01:00
..
adc kernel: deprecate K_THREAD_STACK_MEMBER 2023-10-12 11:07:00 +01:00
audio drivers: nrf: select PINCTRL 2023-09-20 08:57:09 +02:00
auxdisplay auxdisplay: Fix handlers file 2023-08-30 15:54:05 -04:00
bbram drivers: rtc: stm32: allow new RTC driver to work with BBRAM 2023-09-20 11:34:52 +01:00
bluetooth Bluetooth: drivers/rpmsg: Ensure coop prio bt_recv 2023-10-09 19:03:59 +03:00
cache cmsis: remove unnecessary includes 2023-08-24 13:20:21 +02:00
can drivers: can: mcux: flexcan: override maximum HAL wait loop iterations 2023-10-13 10:04:57 +01:00
charger drivers: charger: fix i2c_dump_msgs_rw argument 2023-09-07 21:41:31 +02:00
clock_control drivers: clock_control: stm32: Use hclk freq for flash latency computation 2023-10-03 15:19:12 +01:00
console drivers: console: uart_console: avoid infinite loop in isr 2023-09-25 09:51:45 +02:00
coredump drivers: kconfig: unify menuconfig title strings 2023-03-28 15:06:06 +02:00
counter counter: nxp_s32_sys_timer: use clock control APIs 2023-09-29 16:29:31 +02:00
crypto driver: crypto: SHA: npcx: change to support npcx4 2023-10-05 09:14:05 +01:00
dac drivers: dac: Add driver for mcux lpdac 2023-09-11 19:55:26 +02:00
dai dmic: add the correct gain values to the dmic registers 2023-09-28 09:34:44 +02:00
disk drivers/nvme: Return an error in case of non dword-aligned data buffer 2023-09-22 09:23:18 +02:00
display display: stm32: fix bug where missing backlight pin causes crash 2023-10-10 15:16:59 +03:00
dma drivers: dma: intel-adsp-hda: Correct DGCS:SCS bit for 32bit sample size 2023-10-12 17:31:23 +03:00
edac shell: fix MISRA 5.7 violations on struct shell 2023-04-14 12:21:08 +02:00
eeprom i2c: use device instead of name for i2c dump messages 2023-09-06 17:54:53 +02:00
entropy random: Rename random header 2023-10-10 14:23:50 +03:00
espi it8xxx2/linker: append h2ram_pool section at the end of used memory 2023-08-31 10:20:17 +02:00
ethernet drivers: eth_mcux: cache must be dcache 2023-10-13 10:06:33 +01:00
flash flash: nxp: fix lpc55s36 flash read 2023-10-10 15:26:18 +02:00
fpga drivers: fpga: move to POST_KERNEL 2023-09-15 16:04:19 +02:00
fuel_gauge drivers: fuel_gauge: max17048: Fix overflow when calculating voltage 2023-10-13 19:07:38 +01:00
gpio gpio: nxp_s32: support passing external interrupts to WKPU 2023-10-11 16:38:34 +01:00
hwinfo drivers: hwinfo: add driver for TI SimpleLink CC13xx/CC26xx series 2023-09-21 08:07:35 -04:00
hwspinlock drivers: hwspinlock: constify config struct 2023-08-17 15:40:17 +02:00
i2c drivers/i2c: remove unnecessary includes 2023-10-13 09:46:34 +01:00
i2s drivers: i2s_nrfx: Fix write race condition 2023-10-11 15:36:15 +02:00
i3c drivers: i3c: fix cdns-i3c builds with I3C_USE_IBI=n 2023-09-13 16:32:55 +02:00
ieee802154 random: Rename random header 2023-10-10 14:23:50 +03:00
input drivers: input: add driver for stmpe811 i2c touch controller 2023-09-22 09:29:56 +02:00
interrupt_controller intc: add NXP S32 WKPU interrupt controller driver 2023-10-11 16:38:34 +01:00
ipm ipm: cavs: Fix possible buffer overflow 2023-09-27 11:51:34 -05:00
kscan drivers: mchp: kscan: low power mode enabled 2023-09-13 16:32:37 +02:00
led drivers: led: pca9633: disable allcall 2023-10-06 12:24:23 +01:00
led_strip kernel: Modify the signature of k_mem_slab_free() 2023-09-03 18:20:59 -04:00
lora drivers: gpio: use gpio_is_ready_dt helper function 2023-08-28 08:48:35 -05:00
mbox kconfig: Remove MP_NUM_CPUS usage 2023-10-03 17:45:53 +01:00
mdio mdio: shell: add Clause 45 commands 2023-09-28 09:33:10 +02:00
memc drivers: hyperram: Add Winbond W956A8MBYA driver 2023-08-15 21:51:57 +00:00
mfd gpio: nct38xx: Remove reg access wrappers 2023-09-11 11:00:47 +02:00
mipi_dsi drivers: mipi_dsi: dsi_mcux_2l add support for SMARTDMA, and byte swapping 2023-09-25 09:46:55 +02:00
misc drivers: misc: timeaware_gpio: Added intel PCH driver 2023-09-29 16:28:09 +02:00
mm kernel: Re-factor sys_mem_blocks definition 2023-09-30 08:04:14 +03:00
modem drivers: modem_cellular: Fix missing break 2023-10-13 17:42:40 +03:00
net random: Rename random header 2023-10-10 14:23:50 +03:00
pcie drivers: pcie: add config for enable PRT 2023-10-06 10:40:14 +02:00
peci drivers: syscalls: use zephyr_syscall_header 2023-06-17 07:57:45 -04:00
pinctrl drivers: pinctrl: Update Infineon CAT1 pinctrl driver 2023-10-12 15:17:35 +03:00
pm_cpu_ops drivers: pm_cpu_ops: psci: provide sys_poweroff hook 2023-08-04 16:59:36 +02:00
power_domain drivers: gpio: use gpio_is_ready_dt helper function 2023-08-28 08:48:35 -05:00
ps2 driver: ps2: npcx: add the missing kernel.h include 2023-08-31 10:19:52 +02:00
ptp_clock drivers: syscalls: use zephyr_syscall_header 2023-06-17 07:57:45 -04:00
pwm drivers: pwm_nrfx: Connect IRQ handlers for anomaly 109 workaround 2023-10-05 12:48:29 +01:00
regulator drivers: regulator: Add NXP VREF driver 2023-09-21 09:26:57 +02:00
reset drivers: reset: Add reset controller for Intel Agilex5 platform 2023-07-25 16:58:01 +00:00
retained_mem retained_mem: add user thread support. 2023-08-24 16:57:26 +01:00
rtc drivers: rtc: new ambiq am1805 rtc driver 2023-09-25 09:47:46 +02:00
sdhc drivers: sdhc: add driver support for emmc host controller 2023-09-29 16:29:00 +02:00
sensor drivers/fdc2x1x: Depend on full C library, not just newlib 2023-10-12 13:00:39 +01:00
serial Revert "drivers: serial: stm32: Make it compatible with runtime PM .... 2023-10-13 10:06:04 +01:00
sip_svc drivers: sip_svc: sip_smc_intel_socfpga: Log execution time 2023-09-15 09:26:49 +02:00
smbus drivers: smbus: pch: Simplify IRQ flags 2023-09-27 20:35:06 +03:00
spi drivers: spi: Fix the Ambiq apollo4p SPI transmission failure. 2023-10-03 15:24:20 +01:00
syscon drivers: kconfig: unify menuconfig title strings 2023-03-28 15:06:06 +02:00
timer drivers: systick: Fix Cortex-M SysTick dropping 1 cycle per tick 2023-10-05 15:30:20 +01:00
usb drivers: usb: Replace k_mem_block usage 2023-10-13 09:56:02 +03:00
usb_c usbc: fix conflicting Kconfigs for USB-C related init priority 2023-09-20 11:26:40 +01:00
video drivers: gpio: use gpio_is_ready_dt helper function 2023-08-28 08:48:35 -05:00
virtualization ivshmem: shell: Remove redundant commands 2023-08-31 10:00:06 -04:00
w1 drivers: gpio: use gpio_is_ready_dt helper function 2023-08-28 08:48:35 -05:00
watchdog drivers: select nocache only when supported 2023-09-26 15:09:51 +02:00
wifi drivers: eswifi: Fix the SSID copying 2023-10-10 15:50:22 +03:00
xen xen: add helper functions for Xen domain memory management 2023-09-15 11:15:00 +01:00
CMakeLists.txt neural_net: remove unused experimental API 2023-09-29 20:48:33 -04:00
Kconfig neural_net: remove unused experimental API 2023-09-29 20:48:33 -04:00