zephyr/drivers
Martin Jäger 916dd0f6c4 drivers: watchdog: iwdg_stm32: Fix timeout calculation
CONFIG_IWDG_STM32_TIMEOUT allowed values of 100 us for initial watchdog
timeout, which was actually rounded to zero in the driver, which uses
milliseconds resolution for timeouts. This resulted in the reload value
being set to maximum possible (calculation: 0U - 1).

This commit updates the calculation of timeout minimum and maximum
values considering the actual LSI frequency of the used MCU.

As the resolution of CONFIG_IWDG_STM32_TIMEOUT in microseconds doesn't
make sense if the driver supports only milliseconds, it is renamed to
IWDG_STM32_INITIAL_TIMEOUT (this prevents accidental wrong settings in
existing firmware) and the unit is changed to ms.

Signed-off-by: Martin Jäger <martin@libre.solar>
2020-12-04 23:09:42 -05:00
..
adc drivers: adc: stm32: use generic LL headers 2020-11-30 15:50:03 +01:00
audio
bluetooth drivers/bluetooth: ipm_stm32: Wake up C2 at init 2020-11-19 12:35:01 +01:00
can drivers/pinmux: stm32: Provide unique API to stm32_dt_pinctrl 2020-10-20 09:09:29 -05:00
clock_control drivers: clock_control: convert nrf to dt device defines 2020-12-01 15:19:22 -05:00
console drivers: console: Fix path to mcumgr header 2020-11-27 18:18:50 +01:00
counter drivers: counter: stm32_rtc: remove dependency on maximal libc 2020-12-01 14:54:12 -05:00
crypto misc: Replace assert include and calls by sys/__assert.h equivalent 2020-10-02 11:42:40 +02:00
dac drivers: dac: stm32: use generic LL headers 2020-11-30 15:50:03 +01:00
debug debug: tracing: Add Segger RTT and SystemView linker section options 2020-11-20 12:54:09 -06:00
display drivers: display: ili9xxx: add support for ILI9488 controller 2020-11-10 15:52:12 -06:00
dma drivers: dma: stm32: use generic LL headers 2020-11-30 15:50:03 +01:00
ec_host_cmd_periph ec_host_cmd_periph: add device API 2020-09-04 14:50:45 -04:00
eeprom eeprom: at2x: Add support for at24cXX 2020-10-28 17:03:47 +01:00
entropy drivers: entropy: stm32: use generic LL headers 2020-11-30 15:50:03 +01:00
espi drivers: espi: xec: Avoid flash interrupt by ROM bootloader activity 2020-11-09 16:01:16 -08:00
ethernet eth: mcux: Replace DT_ALIAS() macro with DT_NODELABEL() for fixed link 2020-12-02 09:28:44 -06:00
flash drivers: flash: spi_nor: fix bound for parameter headers 2020-12-01 17:57:20 -05:00
gpio drivers: gpio: sam: Add sam4l SoC support 2020-12-02 11:48:43 -06:00
hwinfo drivers: hwinfo: stm32: use generic LL headers 2020-11-30 15:50:03 +01:00
i2c drivers: i2c: convert nrf drivers to dt device defines 2020-12-01 15:19:22 -05:00
i2s drivers: i2s: stm32: use generic LL headers 2020-11-30 15:50:03 +01:00
ieee802154 drivers: ieee802154: cc13xx_cc26xx: raw mode support 2020-11-23 09:46:49 +02:00
interrupt_controller drivers: interrupt_controller: stm32: use generic LL headers 2020-11-30 15:50:03 +01:00
ipm drivers: ipm: stm32: use generic LL headers 2020-11-30 15:50:03 +01:00
kscan dts/Kconfig: Remove HAS_DTS_I2C 2020-09-18 13:34:44 -05:00
led drivers: led: add driver for PWM LEDs 2020-10-28 10:44:46 -05:00
led_strip drivers: led_strip: APA102 use CS flags from devicetree 2020-09-14 18:35:26 -05:00
lora drivers: lora: Add CheckRfFrequency callback to SX1276 driver 2020-10-08 12:15:38 +02:00
memc drivers: memc: stm32: initial support for stm32 FMC 2020-11-24 16:33:17 +01:00
modem drivers: modem: sara-r4: Improve offload_sendmsg() support 2020-12-03 17:37:48 -05:00
net net: ppp: Avoid wrapping each byte in muxing headers 2020-10-19 18:29:02 +02:00
neural_net
pcie drivers/pcie: Fix constant qualifier for endpoint driver 2020-12-03 09:42:26 -05:00
peci drivers: peci: xec: Enhance PECI bus recovery mechanism 2020-11-19 17:00:16 -05:00
pinmux include: drivers: pinmux: stm32: Add missing C linkage 2020-11-30 18:47:08 +01:00
ps2 drivers: Manual const-ification of device driver instance 2020-09-02 13:48:13 +02:00
ptp_clock
pwm drivers: pwm: stm32: use generic LL headers 2020-11-30 15:50:03 +01:00
regulator drivers: regulator: convert to dt device defines 2020-12-01 15:19:22 -05:00
sensor drivers/sensor: Fix device attribute names for lis2mdl and fxos8700 2020-12-03 09:42:26 -05:00
serial drivers: serial: convert nrf drivers to dt device defines 2020-12-01 15:19:22 -05:00
spi drivers: spi: convert nrf drivers to dt device defines 2020-12-01 15:19:22 -05:00
timer drivers: timer: nrf: Extended driver with vendor specific API 2020-12-03 14:05:30 +01:00
usb drivers: usb: stm32: use generic LL headers 2020-11-30 15:50:03 +01:00
video drivers: video: mcux_csi: Fix compile error 2020-09-03 18:08:08 -04:00
watchdog drivers: watchdog: iwdg_stm32: Fix timeout calculation 2020-12-04 23:09:42 -05:00
wifi drivers: wifi: esp: control CWMODE depending on current needs 2020-12-01 11:16:36 -05:00
CMakeLists.txt drivers: memc: stm32: initial support for stm32 FMC 2020-11-24 16:33:17 +01:00
Kconfig drivers: memc: stm32: initial support for stm32 FMC 2020-11-24 16:33:17 +01:00