linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/17] rtc: Unify RTC_VL_READ meaning
@ 2019-12-14 22:02 Alexandre Belloni
  2019-12-14 22:02 ` [PATCH 01/17] rtc: define RTC_VL_READ values Alexandre Belloni
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: Alexandre Belloni @ 2019-12-14 22:02 UTC (permalink / raw)
  To: linux-rtc; +Cc: linux-kernel, Alexandre Belloni

Hi,

This series unifies the meaning of RTC_VL_READ by redefining it as a
bitfield and defining the values of the various bits. This doesn't break
compatibility with userspaceas long as the return value was used as a
boolean, which should be the case.

The series also ensures RTC_VL_CLR doesn't clear the information when it
is about the data being invalid so the following rtc reads will properly
fail.

Alexandre Belloni (17):
  rtc: define RTC_VL_READ values
  rtc: Document RTC_VL_READ and RTC_VL_CLR ioctls
  rtc: abx80x: return meaningful value for RTC_VL_READ
  rtc: pcf2127: return meaningful value for RTC_VL_READ
  rtc: pcf8523: return meaningful value for RTC_VL_READ
  rtc: pcf8563: remove RTC_VL_CLR handling
  rtc: pcf8563: remove conditional compilation
  rtc: pcf8563: stop caching voltage_low
  rtc: pcf8563: return meaningful value for RTC_VL_READ
  rtc: pcf85063: remove RTC_VL_CLR handling
  rtc: pcf85063: return meaningful value for RTC_VL_READ
  rtc: rv3028: remove RTC_VL_CLR handling
  rtc: rv3028: return meaningful value for RTC_VL_READ
  rtc: rv8803: avoid clearing RV8803_FLAG_V2F in RTC_VL_CLR
  rtc: rv8803: return meaningful value for RTC_VL_READ
  rtc: rx8010: remove RTC_VL_CLR handling
  rtc: rx8010: return meaningful value for RTC_VL_READ

 Documentation/ABI/testing/rtc-cdev |  8 +++++++
 drivers/rtc/rtc-abx80x.c           |  7 ++----
 drivers/rtc/rtc-pcf2127.c          |  6 ++---
 drivers/rtc/rtc-pcf85063.c         | 16 ++-----------
 drivers/rtc/rtc-pcf8523.c          |  6 ++---
 drivers/rtc/rtc-pcf8563.c          | 36 ++++++------------------------
 drivers/rtc/rtc-rv3028.c           | 17 ++------------
 drivers/rtc/rtc-rv8803.c           | 16 ++++++-------
 drivers/rtc/rtc-rx8010.c           | 23 +++----------------
 include/uapi/linux/rtc.h           |  7 +++++-
 10 files changed, 42 insertions(+), 100 deletions(-)

-- 
2.23.0


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2019-12-14 22:04 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-14 22:02 [PATCH 00/17] rtc: Unify RTC_VL_READ meaning Alexandre Belloni
2019-12-14 22:02 ` [PATCH 01/17] rtc: define RTC_VL_READ values Alexandre Belloni
2019-12-14 22:02 ` [PATCH 02/17] rtc: Document RTC_VL_READ and RTC_VL_CLR ioctls Alexandre Belloni
2019-12-14 22:02 ` [PATCH 03/17] rtc: abx80x: return meaningful value for RTC_VL_READ Alexandre Belloni
2019-12-14 22:02 ` [PATCH 04/17] rtc: pcf2127: " Alexandre Belloni
2019-12-14 22:02 ` [PATCH 05/17] rtc: pcf8523: " Alexandre Belloni
2019-12-14 22:02 ` [PATCH 06/17] rtc: pcf8563: remove RTC_VL_CLR handling Alexandre Belloni
2019-12-14 22:02 ` [PATCH 07/17] rtc: pcf8563: remove conditional compilation Alexandre Belloni
2019-12-14 22:02 ` [PATCH 08/17] rtc: pcf8563: stop caching voltage_low Alexandre Belloni
2019-12-14 22:02 ` [PATCH 09/17] rtc: pcf8563: return meaningful value for RTC_VL_READ Alexandre Belloni
2019-12-14 22:02 ` [PATCH 10/17] rtc: pcf85063: remove RTC_VL_CLR handling Alexandre Belloni
2019-12-14 22:02 ` [PATCH 11/17] rtc: pcf85063: return meaningful value for RTC_VL_READ Alexandre Belloni
2019-12-14 22:02 ` [PATCH 12/17] rtc: rv3028: remove RTC_VL_CLR handling Alexandre Belloni
2019-12-14 22:02 ` [PATCH 13/17] rtc: rv3028: return meaningful value for RTC_VL_READ Alexandre Belloni
2019-12-14 22:02 ` [PATCH 14/17] rtc: rv8803: avoid clearing RV8803_FLAG_V2F in RTC_VL_CLR Alexandre Belloni
2019-12-14 22:02 ` [PATCH 15/17] rtc: rv8803: return meaningful value for RTC_VL_READ Alexandre Belloni
2019-12-14 22:02 ` [PATCH 16/17] rtc: rx8010: remove RTC_VL_CLR handling Alexandre Belloni
2019-12-14 22:02 ` [PATCH 17/17] rtc: rx8010: return meaningful value for RTC_VL_READ Alexandre Belloni

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).