[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-phywdt-test.c b/ap/os/linux/linux-3.4.x/drivers/watchdog/zx-phywdt-test.c
new file mode 100644
index 0000000..51ff5ff
--- /dev/null
+++ b/ap/os/linux/linux-3.4.x/drivers/watchdog/zx-phywdt-test.c
@@ -0,0 +1,43 @@
+/*
+ * 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_phywdttest_init(void)
+{
+ //phy wdt test
+ zx_wdt_test(1);
+
+}
+
+static void __exit zx_phywdttest_exit(void)
+{
+ //misc_deregister(&zx_ddr_miscdev);
+}
+
+
+module_init(zx_phywdttest_init);
+module_exit(zx_phywdttest_exit);
+#endif