Home
last modified time | relevance | path

Searched hist:"969 c0acc039f77c6b9d000ccb8b9d3afca4d3667" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/watchdog/
H A Dpm8916_wdt.c969c0acc039f77c6b9d000ccb8b9d3afca4d3667 Fri Nov 23 09:44:36 CET 2018 Loic Poulain <loic.poulain@linaro.org> watchdog: Add pm8916 watchdog driver

The PM816 module is a versatile PMIC with many diverse functions
integrated, including, a watchdog.
This watchdog is subcomponent of the PON (Power On) peripheral,
in the same way as pwrkey/resin buttons.
It works with two timers (2-stages), the first one generates an
IRQ to the main SoC (APQ8016/MSM8916), the second one performs
the reset.

This driver expects the following device hierarchy:
[pm8916]->[pm8916-pon]->[pm8916-wdt]

It uses the pm8916 regmap to access PM8916 registers.

Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>