linux-watchdog.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Markus Mayer" <markus.mayer@linaro.org>
To: "Wim Van Sebroeck" <wim@iguana.be>,
	"Guenter Roeck" <linux@roeck-us.net>,
	"Christian Daudt" <bcm@fixthebug.org>
Cc: "Linaro Patches" <patches@linaro.org>,
	"Matt Porter" <matt.porter@linaro.org>,
	"Linux Watchdog List" <linux-watchdog@vger.kernel.org>,
	"ARM Kernel List" <linux-arm-kernel@lists.infradead.org>,
	"Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>,
	"Markus Mayer" <markus.mayer@linaro.org>
Subject: [PATCH v2 0/2] watchdog: bcm281xx: Watchdog Driver
Date: Fri, 15 Nov 2013 12:57:59 -0800	[thread overview]
Message-ID: <1384549081-9571-1-git-send-email-markus.mayer@linaro.org> (raw)

This is version 2 of the watchdog driver for the BCM281xx family of mobile SoCs.

Changes since version 1:

- Added module name to "help" section in Kconfig
- A few cosmetic code simplifications and fixes
- Removed most dev_info() calls and changed the remaining ones to dev_dbg()
- Renamed SECWDOG_WD_LOAD_FLAG_MASK to SECWDOG_WD_LOAD_FLAG
- Added some comments to secure_register_read() and struct bcm_kona_wdt
- Added delay to secure_register_read()
- Reduced maximum retry loop from 10000 to 1000
- Introduced "busy_count" variable to count how often secure_register_read()
  gets stalled; this is available through debugfs
- Simplified secure_register_read() to return -ETIMEDOUT rather than using
  a variable parameter to indicate a timeout error
- Got rid of all uses of -EAGAIN
- Fixed return value check for debugfs_create_dir()
- Simplified bcm_kona_wdt_debugfs_init() by getting rid of goto
- Created new generic function bcm_kona_wdt_ctrl_reg_modify()
- The following functions now use bcm_kona_wdt_ctrl_reg_modify():
    - bcm_kona_wdt_set_resolution_reg()
    - bcm_kona_wdt_set_timeout_reg()
    - bcm_kona_wdt_stop()
- Made bcm_kona_wdt_set_timeout_reg() more generic, so bcm_kona_wdt_start()
  can use it
- Removed MODULE_ALIAS_MISCDEV(WATCHDOG_MINOR)


Markus Mayer (2):
  watchdog: bcm281xx: Watchdog Driver
  ARM: bcm281xx: watchdog configuration

 arch/arm/configs/bcm_defconfig  |    3 +
 drivers/watchdog/Kconfig        |   22 +++
 drivers/watchdog/Makefile       |    1 +
 drivers/watchdog/bcm_kona_wdt.c |  367 +++++++++++++++++++++++++++++++++++++++
 4 files changed, 393 insertions(+)
 create mode 100644 drivers/watchdog/bcm_kona_wdt.c

-- 
1.7.9.5



             reply	other threads:[~2013-11-15 20:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-15 20:57 Markus Mayer [this message]
2013-11-15 20:58 ` [PATCH v2 1/2] watchdog: bcm281xx: Watchdog Driver Markus Mayer
2013-11-15 22:02   ` Markus Mayer
2013-11-15 22:14     ` One Thousand Gnomes
2013-11-16  4:27   ` Guenter Roeck
2013-11-18 23:49     ` Markus Mayer
2013-11-15 20:58 ` [PATCH v2 2/2] ARM: bcm281xx: watchdog configuration Markus Mayer

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=1384549081-9571-1-git-send-email-markus.mayer@linaro.org \
    --to=markus.mayer@linaro.org \
    --cc=bcm@fixthebug.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-watchdog@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=matt.porter@linaro.org \
    --cc=patches@linaro.org \
    --cc=wim@iguana.be \
    /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;
as well as URLs for NNTP newsgroup(s).