[T106][ZXW-22]7520V3SCV2.01.01.02P42U09_VEC_V0.8_AP_VEC origin source commit
Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/ap/os/linux/linux-3.4.x/drivers/watchdog/zx-capwdt-test.c b/ap/os/linux/linux-3.4.x/drivers/watchdog/zx-capwdt-test.c
new file mode 100644
index 0000000..a44d141
--- /dev/null
+++ b/ap/os/linux/linux-3.4.x/drivers/watchdog/zx-capwdt-test.c
@@ -0,0 +1,46 @@
+/*
+ * ZTE ddr driver
+ *
+ * Copyright (C) 2013 ZTE Ltd.
+ * by tsp
+ *
+ */
+#ifdef CONFIG_ZX29_WDT_TEST_MODULE
+
+#include <linux/module.h>
+#include <linux/kernel.h>
+#include <linux/init.h>
+#include <linux/spinlock.h>
+#include <linux/interrupt.h>
+#include <linux/types.h>
+#include <linux/sched.h>
+#include <linux/io.h>
+#include <mach/iomap.h>
+#include <linux/slab.h>
+#include <linux/syscalls.h>
+#include <asm/uaccess.h>
+#include <linux/zx_soft_wdt.h>
+#include <linux/miscdevice.h> /* For handling misc devices */
+#include <linux/soc/zte/rpm/rpmsg.h> /* For icp operation*/
+
+extern void zx_wdt_test(u32 core_id);
+
+static void __init zx_capwdttest_init(void)
+{
+ //int err=0;
+ //T_ZDrvRpMsg_Msg test_Msg={0};
+ //u32 test_buf = 0x74736574; /*ASCII:"test"*/
+ //cap wdt test
+ zx_wdt_test(3);
+
+}
+
+static void __exit zx_capwdttest_exit(void)
+{
+ //misc_deregister(&zx_ddr_miscdev);
+}
+
+
+module_init(zx_capwdttest_init);
+module_exit(zx_capwdttest_exit);
+#endif