Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cb79e737 authored by Prakruthi Deepak Heragu's avatar Prakruthi Deepak Heragu
Browse files

soc: qcom: Add snapshot of watchdog driver



This is a snapshot of watchdog driver as of msm-4.19 commit
<5a4fd734e3e0e76c8e0819c47eb0d333e09d0f9f>. (Merge "msm: audio: support
for gapless_pcm").

Change-Id: I8b683c8b5c4c56f328d0025b2829f42105d03940
Signed-off-by: default avatarPrakruthi Deepak Heragu <pheragu@codeaurora.org>
parent 4257e695
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -558,4 +558,13 @@ config QTEE_SHM_BRIDGE
	  memory sub-allocation and free from the default kernel bridge
	  created by bridge driver.

config QCOM_WATCHDOG
	tristate "Qualcomm Watchdog Support"
	depends on ARCH_QCOM
	help
          This enables the watchdog module. It causes kernel panic if the
          watchdog times out. It allows for detection of cpu hangs and
          deadlocks. It does not run during the bootup process, so it will
          not catch any early lockups.

endmenu
+1 −0
Original line number Diff line number Diff line
@@ -57,3 +57,4 @@ obj-$(CONFIG_MSM_IDLE_STATS) += lpm-stats.o
obj-$(CONFIG_QTI_RPM_STATS_LOG) += rpmh_master_stat.o
obj-$(CONFIG_QTEE_SHM_BRIDGE) += qtee_shmbridge.o
obj-$(CONFIG_QPNP_PBS) += qpnp-pbs.o
obj-$(CONFIG_QCOM_WATCHDOG) += qcom_watchdog.o
+754 −0

File added.

Preview size limit exceeded, changes collapsed.

+15 −0
Original line number Diff line number Diff line
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (c) 2019, The Linux Foundation. All rights reserved.
 */

#ifndef _SOC_QCOM_WATCHDOG_H_
#define _SOC_QCOM_WATCHDOG_H_

#if IS_ENABLED(CONFIG_QCOM_WATCHDOG)
void msm_trigger_wdog_bite(void);
#else
static inline void msm_trigger_wdog_bite(void) { }
#endif

#endif