Skip to content

rtc-rv8803: Implement timestamp trigger over event pins

Markus Burri linux-devicetree linux-rtc lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest7 patches 2 repliesIn review
  2. v37 patches 2 repliesSuperseded
  3. v25 patches 5 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v17 patches6 repliesSuperseded

Changes in v4 from the cover letter

* fix warning in dt-binding
* reformat
* fix flags reset on read
* auto enable if configured in device-tree
* rebase to linux-6.15~rc1

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7dt-bindings: rtc: add new type for epson,rx8901Documentation/devicetree/bindings/rtc/epson,rx8900.yaml+2 -01 reply
2/7rtc-rv8803: add new type for rv8901drivers/rtc/rtc-rv8803.c+9 -20 replies
3/7rtc-rv8803: add tamper function to sysfs for rv8901Documentation/ABI/testing/sysfs-class-rtc-tamper drivers/rtc/rtc-rv8803.c+412 -00 replies
4/7rtc-rv8803: extend sysfs to trigger internal ts-eventDocumentation/ABI/testing/sysfs-class-rtc-tamper drivers/rtc/rtc-rv8803.c+40 -00 replies
5/7rtc-rv8803: extend sysfs to read statusDocumentation/ABI/testing/sysfs-class-rtc-tamper drivers/rtc/rtc-rv8803.c+123 -00 replies
6/7dt-bindings: rtc-rv8803: add tamper detection property nodeDocumentation/devicetree/bindings/rtc/epson,rx8900.yaml+34 -31 reply
7/7rtc-rv8803: make tamper function configurable via dtdrivers/rtc/rtc-rv8803.c+92 -30 replies

Reviews trailers per patch

5 of 7 patches have a Reviewed-by or Acked-by.

PatchKrzysztof KozlowskiManuel Traut
1/7A-b R-b
2/7R-b
3/7R-b
4/7R-b
5/7R-b
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/7] rtc-rv8803: Implement timestamp trigger over event pins

The RV8901 RTC chip provides a function to store timestamp events. There are three input pins (EVIN1-3) available for triggering. The timestamp can be read to detect tamper alerts, for example.

This patch series extends the sysfs interface to enable and read the timestamp events.

The data-sheet can be found here:
https://download.epsondevice.com/td/pdf/brief/RX8901CE_en.pdf

Changes in V4:
* fix warning in dt-binding
* reformat
* fix flags reset on read
* auto enable if configured in device-tree
* rebase to linux-6.15~rc1

Changes in V3:
* change permission for sysfs read to admin
* add device-tree bindings for event pin and buffer mode configuration

Changes in V2:
* remove separate patch for register definitions
* remove pin configuration over sysfs (use default settings)
* add sysfs documentation
* rework enable to simplify and remove big mutext scope
---
[V1] https://lore.kernel.org/lkml/[email protected]/
[V2] https://lore.kernel.org/lkml/[email protected]/
[V3] https://lore.kernel.org/lkml/[email protected]/

Markus Burri (7):
dt-bindings: rtc: add new type for epson,rx8901
rtc-rv8803: add new type for rv8901
rtc-rv8803: add tamper function to sysfs for rv8901
rtc-rv8803: extend sysfs to trigger internal ts-event
rtc-rv8803: extend sysfs to read status
dt-bindings: rtc-rv8803: add tamper detection property node
rtc-rv8803: make tamper function configurable via dt

 .../ABI/testing/sysfs-class-rtc-tamper        |  36 +
 .../devicetree/bindings/rtc/epson,rx8900.yaml |  39 +-
 drivers/rtc/rtc-rv8803.c                      | 639 +++++++++++++++++-
 3 files changed, 709 insertions(+), 5 deletions(-)
 create mode 100644 Documentation/ABI/testing/sysfs-class-rtc-tamper

base-commit: 0af2f6be1b4281385b618cb86ad946eded089ac8

Signature · 1 line
2.39.5