lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240913-rtc-isl12022-alarm-irq-v2-0-37309d939723@geanix.com>
Date: Fri, 13 Sep 2024 12:29:11 +0200
From: Esben Haabendal <esben@...nix.com>
To: Alexandre Belloni <alexandre.belloni@...tlin.com>, 
 Rasmus Villemoes <linux@...musvillemoes.dk>
Cc: linux-rtc@...r.kernel.org, linux-kernel@...r.kernel.org, 
 Esben Haabendal <esben@...nix.com>
Subject: [PATCH v2 0/3] rtc: isl12022: Add alarm support

Extend the rtc-isl12022 driver with alarm IRQ support.

Signed-off-by: Esben Haabendal <esben@...nix.com>
---
Changes in v2:
- Various coding style changes.
- Remove const keyword from auto variable declaration.
- Use u8 type instead of uint8_t.
- Fixed bad return value in isl12022_rtc_read_alarm() error handling.
- Change variable type from int to unsigned int for variable given to
  regmap_read().
- Drop unneeded variable initialization (ret) in
  isl12022_rtc_set_alarm().
- Extend use of DWA0 variable to avoid false alarm trigger also when
  disabling alarm.
- Clarify the use of !! operator in isl12022_rtc_alarm_irq_enable().
- Change isl12022_setup_irq() prototype to avoid the need for storing
  struct i2c_client in struct isl12022.
- Use dev_err_probe() where appropriate.
- Change dev_err messages reporting problems with register access into
  dev_dbg.
- Renamed ISL12022_ALARM_SECTION to ISL12022_ALARM for better use of
  horizontal space.
- Leave FOBATB bit untouched.
- Link to v1: https://lore.kernel.org/r/20240910-rtc-isl12022-alarm-irq-v1-0-d875cedc997f@geanix.com

---
Esben Haabendal (3):
      rtc: isl12022: Prepare for extending rtc device drvdata
      rtc: isl12022: Add alarm support
      rtc: isl12022: Replace uint8_t types with u8

 drivers/rtc/rtc-isl12022.c | 269 ++++++++++++++++++++++++++++++++++++++++++---
 1 file changed, 253 insertions(+), 16 deletions(-)
---
base-commit: da3ea35007d0af457a0afc87e84fddaebc4e0b63
change-id: 20240910-rtc-isl12022-alarm-irq-197ef2350c3e

Best regards,
-- 
Esben Haabendal <esben@...nix.com>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ