zephyr/drivers/watchdog
Andre Guedes 3172fca3a0 drivers: qmsi: Fix gpio, i2c and wdt for D2000
This patch fixes the gpio, i2c and watchdog shim drivers so they set the
CLK_PERIPH_CLK bit during driver initialization. Differently from Quark
SE, the peripheral clock gate bit (CLK_PERIPH_CLK) is not enabled by
default in Quark D2000. We have to explicitly set this bit in order to
properly initialize the device.

This issue has been masked so far because the CLK_PERIPH_CLK bit is set
when UART NS16550 driver is enabled. The UART NS16550 driver is enabled
by default for Quark D2000 so gpio, i2c and watchdog sample apps were
working just fine. But if we disable the NS16550 driver, these samples
applications stop working.

The remaining shim drivers already set the CLK_PERIPH_CLK bit during
initialization so there is no need to fix them.

Change-Id: I3f658da564f87e9d52092ce7aac423c7b3e0c890
Signed-off-by: Andre Guedes <andre.guedes@intel.com>
2016-03-18 23:31:45 +00:00
..
iwdg_stm32.c watchdog/iwdg_stm32: add driver for STM32 Independent Watchdog (IWDG) 2016-03-18 20:57:26 +00:00
iwdg_stm32.h watchdog/iwdg_stm32: add driver for STM32 Independent Watchdog (IWDG) 2016-03-18 20:57:26 +00:00
Kconfig watchdog/iwdg_stm32: add driver for STM32 Independent Watchdog (IWDG) 2016-03-18 20:57:26 +00:00
Kconfig.stm32 watchdog/iwdg_stm32: add driver for STM32 Independent Watchdog (IWDG) 2016-03-18 20:57:26 +00:00
Makefile watchdog/iwdg_stm32: add driver for STM32 Independent Watchdog (IWDG) 2016-03-18 20:57:26 +00:00
wdt_dw.c drivers: Replace DEV_FAIL by -EIO 2016-03-16 19:30:04 -04:00
wdt_dw.h wdt: dw: Add support for optional clock gating 2016-02-05 20:24:58 -05:00
wdt_qmsi.c drivers: qmsi: Fix gpio, i2c and wdt for D2000 2016-03-18 23:31:45 +00:00