[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1421223621-22385-1-git-send-email-boon.leong.ong@intel.com>
Date: Wed, 14 Jan 2015 16:20:19 +0800
From: Ong Boon Leong <boon.leong.ong@...el.com>
To: Samuel Ortiz <sameo@...ux.intel.com>,
Lee Jones <lee.jones@...aro.org>
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH] mfd, lpc_sch: Intel Quark X1000 WDT enabling
Hi,
This patch simply adds WDT IO resource for Quark within lpc_sch driver.
The MFD driver would register 'ie6xx_wdt' platform device and eventually be bound
to its platform driver under drivers/watchdog/ie6xx_wdt.c
I have tested this patch on Intel Quark Galileo Gen v2 boad by opening
/dev/watchdog0 and confirmed that the board undergo warm reset when time-out.
I can read the debugfs for the driver by following command:-
$ cat /sys/kernel/debug/ie6xx_wdt
To modify the time-out value, we use kernel param:-
ie6xx_wdt.timeout=<val in second>
To activate warm reset & enable reset, we use kernel param:-
ie6xx_wdt.resetmode=0x18
Thank you very much
Ong Boon Leong
Intel Corp.
Ong Boon Leong (1):
mfd: lpc_sch: enable WDT for Intel Quark X1000
drivers/mfd/lpc_sch.c | 1
1 file changed, 1 insertion(+)
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists