Generic Wdog Driver - Freescale Semiconductor i.MX 6Solo Reference Manual

Linux
Table of Contents

Advertisement

Generic WDOG Driver

43.2 Generic WDOG Driver
The generic WGOD driver is implemented in the <ltib_dir>/rpm/BUILD/linux/drivers/
watchdog/imx2_wdt.c file.
It provides functions for various IOCTLs and read/write calls from the user level program
to control the WDOG.
43.2.1 Driver Features
This WDOG implementation includes the following features:
• Generates the reset signal if it is enabled but not serviced within a predefined timeout
value (defined in milliseconds in one of the WDOG source files)
• Does not generate the reset signal if it is serviced within a predefined timeout value
• Provides IOCTL/read/write required by the standard WDOG subsystem
43.2.2 Menu Configuration Options
To get to the Linux kernel configuration option provided for this module, use the ./ltib -c
command when located in the <ltib dir>. On the screen displayed, select Configure the
Kernel and exit. When the next screen appears, select the following option to enable this
module:
• CONFIG_IMX2_WDT-Enables Watchdog timer module. This option is available
under Device Drivers > Watchdog Timer Support > IMX2+ Watchdog.
43.2.3 Source Code Structure
Table below shows the source files for WDOG drivers that are in the following directory:
<ltib_dir>/rpm/BUILD/linux/drivers/watchdog.
File
imx2_wdt.c
i.MX 6Solo/6DualLite Linux Reference Manual, Rev. L3.0.35_4.1.0, 09/2013
302
Table 43-1. WDOG Driver Files
WDOG function implementations
Description
Freescale Semiconductor, Inc.

Advertisement

Table of Contents
loading

This manual is also suitable for:

I.mx 6duallite

Table of Contents