From: Ong Boon Leong <boon.leong.ong@intel.com>
To: Samuel Ortiz <sameo@linux.intel.com>, Lee Jones <lee.jones@linaro.org>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] mfd, lpc_sch: Intel Quark X1000 WDT enabling
Date: Wed, 14 Jan 2015 16:20:19 +0800 [thread overview]
Message-ID: <1421223621-22385-1-git-send-email-boon.leong.ong@intel.com> (raw)
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
next reply other threads:[~2015-01-14 8:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-14 8:20 Ong Boon Leong [this message]
2015-01-14 8:20 ` [PATCH] mfd: lpc_sch: enable WDT for Intel Quark X1000 Ong Boon Leong
2015-01-19 11:42 ` Lee Jones
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1421223621-22385-1-git-send-email-boon.leong.ong@intel.com \
--to=boon.leong.ong@intel.com \
--cc=lee.jones@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sameo@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®