linux-rtc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bruno Thomsen <bruno.thomsen@gmail.com>
To: linux-rtc@vger.kernel.org
Cc: alexandre.belloni@bootlin.com, a.zummo@towertech.it,
	bruno.thomsen@gmail.com, bth@kamstrup.com,
	u.kleine-koenig@pengutronix.de
Subject: [PATCH 0/4] rtc: pcf2127: tamper timestamp and watchdog feature support
Date: Mon, 22 Jul 2019 17:58:07 +0200	[thread overview]
Message-ID: <20190722155811.11980-1-bruno.thomsen@gmail.com> (raw)

Hi Alexandre

This patch series adds support for 2 chip features; tamper
timestamp and watchdog. Including improvements and cleanup
of existing code.

Tamper timestamp sysfs interface should match ISL1208 and
RV3028 RTC drivers; /sys/class/rtc/rtcX/timestamp0.

Watchdog functionality can be enabled with a Kconfig option,
just like in DS1374 and M41T80 RTC drivers.

In the future we could consider making a generic optional
RTC device tree binding property to enable the watchdog
feature, ex. enable-watchdog.

Patches has been tested on a pcf2127 chip using 2MHz SPI
interface both as built-in and module including with and
without watchdog feature.

/Bruno

Bruno Thomsen (4):
  rtc: pcf2127: convert to devm_rtc_allocate_device
  rtc: pcf2127: cleanup register and bit defines
  rtc: pcf2127: add tamper detection support
  rtc: pcf2127: add watchdog feature support

 drivers/rtc/Kconfig       |  10 ++
 drivers/rtc/rtc-pcf2127.c | 360 +++++++++++++++++++++++++++++++++++---
 2 files changed, 341 insertions(+), 29 deletions(-)

-- 
2.21.0


             reply	other threads:[~2019-07-22 15:58 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-22 15:58 Bruno Thomsen [this message]
2019-07-22 15:58 ` [PATCH 1/4] rtc: pcf2127: convert to devm_rtc_allocate_device Bruno Thomsen
2019-07-22 15:58 ` [PATCH 2/4] rtc: pcf2127: cleanup register and bit defines Bruno Thomsen
2019-07-23 18:42   ` Alexandre Belloni
2019-07-22 15:58 ` [PATCH 3/4] rtc: pcf2127: add tamper detection support Bruno Thomsen
2019-07-22 15:58 ` [PATCH 4/4] rtc: pcf2127: add watchdog feature support Bruno Thomsen
2019-07-23 18:48   ` Alexandre Belloni
2019-07-24  7:18     ` Bruno Thomsen
2019-07-24 13:00       ` Alexandre Belloni
2019-07-23 14:13 ` [PATCH 0/4] rtc: pcf2127: tamper timestamp and " Bruno Thomsen
2019-07-23 18:40   ` Alexandre Belloni

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=20190722155811.11980-1-bruno.thomsen@gmail.com \
    --to=bruno.thomsen@gmail.com \
    --cc=a.zummo@towertech.it \
    --cc=alexandre.belloni@bootlin.com \
    --cc=bth@kamstrup.com \
    --cc=linux-rtc@vger.kernel.org \
    --cc=u.kleine-koenig@pengutronix.de \
    /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).