diff options
author | Loic Poulain <loic.poulain@linaro.org> | 2018-11-23 03:44:36 -0500 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2018-12-22 06:15:33 -0500 |
commit | 969c0acc039f77c6b9d000ccb8b9d3afca4d3667 (patch) | |
tree | fc7f271da83b6bba70a4a2bd8ed928d21c877ad5 /drivers/watchdog/Kconfig | |
parent | 4d9c6e90166f1a4b0132e8d8520a2fcd6d081e6b (diff) |
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>
Diffstat (limited to 'drivers/watchdog/Kconfig')
-rw-r--r-- | drivers/watchdog/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index 746759ec8960..6dcd5603a3e4 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig | |||
@@ -847,6 +847,14 @@ config SPRD_WATCHDOG | |||
847 | Say Y here to include watchdog timer supported | 847 | Say Y here to include watchdog timer supported |
848 | by Spreadtrum system. | 848 | by Spreadtrum system. |
849 | 849 | ||
850 | config PM8916_WATCHDOG | ||
851 | tristate "QCOM PM8916 pmic watchdog" | ||
852 | depends on OF && MFD_SPMI_PMIC | ||
853 | select WATCHDOG_CORE | ||
854 | help | ||
855 | Say Y here to include support watchdog timer embedded into the | ||
856 | pm8916 module. | ||
857 | |||
850 | # X86 (i386 + ia64 + x86_64) Architecture | 858 | # X86 (i386 + ia64 + x86_64) Architecture |
851 | 859 | ||
852 | config ACQUIRE_WDT | 860 | config ACQUIRE_WDT |