[PATCH v2 0/2] Enable RTC for the MT6357
From: Alexandre Mergnat
Date: Wed Apr 02 2025 - 06:51:27 EST
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@xxxxxxxxxxxx>
---
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@xxxxxxxxxxxx
---
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@xxxxxxxxxxxx>