mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Enable RTC for the MT6357
@ 2025-04-02 10:50 Alexandre Mergnat
  2025-04-02 10:50 ` [PATCH v2 1/2] rtc: mt6359: add mt6357 support Alexandre Mergnat
  2025-04-02 10:51 ` [PATCH v2 2/2] rtc: mt6397: Fix mt6357 RTC year offset handling for hwclock commands Alexandre Mergnat
  0 siblings, 2 replies; 5+ messages in thread
From: Alexandre Mergnat @ 2025-04-02 10:50 UTC (permalink / raw)
  To: Eddie Huang, Sean Wang, Alexandre Belloni, Matthias Brugger,
	AngeloGioacchino Del Regno, Macpaul Lin
  Cc: linux-arm-kernel, linux-mediatek, linux-rtc, linux-kernel,
	Alexandre Mergnat

MT6357 PMIC's RTC use can use the MT6397 drivers with the MT6358 data.
Also, since kernel 6.6, a regression has been observed on the hwclock
command. More detail on the commit messages.

Signed-off-by: Alexandre Mergnat <amergnat@baylibre.com>
---
Changes in v2:
- Split the patch to have:
  - Add MT6357 support
  - Fix hwclock issue
- Handle the year offset in another way, but the V1 way still viable.
- Link to v1: https://lore.kernel.org/r/20250109-enable-rtc-v1-0-e8223bf55bb8@baylibre.com

---
Alexandre Mergnat (2):
      rtc: mt6359: add mt6357 support
      rtc: mt6397: Fix mt6357 RTC year offset handling for hwclock commands

 drivers/rtc/rtc-mt6397.c | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)
---
base-commit: 97274527e8dc709bbb4c7cb44279a12d085da9ef
change-id: 20250109-enable-rtc-b2ff435af2d5

Best regards,
-- 
Alexandre Mergnat <amergnat@baylibre.com>


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

end of thread, other threads:[~2025-04-11 14:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-02 10:50 [PATCH v2 0/2] Enable RTC for the MT6357 Alexandre Mergnat
2025-04-02 10:50 ` [PATCH v2 1/2] rtc: mt6359: add mt6357 support Alexandre Mergnat
2025-04-02 10:51 ` [PATCH v2 2/2] rtc: mt6397: Fix mt6357 RTC year offset handling for hwclock commands Alexandre Mergnat
2025-04-02 13:03   ` AngeloGioacchino Del Regno
2025-04-11 14:20     ` Alexandre Mergnat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®